Date: Tue, 19 May 2009 18:05:15 -0700 From: "Li, Qing" <qing.li@bluecoat.com> To: "Nikos Vassiliadis" <nvass9573@gmx.com>, <freebsd-net@freebsd.org> Subject: RE: arp fails to clear mapping for deleted network Message-ID: <B583FBF374231F4A89607B4D08578A430430D190@bcs-mail03.internal.cacheflow.com> In-Reply-To: <4A111FDC.5030400@gmx.com> References: <4A111FDC.5030400@gmx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B583FBF374231F4A89607B4D08578A430430D190>