From owner-freebsd-rc@FreeBSD.ORG Mon Oct 5 22:09:37 2009 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12598106566B; Mon, 5 Oct 2009 22:09:37 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3DA9D8FC0A; Mon, 5 Oct 2009 22:09:36 +0000 (UTC) Received: from delta.allbsd.org (p4206-ipbf1902funabasi.chiba.ocn.ne.jp [114.146.107.206]) (authenticated bits=128) by mail.allbsd.org (8.14.3/8.14.3) with ESMTP id n95M9E6A087618; Tue, 6 Oct 2009 07:09:25 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (alph.allbsd.org [192.168.0.10]) (authenticated bits=0) by delta.allbsd.org (8.13.4/8.13.4) with ESMTP id n95M95pr071371; Tue, 6 Oct 2009 07:09:07 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Tue, 06 Oct 2009 07:07:14 +0900 (JST) Message-Id: <20091006.070714.233607520.hrs@allbsd.org> To: des@des.no From: Hiroki Sato 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> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.2.52 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Tue_Oct__6_07_07_14_2009_906)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.2 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [133.31.130.32]); Tue, 06 Oct 2009 07:09:28 +0900 (JST) Cc: freebsd-current@FreeBSD.org, freebsd-rc@FreeBSD.org Subject: Re: nd6 change and rc.d/network_ipv6 -> rc.d/netif integration X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 22:09:37 -0000 ----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 wrote in <8663atv9dz.fsf@ds4.des.no>: de> Hiroki Sato 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__ipv6 and th= e ipv6_prefer de> > is defined as ``YES''. de> > de> > This variable is deprecated. Use ipv6_prefer an= d de> > ifconfig__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)----