From owner-freebsd-current@FreeBSD.ORG Thu Nov 19 19:13:36 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B70ED10656A3 for ; Thu, 19 Nov 2009 19:13:36 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from whisker.bluecoat.com (whisker.bluecoat.com [216.52.23.28]) by mx1.freebsd.org (Postfix) with ESMTP id 863F18FC23 for ; Thu, 19 Nov 2009 19:13:36 +0000 (UTC) Received: from bcs-mail03.internal.cacheflow.com ([10.2.2.95]) by whisker.bluecoat.com (8.14.2/8.14.2) with ESMTP id nAJJDZdZ002065; Thu, 19 Nov 2009 11:13:35 -0800 (PST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 19 Nov 2009 11:13:30 -0800 Message-ID: In-Reply-To: <200911191620.nAJGKuKG096490@lava.sentex.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: arp -na output sort order ? Thread-Index: AcppNEeRiUiWIz8DTjeBThY2xGkGFQAF3pVg References: <200911191620.nAJGKuKG096490@lava.sentex.ca> From: "Li, Qing" To: "Mike Tancsa" , Cc: Subject: RE: arp -na output sort order ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 19:13:36 -0000 >=20 > Is there any reason why the output of arp is no longer sorted by IP > addr ? Is this just the fallout of the arp fixes/changes in RELENG_8 ? >=20 Backend implementation of the ARP table is completely different=20 between pre-8 and REL_8. This is a known issue and I had other=20 big fishes to fry for the 8.0 release and this item is low on the=20 priority list. In the meantime you could do "arp -an | sort" as a temporary workaround. -- Qing > e.g. RELENG_7 and below >=20 > ? (192.168.43.1) at 00:13:20:c3:7d:22 on em1 [ethernet] > ? (192.168.43.19) at 00:01:80:3c:5e:c9 on em1 [ethernet] > ? (192.168.43.24) at 00:16:cb:91:fd:4e on em1 [ethernet] > ? (192.168.43.27) at 00:14:2a:9b:1c:2e on em1 [ethernet] > ? (192.168.43.28) at 00:50:fc:24:24:9f on em1 [ethernet] > ? (192.168.43.34) at 00:01:80:54:b3:b8 on em1 [ethernet] > ? (192.168.43.50) at 00:90:c2:d4:0b:8a on em1 [ethernet] > ? (192.168.43.88) at 00:04:00:79:d5:44 on em1 [ethernet] > ? (192.168.43.96) at 00:0d:ed:89:2e:80 on em1 [ethernet] > ? (192.168.43.97) at 00:15:17:1e:94:0b on em1 [ethernet] > ? (192.168.43.99) at 00:c0:05:02:0a:c3 on em1 [ethernet] > ? (192.168.43.121) at 00:0e:84:1a:e2:e7 on em1 [ethernet] > ? (192.168.43.122) at 00:0e:84:1a:e3:c8 on em1 [ethernet] >=20 >=20 > and on RELENG_8 >=20 >=20 > ? (192.168.43.99) at 00:c0:05:02:0a:c3 on em0 [ethernet] > ? (192.168.43.34) at 00:01:80:54:b3:b8 on em0 [ethernet] > ? (192.168.43.1) at 00:13:20:c3:7d:22 on em0 [ethernet] > ? (192.168.43.27) at 00:14:2a:9b:1c:2e on em0 [ethernet] > ? (192.168.43.219) at 00:1c:c0:95:0d:0d on em0 permanent [ethernet] > ? (10.255.255.110) at 00:03:1d:03:52:06 on igb1 [ethernet] > ? (10.255.255.3) at 00:15:17:1e:94:0c on igb1 [ethernet] > ? (10.255.255.1) at 00:30:48:94:88:21 on igb1 permanent [ethernet] > ? (10.255.255.114) at 00:02:b3:5d:ca:ce on igb1 [ethernet] > ? (10.255.255.113) at 00:24:8c:60:56:a4 on igb1 [ethernet] > ? (3.3.3.1) at 00:30:48:94:88:20 on igb0 permanent [ethernet] > ? (10.177.194.17) at 00:15:17:cf:26:df on igb0 [ethernet] > ? (10.177.194.18) at 00:30:48:94:88:20 on igb0 permanent [ethernet] >=20 >=20 > ---Mike >=20 > -------------------------------------------------------------------- > Mike Tancsa, tel +1 519 651 3400 > Sentex Communications, mike@sentex.net > Providing Internet since 1994 www.sentex.net > Cambridge, Ontario Canada www.sentex.net/mike