Specifying link-local address in rc.conf
Niclas Zeising
zeising+freebsd at daemonic.se
Tue Jul 7 15:19:11 UTC 2020
On 2020-07-07 12:02, Hiroki Sato wrote:
> Niclas Zeising <zeising+freebsd at daemonic.se> wrote
> in <713e1f3e-4dd9-8dcf-c6d2-15c684bdce5b at 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
More information about the freebsd-net
mailing list