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

next in thread | previous in thread | raw e-mail | index | archive | help
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 wi=
reless ?
>>>
>>
>> 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 scopeid=
 0xa
>> =A0 =A0 =A0 =A0inet 192.168.13.13 netmask 0xffffffff broadcast 192.168.1=
3.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

--=20
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimVPCB%2BW71NqQks%2BDSyZfS6g=f5Vw>