From owner-freebsd-net@FreeBSD.ORG Mon May 2 03:40:15 2011 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 2A7B7106566C for ; Mon, 2 May 2011 03:40:15 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id E21958FC13 for ; Mon, 2 May 2011 03:40:14 +0000 (UTC) Received: by iyj12 with SMTP id 12so6195018iyj.13 for ; Sun, 01 May 2011 20:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=FaxNN3gfetEzBrxHYEPpM7IiHKDm75xU67GijhPfTZM=; b=TrNgoRr+qwGFMgsEZimFivPi6bfMJjtxtw49NaexML1JNIfGo6QlOxhgfb4pRIgpAp IMmfEaIm7WTTnIjJvSiRO5/7Dj6ymKK6Hmr1eYj6l2BkAvHrPAPKrYXZkZ98V/tt7Y1n yEXcqIIXmRDUJCUVgXXrs4KkbC2WnWjpGZoS8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=lEVID9wwagX3nl8TcKKPxLKIv4a0T6Ggc2xAxJ34yD4ln2KElhyvhbqq+pp53/87Zc fBiDkdW5/EPPFoaTR2bjIo/oFDEMURnwhWC9MPCCOXWCx0FO6JNS5BrLmkr7G7cJ4+Jv BOE+WLxflYl4U6IwGsjO8+cDWCxGV2bCEKtTw= MIME-Version: 1.0 Received: by 10.43.44.6 with SMTP id ue6mr9698569icb.69.1304307614161; Sun, 01 May 2011 20:40:14 -0700 (PDT) Received: by 10.42.165.132 with HTTP; Sun, 1 May 2011 20:40:14 -0700 (PDT) In-Reply-To: References: <10E473DB-A690-4468-953A-08D87AE07F68@bluecoat.com> Date: Sun, 1 May 2011 23:40:14 -0400 Message-ID: From: Arnaud Lacombe To: "Li, Qing" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-net@freebsd.org" , Ingo Flaschberger Subject: Re: interface ip arp 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, 02 May 2011 03:40:15 -0000 Hi, On Sun, May 1, 2011 at 11:32 PM, Arnaud Lacombe wrote: > Hi, > > On Sun, May 1, 2011 at 10:50 PM, Li, Qing wrote: >> jeez, this bug has been around for quite a while ... >> >> Please try patch at =A0http://people.freebsd.org/~qingli/arp.patch >> > Do not help: > > # sh -x test.sh > + ifconfig vr2 up 192.168.24.1 > + arp -s 192.168.24.2 0:0:0:0:0:1 > + arp -a > ? (192.168.24.1) at 00:00:24:cb:f4:92 on vr2 permanent [ethernet] > ? (192.168.24.2) at 00:00:00:00:00:01 on vr2 permanent [ethernet] > + ifconfig vr2 down > + arp -a > + ifconfig vr2 up > + arp -a > ? (192.168.24.1) at 00:00:24:cb:f4:92 on vr2 permanent [ethernet] > > As you can see, the address is lost when the interface is brought down. > There is no reference to LLE_STATIC in the 7.x tree, so I guess that the new code introduced in 8.x always behaved in such a way. - Arnaud > =A0- Arnaud > >> -- Qing >> >> ________________________________________ >> From: owner-freebsd-net@freebsd.org [owner-freebsd-net@freebsd.org] on b= ehalf of Li, Qing >> Sent: Sunday, May 01, 2011 4:54 PM >> To: Ingo Flaschberger >> Cc: freebsd-net@freebsd.org >> Subject: Re: interface ip arp >> >> That's not the expected behavior, probably a bug, I will take a look ... >> >> -- Qing >> >> >> >> >> On May 1, 2011, at 4:51 PM, "Ingo Flaschberger" wrote: >> >>>> is it expected behaviour that the static, permanent arp entry of the i= nterface ip disappear after ifdown/ifup at 8.x release? >>>> >>>> ifconfig em0 10.20.20.1/24 >>>> arp -an | grep 10.20.20.1 >>>> ? (10.20.20.1) at xx:xx:xx:xx:xx:xx on em0 permanent [ethernet] >>>> ifconfig em0 down >>>> ifconfig em0 up >>>> arp -an | grep 10.20.20.1 >>>> nothing >>> >>> resend this "question" - as there was no respone. >>> >>> Kind regards, >>> =A0 =A0Ingo Flaschberger >>> >>> _______________________________________________ >>> 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" >> _______________________________________________ >> 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" >> _______________________________________________ >> 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" >> >