Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Oct 2009 07:07:14 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        des@des.no
Cc:        freebsd-current@FreeBSD.org, freebsd-rc@FreeBSD.org
Subject:   Re: nd6 change and rc.d/network_ipv6 -> rc.d/netif integration
Message-ID:  <20091006.070714.233607520.hrs@allbsd.org>
In-Reply-To: <8663atv9dz.fsf@ds4.des.no>
References:  <86my45vhlj.fsf@ds4.des.no> <20091006.045043.187164797.hrs@allbsd.org> <8663atv9dz.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Tue_Oct__6_07_07_14_2009_906)--
Content-Type: Text/Plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Dag-Erling Sm=F8rgrav <des@des.no> wrote
  in <8663atv9dz.fsf@ds4.des.no>:

de> Hiroki Sato <hrs@FreeBSD.org> writes:
de> > No, the rc.conf(5) has been updated in r197526:
de> >
de> >      ipv6_enable
de> >                  (bool) If the variable is ``YES'', ``inet6 accep=
t_rtadv'' is
de> >                  added to all of ifconfig_<interface>_ipv6 and th=
e ipv6_prefer
de> >                  is defined as ``YES''.
de> >
de> >                  This variable is deprecated.  Use ipv6_prefer an=
d
de> >                  ifconfig_<interface>_ipv6.
de> =

de> Still not very helpful.
de> =

de> If I install FreeBSD from a release CD and use the GENERIC kernel a=
nd do
de> *not* want to use IPv6, what do I do?
de> =

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
 behavior now.

 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
 $ifconfig_IF.

 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.

-- Hiroki

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

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

iEYEABECAAYFAkrKbhIACgkQTyzT2CeTzy2PLwCgzqxq1QeRWzxOraPLRqJ0MH4M
+osAn25+WBBnoJRbzp7LQ20XJC1hvIIB
=SYvh
-----END PGP SIGNATURE-----

----Security_Multipart(Tue_Oct__6_07_07_14_2009_906)----



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