Date: Tue, 15 Oct 2013 06:07:54 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: prox@prolixium.com Cc: freebsd-net@FreeBSD.org Subject: Re: IPv6 Source Address Selection in 9.x Message-ID: <20131015.060754.1615183637061250094.hrs@allbsd.org> In-Reply-To: <20131014205824.GI25061@prolixium.com> References: <20131014203929.GG25061@prolixium.com> <20131015.054515.997515800600548642.hrs@allbsd.org> <20131014205824.GI25061@prolixium.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Tue_Oct_15_06_07_54_2013_493)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mark Kamichoff <prox@prolixium.com> wrote in <20131014205824.GI25061@prolixium.com>: pr> On Tue, Oct 15, 2013 at 05:45:15AM +0900, Hiroki Sato wrote: pr> > Try ip6addrctl_policy="ipv6_prefer" in rc.conf. pr> pr> Excellent. Thank you. I glanced right over that in pr> /etc/default/rc.conf. I just added the above line to /etc/rc.conf and pr> ran /etc/rc.d/ip6addrctl start prefer_ipv6. Now, it works as expected: pr> pr> (dax:16:47)% telnet he.net. 80 pr> Trying 2001:470:0:76::2... pr> Connected to he.net. pr> Escape character is '^]'. pr> ^]^D pr> telnet> Connection closed. pr> pr> It's my understanding that by leaving ip6addrctl_policy as AUTO will pr> only prefer IPv6 if ipv6_enable_all_interfaces is set to YES, which it pr> is in my /etc/rc.conf. However, it appears that this never resulted in pr> ip6addrctl_prefer_ipv6 being called from /etc/rc.d/ip6addrctl. Maybe pr> I'm reading this wrong ... It is ipv6_activate_all_interfaces, not ipv6_enable_all_interfaces. If YES, AUTO (the default value) will set it as ipv6_prefer automatically. -- Hiroki ----Security_Multipart(Tue_Oct_15_06_07_54_2013_493)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iEYEABECAAYFAlJcXSoACgkQTyzT2CeTzy1MAwCgnzjWXmSoHdmrvAXk+FZVeyUo 8/kAoLOJvpROPd17oRp0nUgz3AiVyjdu =g9n9 -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Oct_15_06_07_54_2013_493)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131015.060754.1615183637061250094.hrs>