From owner-freebsd-net@FreeBSD.ORG Mon May 18 08:44:58 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 DDE3F106564A for ; Mon, 18 May 2009 08:44:58 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 29ECC8FC16 for ; Mon, 18 May 2009 08:44:57 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: (qmail invoked by alias); 18 May 2009 08:44:56 -0000 Received: from ipa140.95.91.tellas.gr (EHLO [192.168.254.1]) [91.140.95.140] by mail.gmx.com (mp-eu005) with SMTP; 18 May 2009 10:44:56 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1+N3Nxzh62NPAvnzvYJ+1TBIRr9635gMI/7c4v8Lk ha5XmW7L2nxLvC Message-ID: <4A111FDC.5030400@gmx.com> Date: Mon, 18 May 2009 11:44:12 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6 Subject: 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: Mon, 18 May 2009 08:44:59 -0000 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