Date: Wed, 08 Jul 2020 07:59:17 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: zeising+freebsd@daemonic.se Cc: net@FreeBSD.org Subject: Re: Specifying link-local address in rc.conf Message-ID: <20200708.075917.1804911690907828255.hrs@FreeBSD.org> In-Reply-To: <de5692a6-710a-4f06-1445-865ae6c89f02@daemonic.se> References: <713e1f3e-4dd9-8dcf-c6d2-15c684bdce5b@daemonic.se> <20200707.190252.2262901305208864620.hrs@FreeBSD.org> <de5692a6-710a-4f06-1445-865ae6c89f02@daemonic.se>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Wed_Jul__8_07_59_17_2020_149)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Niclas Zeising <zeising+freebsd@daemonic.se> wrote in <de5692a6-710a-4f06-1445-865ae6c89f02@daemonic.se>: ze> On 2020-07-07 12:02, Hiroki Sato wrote: ze> > Niclas Zeising <zeising+freebsd@daemonic.se> wrote ze> > in <713e1f3e-4dd9-8dcf-c6d2-15c684bdce5b@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 ----Security_Multipart(Wed_Jul__8_07_59_17_2020_149)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iMoEABMKAC4WIQRsDSNTJ8+Ax5Ae/dLbsH3Gbx9zfwUCXwT+RRAcaHJzQGZyZWVi c2Qub3JnAAoJENuwfcZvH3N/XzwCCQF0SEveb1tEERDczhAzsmACbVg2IGlG/xRb 06Z1/MXb5XnJLwFaK1FRY8aDZB9LYMMb9H0w2W3DwLtvLJXepqdw/wIJAUEopkRU x1rs2Qd5HXuGABRWV2JRxYWj2OzyJOB/0VGLlVfpqN9d4fPhornXXJkSLwBIDrHv ttBWq6SEEYCPnpow =FfCh -----END PGP SIGNATURE----- ----Security_Multipart(Wed_Jul__8_07_59_17_2020_149)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200708.075917.1804911690907828255.hrs>