nd6 change and rc.d/network_ipv6 -> rc.d/netif integration
hrs at FreeBSD.org
Mon Oct 5 22:09:37 UTC 2009
Dag-Erling Smørgrav <des at des.no> wrote
in <8663atv9dz.fsf at ds4.des.no>:
de> Hiroki Sato <hrs at FreeBSD.org> writes:
de> > No, the rc.conf(5) has been updated in r197526:
de> > ipv6_enable
de> > (bool) If the variable is ``YES'', ``inet6 accept_rtadv'' is
de> > added to all of ifconfig_<interface>_ipv6 and the ipv6_prefer
de> > is defined as ``YES''.
de> > This variable is deprecated. Use ipv6_prefer and
de> > ifconfig_<interface>_ipv6.
de> Still not very helpful.
de> If I install FreeBSD from a release CD and use the GENERIC kernel and do
de> *not* want to use IPv6, what do I do?
de> Please don't answer "compile a custom kernel".
It depends on the definition of "use", but the answer is "do not put
any $ifconfig_IF_ipv6 or $ipv6_prefer to your rc.conf". If so, IPv6
will be "disabled" (including communication using link-local
addresses) on all of interfaces except lo0. It is the default
I do not think this means "IPv6 is disabled by default". By adding
an IPv6 address by using ifconfig(8) after boot you can still use
IPv6 on that interface. This is almost the same as IPv4 does. When
I do not want to use IPv4, I do not put any IPv4 addresses to
Strictly speaking the address ::1/128 on lo0 cannot be removed
because it is assigned by the kernel itself unlike IPv4's 127.0.0.1,
so you can use the loopback address without knowing it. If you do
not want to use it, you can disable IPv6 on lo0 manually by "ifconfig
lo0 inet6 ifdisabled". Anyway, the existence of this loopback
address has not been changed for a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20091005/ed798d49/attachment.pgp
More information about the freebsd-current