From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: "ip neigh show" not showing arp cache entries? Date: Wed, 12 Dec 2007 17:46:17 +0100 Message-ID: <47601059.8020203@cosmosbay.com> References: <475D7901.1040900@nortel.com> <475D7D70.5030502@nortel.com> <47600A6E.8000202@nortel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Chris Friesen Return-path: Received: from smtp28.orange.fr ([80.12.242.101]:12382 "EHLO smtp28.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757758AbXLLQqX convert rfc822-to-8bit (ORCPT ); Wed, 12 Dec 2007 11:46:23 -0500 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2817.orange.fr (SMTP Server) with ESMTP id 67909700006D for ; Wed, 12 Dec 2007 17:46:22 +0100 (CET) In-Reply-To: <47600A6E.8000202@nortel.com> Sender: netdev-owner@vger.kernel.org List-ID: Chris Friesen a =E9crit : > I retested it on an x86 machine and am seeing similar problems. > > First, "arp" gives the arp table as expected: > > root@typhoon-base-unit0:/tftpboot/cnp/0-0-5-0/0-0-5-0> arp -n > Address HWtype HWaddress Flags Mask If= ace > 172.24.0.9 ether 00:03:CC:51:06:5E C bond0 > 10.41.18.101 ether 00:0E:0C:5E:95:BD C eth6 > 172.24.137.0 ether 00:C0:8B:08:E4:88 C bond0 > 172.24.136.0 ether 00:C0:8B:07:B3:7E C bond0 > 10.41.18.1 ether 00:00:5E:00:01:01 C eth6 > 172.24.0.5 ether 00:01:AF:15:E0:6A C bond0 > 172.24.0.13 ether 00:0E:0C:85:FD:D2 C bond0 > 172.24.0.3 ether 00:01:AF:14:C8:CC C bond0 > 172.24.132.1 ether 00:01:AF:14:E9:88 C bond0 > 172.24.0.7 ether 00:07:E9:41:4B:B4 C bond0 > 192.168.24.81 ether 00:01:AF:14:E9:8A C bond2 > > "ip neigh show" gives nothing, but if I search for specific addresses= =20 > from the arp table listing they show up: > > root@typhoon-base-unit0:/tftpboot/cnp/0-0-5-0/0-0-5-0> ip neigh show > root@typhoon-base-unit0:/tftpboot/cnp/0-0-5-0/0-0-5-0> ip neigh show=20 > 172.24.0.9 > 172.24.0.9 dev bond0 lladdr 00:03:cc:51:06:5e DELAY > root@typhoon-base-unit0:/tftpboot/cnp/0-0-5-0/0-0-5-0> ip neigh show=20 > 10.41.18.101 > 10.41.18.101 dev eth6 lladdr 00:0e:0c:5e:95:bd REACHABLE > root@typhoon-base-unit0:/tftpboot/cnp/0-0-5-0/0-0-5-0> ip neigh show=20 > 172.24.137.0 > 172.24.137.0 dev bond0 lladdr 00:c0:8b:08:e4:88 REACHABLE > > > Is this expected behaviour? Probably not... Still a 2.6.14 kernel ? Could you send the result of : strace ip neigh show