interface ip arp

Arnaud Lacombe lacombar at gmail.com
Mon May 2 03:40:15 UTC 2011


Hi,

On Sun, May 1, 2011 at 11:32 PM, Arnaud Lacombe <lacombar at gmail.com> wrote:
> Hi,
>
> On Sun, May 1, 2011 at 10:50 PM, Li, Qing <qing.li at bluecoat.com> wrote:
>> jeez, this bug has been around for quite a while ...
>>
>> Please try patch at  http://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

>  - Arnaud
>
>> -- Qing
>>
>> ________________________________________
>> From: owner-freebsd-net at freebsd.org [owner-freebsd-net at freebsd.org] on behalf of Li, Qing
>> Sent: Sunday, May 01, 2011 4:54 PM
>> To: Ingo Flaschberger
>> Cc: freebsd-net at 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 at xip.at> wrote:
>>
>>>> is it expected behaviour that the static, permanent arp entry of the interface 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,
>>>    Ingo Flaschberger
>>>
>>> _______________________________________________
>>> 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"
>> _______________________________________________
>> 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"
>> _______________________________________________
>> 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