Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Aug 2012 14:28:47 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        jhay@meraka.org.za
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, dougb@FreeBSD.org, emax@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r238622 - head/etc/rc.d
Message-ID:  <20120803.142847.874617321595545142.hrs@allbsd.org>
In-Reply-To: <20120803042301.GA78461@zibbi.meraka.csir.co.za>
References:  <CAFPOs6pM8qrR72kOtZzO90wYembNrtzw7=ig-NSfudJZA7bp6Q@mail.gmail.com> <20120803.124305.1981901625663633450.hrs@allbsd.org> <20120803042301.GA78461@zibbi.meraka.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Fri_Aug__3_14_28_47_2012_667)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

John Hay <jhay@meraka.org.za> wrote
  in <20120803042301.GA78461@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

----Security_Multipart(Fri_Aug__3_14_28_47_2012_667)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEABECAAYFAlAbYY8ACgkQTyzT2CeTzy2F6ACfR7DZj1cYRG19VMvXtv9Wj5g+
9EEAnRJNtUGyL5dDDc/l5LIvBVFlxNUS
=Temk
-----END PGP SIGNATURE-----

----Security_Multipart(Fri_Aug__3_14_28_47_2012_667)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120803.142847.874617321595545142.hrs>