Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2011 17:46:19 +0200
From:      Dominique Goncalves <dominique.goncalves@gmail.com>
To:        Sergey Kandaurov <pluknet@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: ifa_add_loopback_route: insertion failed with ifconfig wlan0 up
Message-ID:  <BANLkTimi3xsQZ7oantjHUO4EjZ2TE3SrWQ@mail.gmail.com>
In-Reply-To: <BANLkTimVPCB%2BW71NqQks%2BDSyZfS6g=f5Vw@mail.gmail.com>
References:  <BANLkTimXjU2a=KeTorPfk3v_8QGFRcHHnQ@mail.gmail.com> <BANLkTim4PORoS36ma1pBOJz8rj-b6NPK-Q@mail.gmail.com> <BANLkTinDiPEeujWy5P-Af9OavEONU_sobg@mail.gmail.com> <BANLkTimVPCB%2BW71NqQks%2BDSyZfS6g=f5Vw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/4/8 Sergey Kandaurov <pluknet@gmail.com>:
> On 8 April 2011 18:10, Dominique Goncalves
> <dominique.goncalves@gmail.com> wrote:
>> Hi
>>
>> 2011/4/6 Sergey Kandaurov <pluknet@gmail.com>:
>>> On 6 April 2011 11:35, Dominique Goncalves
>>> <dominique.goncalves@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 w=
ireless ?
>>>>
>>>
>>> I see this too with a dumb test:
>>>
>>> vlan5: flags=3D8003<UP,BROADCAST,MULTICAST> metric 0 mtu 1500
>>> =A0 =A0 =A0 =A0ether 00:00:00:00:00:00
>>> =A0 =A0 =A0 =A0inet6 fe80::21a:64ff:fe68:d005%vlan5 prefixlen 64 scopei=
d 0xa
>>> =A0 =A0 =A0 =A0inet 192.168.13.13 netmask 0xffffffff broadcast 192.168.=
13.13
>>> =A0 =A0 =A0 =A0nd6 options=3D3<PERFORMNUD,ACCEPT_RTADV>
>>> =A0 =A0 =A0 =A0vlan: 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
>



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



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