Date: Mon, 6 Jul 2020 21:00:33 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Niclas Zeising <zeising+freebsd@daemonic.se>, net@FreeBSD.org Subject: Re: Specifying link-local address in rc.conf Message-ID: <eafb613f-ef7a-f313-fde8-94fa87fd5c55@grosbein.net> In-Reply-To: <713e1f3e-4dd9-8dcf-c6d2-15c684bdce5b@daemonic.se> References: <713e1f3e-4dd9-8dcf-c6d2-15c684bdce5b@daemonic.se>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eafb613f-ef7a-f313-fde8-94fa87fd5c55>