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

2013-08-14 Thread Matthieu Volat
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
Description: PGP signature


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

2013-08-14 Thread Andrey V. Elsukov
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-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


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

2013-08-14 Thread Matthieu Volat
On Wed, 14 Aug 2013 23:02:40 +0400
Andrey V. Elsukov bu7c...@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
Description: PGP signature


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

2013-08-14 Thread Kevin Oberman
On Wed, Aug 14, 2013 at 12:31 PM, Matthieu Volat ma...@alkumuna.eu wrote:

 On Wed, 14 Aug 2013 23:02:40 +0400
 Andrey V. Elsukov bu7c...@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


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: rkober...@gmail.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org