netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Please explain this ARP behaviour.
@ 2006-04-26 11:58 Simon Kelley
  0 siblings, 0 replies; only message in thread
From: Simon Kelley @ 2006-04-26 11:58 UTC (permalink / raw)
  To: netdev

Two machines, many configuration differences, I need to find which one 
is causing this difference in behaviour:


Machine 1: (eth1 is on the correct 192.168.3.x network)

# ip neighbour add to 192.168.2.15 lladdr 00:0F:20:98:F8:86  nud \ 
reachable dev eth1

# cat /proc/net/arp
IP address       HW type     Flags       HW address            Mask 
Device
192.168.0.4      0x1         0x2         00:00:F8:04:9B:69     *   eth0
192.168.2.15     0x1         0x2         00:0F:20:98:F8:86     *   eth1
192.168.2.148    0x1         0x2         00:10:A4:F2:CF:CB     *   eth1

# ip neighbour show
192.168.0.4 dev eth0 lladdr 00:00:f8:04:9b:69 nud reachable
192.168.2.15 dev eth1 lladdr 00:0f:20:98:f8:86 nud reachable
192.168.2.148 dev eth1 lladdr 00:10:a4:f2:cf:cb nud stale

Note that hand-created entry appears in /proc and ip .. show


Machine 2: (similarly correct network)

# ip neighbour add to 192.62.204.15 lladdr 00:0F:20:98:F8:86\
      nud reachable dev eth1

IP address       HW type     Flags       HW address            Mask 
Device
193.62.204.1     0x1         0x2         00:0F:20:98:F8:87     *    eth1

# ip neighbour show
192.62.204.15 dev eth1 lladdr 00:0f:20:98:f8:86 nud reachable
193.62.204.1 dev eth1 lladdr 00:0f:20:98:f8:87 nud stale

Here, hand-created interface is in ip .. show, but missing from /proc

There is some reason to believe that the functional ARP behaves as 
/proc/net/arp (ie the hand-created entry is ignored) but I don't have 
absolute proof of that yet.

Machine 1 (works) is 2.6.12.2 hand compiled
Machine 2 (broken) is Ubunutu's 2.6.10-5-386, but this has possibly been 
seen in Debian 2.6.16.2 as well.

Please could someone suggest where I look next?


Cheers,

Simon.






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-26 11:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-26 11:58 Please explain this ARP behaviour Simon Kelley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).