Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2012 08:09:56 +0200
From:      John Hay <jhay@meraka.org.za>
To:        Hiroki Sato <hrs@FreeBSD.org>
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:  <20120803060955.GB78461@zibbi.meraka.csir.co.za>
In-Reply-To: <20120803.142847.874617321595545142.hrs@allbsd.org>
References:  <CAFPOs6pM8qrR72kOtZzO90wYembNrtzw7=ig-NSfudJZA7bp6Q@mail.gmail.com> <20120803.124305.1981901625663633450.hrs@allbsd.org> <20120803042301.GA78461@zibbi.meraka.csir.co.za> <20120803.142847.874617321595545142.hrs@allbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 03, 2012 at 02:28:47PM +0900, Hiroki Sato wrote:
> 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.
> 

I would be happy with ipv6_prefer if the kernel has INET6 in.

I wish IPv6 on FreeBSD was even more automatic, though. :-)

I can give a recent use case. Last weekend after a lot of preparation
a university turned on IPv6 on the whole campus, dorms included. The
next morning 30-50% of their traffic was IPv6. The reason being that
MS Windows just worked. They are very happy because they do not have
to start an extra drive to get the students to turn on IPv6 on their
machines. :-)

John
-- 
John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org



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