Specifying link-local address in rc.conf

Eugene Grosbein eugen at grosbein.net
Mon Jul 6 14:01:05 UTC 2020


06.07.2020 18:05, Niclas Zeising wrote:
> Hi!
> Is it possible to specify a link-local address in rc.conf, and get only that link-local address?
> 
> When I add a specific link-local address, such as fe80::1/64, to an interface from the command line,
> and then add a global uincast address, it works as expected, I do not get an additional link-local address.

What is exact syntax what works for you manually?

> When I try to do the same in rc.conf however, it does not work.
> I have added the following:
> ifconfig_vtnet0_inet6="inet6 fe80::1/64"
> ifconfig_vtnet0_alias0="2001:6b8::1/64"

You missed "inet6 " address family prefix for the last line. Does adding it help?



More information about the freebsd-net mailing list