ifa_add_loopback_route: insertion failed with ifconfig wlan0 up

Dominique Goncalves dominique.goncalves at gmail.com
Fri Apr 8 15:46:20 UTC 2011


2011/4/8 Sergey Kandaurov <pluknet at gmail.com>:
> On 8 April 2011 18:10, Dominique Goncalves
> <dominique.goncalves at gmail.com> wrote:
>> Hi
>>
>> 2011/4/6 Sergey Kandaurov <pluknet at gmail.com>:
>>> On 6 April 2011 11:35, Dominique Goncalves
>>> <dominique.goncalves at gmail.com> wrote:
>>>> Hi,
>>>>
>>>> I've installed FreeBSD 8.2-RELEASE on soekris net4801 with Atheros
>>>> 9280 (mini pci card) as an access point using hostapd, so far it works
>>>> . Sometimes I need to disable wireless with ifconfig wlan0 down but
>>>> each times I run ifconfig wlan0 up, the kernel produces this error
>>>>
>>>> ifa_add_loopback_route: insertion failed
>>>>
>>>> is this a problem ? or maybe there is a better way to disable/enable wireless ?
>>>>
>>>
>>> I see this too with a dumb test:
>>>
>>> vlan5: flags=8003<UP,BROADCAST,MULTICAST> metric 0 mtu 1500
>>>        ether 00:00:00:00:00:00
>>>        inet6 fe80::21a:64ff:fe68:d005%vlan5 prefixlen 64 scopeid 0xa
>>>        inet 192.168.13.13 netmask 0xffffffff broadcast 192.168.13.13
>>>        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
>>>        vlan: 0 parent interface: <none>
>>>
>>> On 8.1 ifconfig vlan5 up gives:
>>> ifa_add_loopback_route: insertion failed
>>
>> I guess I need to submit a PR.
>>
>> What step did you used to reproduce the problem ? I tried (on 8.2) to
>> create a vlan but was not able to reproduce the error.
>
> Here it is.
>
> # ifconfig vlan5 create
> # ifconfig vlan5 192.168.13.16/32
> # ifconfig vlan5 down
> # ifconfig vlan5 up

Ok, I reproduced the error and I just submitted a problem report  PR/156278

> --
> wbr,
> pluknet
>



-- 
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."


More information about the freebsd-net mailing list