Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334051 - net-misc/iputils-20100418: arping does not find some neighbour host
Summary: net-misc/iputils-20100418: arping does not find some neighbour host
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-23 09:26 UTC by Juergen Rose
Modified: 2010-09-15 17:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
list of all pairwise tests (arping_localnet_problem.txt,25.69 KB, text/plain)
2010-08-23 09:28 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2010-08-23 09:26:16 UTC
In my local homenet I have the the five PCs:
  lynx, grizzly, condor, thinkpad (only over WLAN), vilm
and the WLAN router: ap2. With ping all IP addresses are seen from all IPs (with except for ap2). In the past I got the same result with arping. Now arping fails for several pairs:
   lynx does not see with arping grizzly and thinkpad,
   grizzly does not see with arping thinkpad and vilm,
   condor does not see with arping grizzly and vilm
   thinkpad does not see grizzly and vilm
   vilm doesn not see grizzly and thinkpad

Any idea what could be the reason?


Reproducible: Always
Comment 1 Juergen Rose 2010-08-23 09:28:43 UTC
Created attachment 244183 [details]
list of all pairwise tests
Comment 2 Juergen Rose 2010-08-24 10:48:11 UTC
If I display the ARP cache, I can see all hosts in the neighborhood. But nevertheless arping can;t find some of them:

root@lynx:/root(24)# arp | grep  "grizzly\|condor"
condor.homenet           ether   00:1a:92:e0:24:46   C                     br0
grizzly.homenet          ether   00:0f:ea:e1:65:1b   C                     br0
root@lynx:/root(25)# arping -c2 -Ibr0 condor
ARPING 192.168.1.76 from 192.168.1.33 br0
Unicast reply from 192.168.1.76 [00:1A:92:E0:24:46]  0.786ms
Unicast reply from 192.168.1.76 [00:1A:92:E0:24:46]  0.798ms
Sent 2 probes (1 broadcast(s))
Received 2 response(s)
root@lynx:/root(26)# arping -c2 -Ibr0 grizzly
ARPING 192.168.1.53 from 192.168.1.33 br0
Sent 2 probes (2 broadcast(s))
Received 0 response(s)
Comment 3 Aleksander Machniak 2010-09-13 08:33:04 UTC
The same here. Why this is RESOLVED? I see hosts in arp table, but when using arping they are not available. Actually, they are available, but I must wait several seconds before ping results are printed on the screen. Several pings are lost, then it's working fine. There's no problem for some hosts.
# uname -a
Linux heros.altec.pl 2.6.31-gentoo-r6 #1 SMP Fri Dec 11 09:47:04 CET 2009 x86_64 Intel(R) Xeon(R) CPU 5130 @ 2.00GHz GenuineIntel GNU/Linux
Comment 4 Juergen Rose 2010-09-14 11:46:58 UTC
BTW, the arping from net-analyzer/arping works as expected:

root@condor:/usr/local/portage/sci-misc(70)# arping2 -c2 -Ibr0 grizzly
ARPING 192.168.1.53
60 bytes from 00:0f:ea:e1:65:1b (192.168.1.53): index=0 time=198.126 usec
60 bytes from 00:0f:ea:e1:65:1b (192.168.1.53): index=1 time=199.080 usec

--- 192.168.1.53 statistics ---
2 packets transmitted, 2 packets received,   0% unanswered
root@condor:/usr/local/portage/sci-misc(71)# arping -c2 -Ibr0 grizzly
ARPING 192.168.1.53 from 192.168.1.76 br0
Sent 2 probes (2 broadcast(s))
Received 0 response(s)
root@condor:/usr/local/portage/sci-misc(73)# ping -c2 grizzly
PING grizzly.homenet (192.168.1.53) 56(84) bytes of data.
64 bytes from grizzly.homenet (192.168.1.53): icmp_req=1 ttl=64 time=0.261 ms
64 bytes from grizzly.homenet (192.168.1.53): icmp_req=2 ttl=64 time=0.220 ms

--- grizzly.homenet ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.220/0.240/0.261/0.025 ms
Comment 5 Aleksander Machniak 2010-09-14 11:51:54 UTC
Fixed here http://bugs.gentoo.org/show_bug.cgi?id=337049
Comment 6 Juergen Rose 2010-09-15 17:34:44 UTC
Thanks Aleksander.

arping seems to work again.