From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758883AbXLLQuW (ORCPT ); Wed, 12 Dec 2007 11:50:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755921AbXLLQuI (ORCPT ); Wed, 12 Dec 2007 11:50:08 -0500 Received: from smtp28.orange.fr ([80.12.242.100]:19505 "EHLO smtp28.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751925AbXLLQuH convert rfc822-to-8bit (ORCPT ); Wed, 12 Dec 2007 11:50:07 -0500 X-ME-UUID: 20071212164618558.0D9B470000B4@mwinf2817.orange.fr Message-ID: <47601059.8020203@cosmosbay.com> Date: Wed, 12 Dec 2007 17:46:17 +0100 From: Eric Dumazet User-Agent: Thunderbird 1.5.0.13 (Windows/20070809) MIME-Version: 1.0 To: Chris Friesen Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: "ip neigh show" not showing arp cache entries? References: <475D7901.1040900@nortel.com> <475D7D70.5030502@nortel.com> <47600A6E.8000202@nortel.com> In-Reply-To: <47600A6E.8000202@nortel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Chris Friesen a écrit : > 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 Iface > 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 > 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 > 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 > 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 > 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