arp fails to clear mapping for deleted network

Li, Qing qing.li at bluecoat.com
Mon May 18 08:51:14 UTC 2009


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 at freebsd.org on behalf of Nikos Vassiliadis
Sent: Mon 5/18/2009 1:44 AM
To: freebsd-net at freebsd.org
Subject: arp fails to clear mapping for deleted network
 
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=0 ttl=64 time=0.427 ms
> 64 bytes from 192.168.254.254: icmp_seq=1 ttl=64 time=0.434 ms
> 64 bytes from 192.168.254.254: icmp_seq=2 ttl=64 time=0.442 ms
> 64 bytes from 192.168.254.254: icmp_seq=3 ttl=64 time=0.467 ms
> 64 bytes from 192.168.254.254: icmp_seq=4 ttl=64 time=0.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 = 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"



More information about the freebsd-net mailing list