Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2011 16:10:05 +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:  <BANLkTinDiPEeujWy5P-Af9OavEONU_sobg@mail.gmail.com>
In-Reply-To: <BANLkTim4PORoS36ma1pBOJz8rj-b6NPK-Q@mail.gmail.com>
References:  <BANLkTimXjU2a=KeTorPfk3v_8QGFRcHHnQ@mail.gmail.com> <BANLkTim4PORoS36ma1pBOJz8rj-b6NPK-Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 wir=
eless ?
>>
>
> 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.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.

>
> On head ifconfig vlan5 down gives:
> interface address is missing from cache =3D 0 =A0in delete
>
> --
> wbr,
> pluknet
>

Regards.

--=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?BANLkTinDiPEeujWy5P-Af9OavEONU_sobg>