svn commit: r238622 - head/etc/rc.d
Hiroki Sato
hrs at FreeBSD.org
Fri Aug 3 05:29:19 UTC 2012
John Hay <jhay at meraka.org.za> wrote
in <20120803042301.GA78461 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20120803/060eb95b/attachment.pgp
More information about the svn-src-all
mailing list