Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2009 01:49:39 -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:  <B583FBF374231F4A89607B4D08578A431443C8@bcs-mail03.internal.cacheflow.com>
References:  <4A111FDC.5030400@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hmm... that's odd. This was an issue but I fixed this bug
months ago.  Let me see if I can recreate what you've
described with the latest -current and get back to you
later today.

-- Qing


-----Original Message-----
From: owner-freebsd-net@freebsd.org on behalf of Nikos Vassiliadis
Sent: Mon 5/18/2009 1:44 AM
To: freebsd-net@freebsd.org
Subject: arp fails to clear mapping for deleted network
=20
Hello,

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

arp fails to remove this arp entry when
arp -d is used

> 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#

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.

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?B583FBF374231F4A89607B4D08578A431443C8>