Niclas Zeising <zeising+free...@daemonic.se> wrote in <de5692a6-710a-4f06-1445-865ae6c89...@daemonic.se>:
ze> On 2020-07-07 12:02, Hiroki Sato wrote: ze> > Niclas Zeising <zeising+free...@daemonic.se> wrote ze> > in <713e1f3e-4dd9-8dcf-c6d2-15c684bdc...@daemonic.se>: ze> > ze> Hi! ze> > ze> Is it possible to specify a link-local address in rc.conf, and get ze> > ze> only that link-local address? ze> > The following is a typical configuration if you want to disable ze> > EUI-64 LLA: ze> > ifconfig_vtnet0="inet ...." ze> > ifconfig_vtnet0_ipv6="inet6 -auto_linklocal" ze> > ifconfig_vtnet0_alias0="inet6 fe80::1/64" ze> > ifconfig_vtnet0_alias1="inet6 2001:6b8::1/64" ze> > Address family keyword is mandatory. Most of address configurations ze> > with no AF keyword are handled as expected, but some are not. ze> ze> Hi! ze> This example does not work, it generates a EUI64 link-local address on ze> vtnet0, and then adds the other IPv6 addresses. ze> It looks like anything that has ifconfig_vtnet0="inet ..." or even ze> just "up" generates the link_local address. Hmm, that's odd. Can you send me a log by the following command-line off-list? I will investigate the cause. # env -i rc_debug=YES /bin/sh -x /etc/rc.d/netif restart vtnet0 -- Hiroki
pgplOjbG0gvjn.pgp
Description: PGP signature