Date: Mon, 05 Apr 2010 23:33:58 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: jhay@meraka.org.za Cc: freebsd-current@FreeBSD.org, dougb@FreeBSD.org Subject: Re: ipv6_enable Message-ID: <20100405.233358.119402511.hrs@allbsd.org> In-Reply-To: <20100405083056.GA8863@zibbi.meraka.csir.co.za> References: <4BB7E224.6020508@FreeBSD.org> <20100405.144252.55944627.hrs@allbsd.org> <20100405083056.GA8863@zibbi.meraka.csir.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Mon_Apr__5_23_33_58_2010_468)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit John Hay <jhay@meraka.org.za> wrote in <20100405083056.GA8863@zibbi.meraka.csir.co.za>: jh> These questions actually start more questions for me. :-) Maybe we should jh> also think from the user perspective and list a few use cases and what a jh> user need to put in rc.conf to make that work? jh> jh> Your normal desktop/notebook user on a ipv6 radv network, what does he jh> need to do to have his machine ipv6 usable? Given that it is 9-CURRENT and the box has 1 NIC (fxp0), add the following line to rc.conf: ifconfig_fxp0_ipv6="accept_rtadv" jh> A network server that does not accept radv, what should its ipv6 config jh> in rc.conf look like? ifconfig_fxp0_ipv6="inet6 2001:db8:1::1/64" jh> What about a server that accept radv (so that it can get router info) jh> and have fixed addresses for it services? ifconfig_fxp0_ipv6="inet6 2001:db8:1::1/64 accept_rtadv" jh> A router kind of box, what should it look like? Given that the box has 2 NICs (fxp0 and fxp1), add the following lines to rc.conf: ipv6_gateway_enable="YES" ifconfig_fxp0_ipv6="inet6 2001:db8:1::1/64" ifconfig_fxp1_ipv6="inet6 2001:db8:2::1/64" And, no ifconfig_IF_ipv6 line means no IPv6 configuration for the IF. After my changes committed last September, the existence of ifconfig_IF_ipv6 is used as a flag for whether IPv6 is enable or not on that interface. -- Hiroki ----Security_Multipart(Mon_Apr__5_23_33_58_2010_468)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAku59NYACgkQTyzT2CeTzy2MswCeKSh3MG1l3UIhCDTERU3rmbFy GuwAoN4z2snV9rCiaGawfiYpTdRcIg8l =Aoyt -----END PGP SIGNATURE----- ----Security_Multipart(Mon_Apr__5_23_33_58_2010_468)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100405.233358.119402511.hrs>