Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

9.2-RC1, nfe, auto_linklocal : ioctl(SIOCGIFINFO_IN6): Invalid

48 views
Skip to first unread message

Matthieu Volat

unread,
Aug 14, 2013, 2:55:00 PM8/14/13
to
Hi,

I've noticed that with 9.2-RC1, I cannot set/unset the auto_locallink flag on the nfe network interface on my laptop:

# ifconfig nfe0 -auto_linklocal
ifconfig: ioctl(SIOCGIFINFO_IN6): Invalid argument

The error is also raised at boot if net.inet6.ip6.auto_linklocal sysctl is set to 0.

I can't test for now if this problem was also present in 9.1 (I've just began to use this flag instead of removing local addresses in rc.conf), but I can give more information if given the commands/files to read.

--
Mazhe
signature.asc

Andrey V. Elsukov

unread,
Aug 14, 2013, 3:02:40 PM8/14/13
to
On 14.08.2013 22:55, Matthieu Volat wrote:
> Hi,
>
> I've noticed that with 9.2-RC1, I cannot set/unset the auto_locallink
> flag on the nfe network interface on my laptop:
>
> # ifconfig nfe0 -auto_linklocal ifconfig: ioctl(SIOCGIFINFO_IN6):
> Invalid argument

I think you should use `ifconfig nfe0 inet6 -auto_linklocal`.

--
WBR, Andrey V. Elsukov
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stabl...@freebsd.org"

Matthieu Volat

unread,
Aug 14, 2013, 3:31:16 PM8/14/13
to
On Wed, 14 Aug 2013 23:02:40 +0400
"Andrey V. Elsukov" <bu7...@yandex.ru> wrote:

> On 14.08.2013 22:55, Matthieu Volat wrote:
> > Hi,
> >
> > I've noticed that with 9.2-RC1, I cannot set/unset the auto_locallink
> > flag on the nfe network interface on my laptop:
> >
> > # ifconfig nfe0 -auto_linklocal ifconfig: ioctl(SIOCGIFINFO_IN6):
> > Invalid argument
>
> I think you should use `ifconfig nfe0 inet6 -auto_linklocal`.
>
> --
> WBR, Andrey V. Elsukov

My bad, you are definitively right!

I wonder why the global sysctl would not disable linklocal adress on this interface, but I'd prefer to control it through the ifconfig_*_ipv6 fields interface by interface, so that's not really a problem.

Thanks!

-- Mazhe
signature.asc

Kevin Oberman

unread,
Aug 14, 2013, 7:02:51 PM8/14/13
to
Not really a followup or a response, but I am just a bit curious why you
would want to want to do this. II have seen this question several times, so
I am wondering what I might be missing. I'm hoping it's not just a general
aversion to all things IPv6.
--
R. Kevin Oberman, Network Engineer
E-mail: rkob...@gmail.com
0 new messages