Re: ip neigh show not showing arp cache entries?

2007-12-18 Thread Chris Friesen
Herbert Xu wrote: Chris Friesen [EMAIL PROTECTED] wrote: However, if I specifically try to print out one of the missing entries, it shows up: [EMAIL PROTECTED]:/root /tmp/ip neigh show 192.168.24.81 192.168.24.81 dev bond2 lladdr 00:01:af:14:e9:8a REACHABLE What about ip -4 neigh

Re: ip neigh show not showing arp cache entries?

2007-12-18 Thread Herbert Xu
On Tue, Dec 18, 2007 at 08:52:01AM -0600, Chris Friesen wrote: Looks like that did it. Why does specifying the family make a difference? Because this is the only parameter that changes kernel behaviour. Next step is to strace both commands with -s 16384 to see exactly what the kernel reply

Re: ip neigh show not showing arp cache entries?

2007-12-17 Thread Chris Friesen
YOSHIFUJI Hideaki / 吉藤英明 wrote: In article [EMAIL PROTECTED] (at Wed, 12 Dec 2007 15:57:08 -0600), Chris Friesen [EMAIL PROTECTED] says: You may try other versions of this command http://devresources.linux-foundation.org/dev/iproute2/download/ They appear to be numbered by kernel version,

Re: ip neigh show not showing arp cache entries?

2007-12-17 Thread Patrick McHardy
Chris Friesen wrote: The original ip command and the new one (/tmp/ip) both give the same results--some of the entries are missing. [EMAIL PROTECTED]:/root ip neigh show all 172.24.137.0 dev bond0 FAILED 172.24.0.9 dev bond0 lladdr 00:07:e9:41:4b:b4 REACHABLE 10.41.18.101 dev eth6 lladdr

Re: ip neigh show not showing arp cache entries?

2007-12-17 Thread Chris Friesen
Patrick McHardy wrote: From a kernel perspective there are only complete dumps, the filtering is done by iproute. So the fact that it shows them when querying specifically implies there is a bug in the iproute neighbour filter. Does it work if you omit all from the ip neigh show command?

Re: ip neigh show not showing arp cache entries?

2007-12-17 Thread Patrick McHardy
Chris Friesen wrote: Patrick McHardy wrote: From a kernel perspective there are only complete dumps, the filtering is done by iproute. So the fact that it shows them when querying specifically implies there is a bug in the iproute neighbour filter. Does it work if you omit all from the ip

Re: ip neigh show not showing arp cache entries?

2007-12-17 Thread Thomas Graf
* Patrick McHardy [EMAIL PROTECTED] 2007-12-18 00:51 Chris Friesen wrote: Patrick McHardy wrote: From a kernel perspective there are only complete dumps, the filtering is done by iproute. So the fact that it shows them when querying specifically implies there is a bug in the iproute

Re: ip neigh show not showing arp cache entries?

2007-12-17 Thread Patrick McHardy
Thomas Graf wrote: * Patrick McHardy [EMAIL PROTECTED] 2007-12-18 00:51 Chris Friesen wrote: Patrick McHardy wrote: From a kernel perspective there are only complete dumps, the filtering is done by iproute. So the fact that it shows them when querying specifically implies there is a bug in

Re: ip neigh show not showing arp cache entries?

2007-12-17 Thread Herbert Xu
Chris Friesen [EMAIL PROTECTED] wrote: However, if I specifically try to print out one of the missing entries, it shows up: [EMAIL PROTECTED]:/root /tmp/ip neigh show 192.168.24.81 192.168.24.81 dev bond2 lladdr 00:01:af:14:e9:8a REACHABLE What about ip -4 neigh show Thanks, --

Re: ip neigh show not showing arp cache entries?

2007-12-12 Thread Chris Friesen
I retested it on an x86 machine and am seeing similar problems. First, arp gives the arp table as expected: [EMAIL PROTECTED]:/tftpboot/cnp/0-0-5-0/0-0-5-0 arp -n Address HWtype HWaddress Flags Mask Iface 172.24.0.9 ether 00:03:CC:51:06:5E C

Re: ip neigh show not showing arp cache entries?

2007-12-12 Thread Eric Dumazet
Chris Friesen a écrit : I retested it on an x86 machine and am seeing similar problems. First, arp gives the arp table as expected: [EMAIL PROTECTED]:/tftpboot/cnp/0-0-5-0/0-0-5-0 arp -n Address HWtype HWaddress Flags MaskIface 172.24.0.9 ether

Re: ip neigh show not showing arp cache entries?

2007-12-12 Thread Chris Friesen
Eric Dumazet wrote: Chris Friesen a écrit : Is this expected behaviour? Probably not... Still a 2.6.14 kernel ? Yep. Embedded hardware, so I'm unable to test with a more recent kernel. Could you send the result of : strace ip neigh show I've attached two strace runs, one of ip neigh

Re: ip neigh show not showing arp cache entries?

2007-12-12 Thread Eric Dumazet
Chris Friesen a écrit : Eric Dumazet wrote: Chris Friesen a écrit : Is this expected behaviour? Probably not... Still a 2.6.14 kernel ? Yep. Embedded hardware, so I'm unable to test with a more recent kernel. And what is the version of ip command you have on this machine ? ip -V You

Re: ip neigh show not showing arp cache entries?

2007-12-12 Thread Chris Friesen
Eric Dumazet wrote: And what is the version of ip command you have on this machine ? ip -V iproute2-ss051107 You may try other versions of this command http://devresources.linux-foundation.org/dev/iproute2/download/ They appear to be numbered by kernel version, and the above version is

Re: ip neigh show not showing arp cache entries?

2007-12-12 Thread YOSHIFUJI Hideaki / 吉藤英明
In article [EMAIL PROTECTED] (at Wed, 12 Dec 2007 15:57:08 -0600), Chris Friesen [EMAIL PROTECTED] says: You may try other versions of this command http://devresources.linux-foundation.org/dev/iproute2/download/ They appear to be numbered by kernel version, and the above version is

ip neigh show not showing arp cache entries?

2007-12-10 Thread Chris Friesen
I'm seeing some strange behaviour on a 2.6.14 ppc64 system. If I run ip neigh show it prints out nothing, but if I run arp then I see the other nodes on the local network. [EMAIL PROTECTED]:/root ip neigh show [EMAIL PROTECTED]:/root arp -n Address HWtype HWaddress

Re: ip neigh show not showing arp cache entries?

2007-12-10 Thread Chris Friesen
Chris Friesen wrote: I'm seeing some strange behaviour on a 2.6.14 ppc64 system. If I run ip neigh show it prints out nothing, but if I run arp then I see the other nodes on the local network. [EMAIL PROTECTED]:/root ip neigh show [EMAIL PROTECTED]:/root arp -n Address