John Hay <j...@meraka.org.za> wrote in <20120803042301.ga78...@zibbi.meraka.csir.co.za>:
jh> While you guys are here, may I add a request that we go back to prefering jh> IPv6 when IPv6 addresses are enabled. That is the way it was from FBSD-4 jh> up to FBSD-8. 9 is a big POLA here. The world is past World IPv6 Launch jh> and I think people expect that if they configure IPv6 addresses, that jh> would be prefered. If you configure IPv6 addresses and do not want them jh> prefered, you are the odd one out and should have to do something. jh> jh> Otherwise when in the future are we going to change it? IPv4-preferred was chosen as the default because difference of the loopback performance was large. I am a big fun to make FreeBSD IPv6-capable by default and prefer IPv6, but the concern was a possible negative impact for people who are using only IPv4. So, can we change it for 10.X now? We cannot use "whether IPv6 address is configured" because ::1 is always configured in GENERIC kernel. The change will be "IPv6-preferred if the kernel has INET6 support". Preferring IPv6 addresses has needed a knob in rc.conf even in 4.x: 4.X: ipv6_enable="YES" ipv6_ifconfig_em0="2001:db8::1 prefixlen 64" 9.X and later: ip6addrctl_policy="ipv6_prefer" ifconfig_em0_ipv6="inet6 2001:db8::1 prefixlen 64" and if we change the default to ipv6_prefer, ip6addrctl_policy= line will be unnecessary. -- Hiroki
pgpASqapTsXDw.pgp
Description: PGP signature