From owner-freebsd-net@FreeBSD.ORG Wed May 20 01:10:15 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8D3F106566B for ; Wed, 20 May 2009 01:10:15 +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 A6B0A8FC22 for ; Wed, 20 May 2009 01:10:15 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from bcs-mail03.internal.cacheflow.com ([10.2.2.95]) by whisker.bluecoat.com (8.14.2/8.14.2) with ESMTP id n4K1AEdT021750; Tue, 19 May 2009 18:10:14 -0700 (PDT) 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: Tue, 19 May 2009 18:05:15 -0700 Message-ID: In-Reply-To: <4A111FDC.5030400@gmx.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: arp fails to clear mapping for deleted network Thread-Index: AcnXlQ7Oob8mWboxRJubx10YTNCxNABUbQng References: <4A111FDC.5030400@gmx.com> From: "Li, Qing" To: "Nikos Vassiliadis" , Cc: Subject: RE: arp fails to clear mapping for deleted network X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2009 01:10:16 -0000 Please apply the patch at "http://people.freebsd.org/~qingli/patch" and that should fix your problem. I found another issue while testing the patch. I am working on it and hope to have a fix soon. -- Qing > -----Original Message----- > From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd- > net@freebsd.org] On Behalf Of Nikos Vassiliadis > Sent: Monday, May 18, 2009 1:44 AM > To: freebsd-net@freebsd.org > Subject: arp fails to clear mapping for deleted network >=20 > Hello, >=20 > It seems that: > 1) if I assign an IP address to an interface > 2) get an arp mapping via this interface > 3) remove the IP address from the interface >=20 > arp fails to remove this arp entry when > arp -d is used >=20 > > lab# ifconfig rl0 192.168.254.30 > > lab# ping 192.168.254.254 > > PING 192.168.254.254 (192.168.254.254): 56 data bytes > > 64 bytes from 192.168.254.254: icmp_seq=3D0 ttl=3D64 time=3D0.427 ms > > 64 bytes from 192.168.254.254: icmp_seq=3D1 ttl=3D64 time=3D0.434 ms > > 64 bytes from 192.168.254.254: icmp_seq=3D2 ttl=3D64 time=3D0.442 ms > > 64 bytes from 192.168.254.254: icmp_seq=3D3 ttl=3D64 time=3D0.467 ms > > 64 bytes from 192.168.254.254: icmp_seq=3D4 ttl=3D64 time=3D0.445 ms > > ^C > > --- 192.168.254.254 ping statistics --- > > 5 packets transmitted, 5 packets received, 0.0% packet loss > > round-trip min/avg/max/stddev =3D 0.427/0.443/0.467/0.014 ms > > lab# arp 192.168.254.254 > > ? (192.168.254.254) at 00:18:d1:e4:ee:29 on rl0 [ethernet] > > lab# ifconfig rl0 delete > > lab# arp 192.168.254.254 > > ? (192.168.254.254) at 00:18:d1:e4:ee:29 on rl0 [ethernet] > > lab# arp -d 192.168.254.254 > > arp: writing to routing socket: No such process > > arp: 192.168.254.254: No such process > > lab# arp 192.168.254.254 > > ? (192.168.254.254) at 00:18:d1:e4:ee:29 on rl0 [ethernet] > > lab# >=20 > This is from a few days old -current. I just noticed > this somehow strange behavior, but I don't really know > if it's old or new. >=20 > Nikos > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"