Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2011 23:40:14 -0400
From:      Arnaud Lacombe <lacombar@gmail.com>
To:        "Li, Qing" <qing.li@bluecoat.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Ingo Flaschberger <if@xip.at>
Subject:   Re: interface ip arp
Message-ID:  <BANLkTi=Jb_2ghf_psn2ir-VdH7yJsDOPRg@mail.gmail.com>
In-Reply-To: <BANLkTikA4OZ=it0PCRus0Jhfj8me=P071Q@mail.gmail.com>
References:  <alpine.LRH.2.00.1104140140240.8693@filebunker.xip.at> <alpine.LRH.2.00.1105020149570.27379@filebunker.xip.at> <10E473DB-A690-4468-953A-08D87AE07F68@bluecoat.com> <B143A8975061C446AD5E29742C53172304AC91@PWSVL-EXCMBX-01.internal.cacheflow.com> <BANLkTikA4OZ=it0PCRus0Jhfj8me=P071Q@mail.gmail.com>

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

On Sun, May 1, 2011 at 11:32 PM, Arnaud Lacombe <lacombar@gmail.com> wrote:
> Hi,
>
> On Sun, May 1, 2011 at 10:50 PM, Li, Qing <qing.li@bluecoat.com> 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" <if@xip.at> 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"
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=Jb_2ghf_psn2ir-VdH7yJsDOPRg>