Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jul 2020 17:19:06 +0200
From:      Niclas Zeising <zeising+freebsd@daemonic.se>
To:        Hiroki Sato <hrs@FreeBSD.org>
Cc:        net@FreeBSD.org
Subject:   Re: Specifying link-local address in rc.conf
Message-ID:  <de5692a6-710a-4f06-1445-865ae6c89f02@daemonic.se>
In-Reply-To: <20200707.190252.2262901305208864620.hrs@FreeBSD.org>
References:  <713e1f3e-4dd9-8dcf-c6d2-15c684bdce5b@daemonic.se> <20200707.190252.2262901305208864620.hrs@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-07-07 12:02, Hiroki Sato wrote:
> Niclas Zeising <zeising+freebsd@daemonic.se> wrote
>    in <713e1f3e-4dd9-8dcf-c6d2-15c684bdce5b@daemonic.se>:
> 
> ze> Hi!
> ze> Is it possible to specify a link-local address in rc.conf, and get
> ze> only that link-local address?
> 
>   The following is a typical configuration if you want to disable
>   EUI-64 LLA:
> 
>    ifconfig_vtnet0="inet ...."
>    ifconfig_vtnet0_ipv6="inet6 -auto_linklocal"
>    ifconfig_vtnet0_alias0="inet6 fe80::1/64"
>    ifconfig_vtnet0_alias1="inet6 2001:6b8::1/64"
> 
>   Address family keyword is mandatory.  Most of address configurations
>   with no AF keyword are handled as expected, but some are not.

Hi!
This example does not work, it generates a EUI64 link-local address on 
vtnet0, and then adds the other IPv6 addresses.
It looks like anything that has ifconfig_vtnet0="inet ..." or even just 
"up" generates the link_local address.
Regards
-- 
Niclas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?de5692a6-710a-4f06-1445-865ae6c89f02>