arping only sending one packet - not exiting properly

David elitecoder at gmail.com
Wed Oct 3 09:23:11 PDT 2007


Hello all,

I am trying to figure out why arping on one of my servers is unable to send
more than one packet. When I am not using the verbose flag it will appear to
"hang" and not exit until a ^C is given. With the verbose flag it just
scrolls those pcap_dispatch errors down the terminal. (this is even the case
when I specify -c 1) I don't know what 'arping: select=1 pcap_dispatch=0!'
means. Could someone shed some light on this problem?

Both systems are built with libnet11-1.1.2.1_1,1 and arping-2.05_2.
Both are FreeBSD 6.2-RELEASE SMP
I disabled the firewall completely during these tests

Not working:

[root at host /usr/home/user]# arping -v -c 4 xxx.xxx.90.200
This box: Interface: em0 IP: xxx.xxx.90.201 MAC address: 00:30:48:5b:1d:88
ARPING xxx.xxx.90.200
60 bytes from 00:11:09:2b:b5:28 (xxx.xxx.80.200): index=0 time=19.895 msec
arping: select=1 pcap_dispatch=0!
arping: select=1 pcap_dispatch=0!
arping: select=1 pcap_dispatch=0!
arping: select=1 pcap_dispatch=0!
arping: select=1 pcap_dispatch=0!
arping: select=1 pcap_dispatch=0!
arping: select=1 pcap_dispatch=0!
arping: select=1 pcap_dispatch=0!
arping: select=1 pcap_dispatch=0!
arping: select=1 pcap_dispatch=0!
arping: select=1 pcap_dispatch=0!
arping: select=1 pcap_dispatch=0!
arping: select=1 pcap_dispatch=0!
arping: select=1 pcap_dispatch=0!
^C
--- xxx.xxx.90.200 statistics ---
1 packets transmitted, 1 packets received, 0% unanswered
[root at host /usr/home/user]#

Working:

[root at workinghost /usr/home/user]# arping -v -c 4 xxx.xxx.184.69
This box: Interface: fxp0 IP: xxx.xxx.236.156 MAC address: 00:0f:ea:47:52:f1
ARPING xxx.xxx.184.69
60 bytes from 00:30:48:57:5a:de (xxx.xxx.184.69): index=0 time=6.914 usec
arping: select=1 pcap_dispatch=0!
60 bytes from 00:30:48:57:5a:de (xxx.xxx.184.69): index=1 time=5.007 usec
arping: select=1 pcap_dispatch=0!
60 bytes from 00:30:48:57:5a:de (xxx.xxx.184.69): index=2 time=5.007 usec
arping: select=1 pcap_dispatch=0!

--- xxx.xxx.184.69 statistics ---
4 packets transmitted, 3 packets received, 25% unanswered

Thanks.


More information about the freebsd-net mailing list