nd6 change and rc.d/network_ipv6 -> rc.d/netif integration

Dag-Erling Smørgrav des at des.no
Mon Oct 5 18:25:24 UTC 2009


Hiroki Sato <hrs at FreeBSD.org> writes:
> John Hay <jhay at meraka.org.za> writes:
> > Is there a good reason why we still ship with ipv6 off by default?
> What do you mean by "off by default"?  I think IPv6 is not disabled by
> default with the patch.

% ident /usr/src/etc/defaults/rc.conf 
/usr/src/etc/defaults/rc.conf:
     $FreeBSD: head/etc/defaults/rc.conf 197619 2009-09-29 16:49:10Z dougb $
% grep ipv6_network_interfaces /usr/src/etc/defaults/rc.conf
ipv6_network_interfaces="none"	# List of IPv6 network interfaces
#ipv6_network_interfaces="ed0 ep0"	# Examples for router
% grep ipv6_prefer /usr/src/etc/defaults/rc.conf 
ipv6_prefer="NO"	# Use IPv6 when both IPv4 and IPv6 can be used

Does mean that IPv6 is disabled by default?  Who knows?  There is no
coherent explanation *anywhere* of what these variables mean, and
rc.conf(5) does not mention them at all.  In fact, the first hit for
"ipv6" in rc.conf(5) is this:

     ipv6_enable
                 (bool) Enable support for IPv6 networking.  Note that this
                 requires that the kernel has been compiled with options
                 INET6.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-rc mailing list