From owner-freebsd-net@freebsd.org Tue Jul 7 10:24:44 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 878F635D3AC for ; Tue, 7 Jul 2020 10:24:44 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4B1JTS37kMz4NJ2 for ; Tue, 7 Jul 2020 10:24:44 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6BB2C35D3AB; Tue, 7 Jul 2020 10:24:44 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B6BD35D33D for ; Tue, 7 Jul 2020 10:24:44 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B1JTS2DV8z4NGs; Tue, 7 Jul 2020 10:24:44 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from localhost (unknown [IPv6:2400:4051:a743:3c00:16:ceff:fe34:2700]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: hrs) by smtp.freebsd.org (Postfix) with ESMTPSA id 6BEEE2BAF4; Tue, 7 Jul 2020 10:24:43 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Date: Tue, 07 Jul 2020 19:02:52 +0900 (JST) Message-Id: <20200707.190252.2262901305208864620.hrs@FreeBSD.org> To: zeising+freebsd@daemonic.se Cc: net@FreeBSD.org Subject: Re: Specifying link-local address in rc.conf From: Hiroki Sato In-Reply-To: <713e1f3e-4dd9-8dcf-c6d2-15c684bdce5b@daemonic.se> References: <713e1f3e-4dd9-8dcf-c6d2-15c684bdce5b@daemonic.se> X-Old-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-PGPkey-fingerprint: 6C0D 2353 27CF 80C7 901E FDD2 DBB0 7DC6 6F1F 737F X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="--Security_Multipart(Tue_Jul__7_19_02_52_2020_526)--" Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2020 10:24:44 -0000 ----Security_Multipart(Tue_Jul__7_19_02_52_2020_526)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Niclas Zeising wrote in <713e1f3e-4dd9-8dcf-c6d2-15c684bdce5b@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. -- Hiroki ----Security_Multipart(Tue_Jul__7_19_02_52_2020_526)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iMkEABMKAC4WIQRsDSNTJ8+Ax5Ae/dLbsH3Gbx9zfwUCXwRITBAcaHJzQGZyZWVi c2Qub3JnAAoJENuwfcZvH3N/y5UCCQEIcB4oc0Iz+h4Dm+XGPUJwIwoUzS3JB+mv /8ugkDhMY7/XF+GWjR4Rk6u8Q9r6E483wB1i9fdq9Kb1jgRygjrbAQIFHMGrDect EUTuQG4gnIeJoyayYKILVjR4F85mQNXEl7EzdaOa71D7ZVC3O4n6+c3+uwm3OLZz tNbZj8o/9pJXI08= =zkKT -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Jul__7_19_02_52_2020_526)----