From owner-freebsd-rc@FreeBSD.ORG Thu Jul 28 17:35:26 2011 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 D89C9106564A for ; Thu, 28 Jul 2011 17:35:26 +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 3DE838FC13 for ; Thu, 28 Jul 2011 17:35:26 +0000 (UTC) Received: from alph.allbsd.org (p3028-ipbf608funabasi.chiba.ocn.ne.jp [125.175.94.28]) (authenticated bits=128) by mail.allbsd.org (8.14.4/8.14.4) with ESMTP id p6SHZ4RH082427; Fri, 29 Jul 2011 02:35:14 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.14.4/8.14.4) with ESMTP id p6SHZ12h015118; Fri, 29 Jul 2011 02:35:03 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Fri, 29 Jul 2011 02:33:51 +0900 (JST) Message-Id: <20110729.023351.373072871938285624.hrs@allbsd.org> To: TERRY@tmk.com From: Hiroki Sato In-Reply-To: <01O465OEXSGK000QBQ@tmk.com> References: <01O465OEXSGK000QBQ@tmk.com> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Fri_Jul_29_02_33_51_2011_945)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97 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]); Fri, 29 Jul 2011 02:35:18 +0900 (JST) X-Spam-Status: No, score=-102.4 required=13.0 tests=BAYES_00, CONTENT_TYPE_PRESENT, DIRECTOCNDYN, QENCPTR1, RCVD_IN_RP_RNBL, SPF_SOFTFAIL, USER_IN_WHITELIST autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on gatekeeper.allbsd.org Cc: freebsd-rc@FreeBSD.org Subject: Re: What is the rc.conf syntax for /etc/rc.d/ip6addrctl's "prefer_ipv4" option? 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: Thu, 28 Jul 2011 17:35:26 -0000 ----Security_Multipart(Fri_Jul_29_02_33_51_2011_945)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Terry Kennedy wrote in <01O465OEXSGK000QBQ@tmk.com>: TE> I initially asked this over in networking in the FreeBSD forums, but it TE> was suggested I ask here, since this seems to be where a bunch of discussion TE> about this particular topic has appeared in the past. TE> TE> The system is 8-STABLE on amd64 of a week ago. Please look at my original TE> post on the FreeBSD Forums: http://forums.freebsd.org/showthread.php?t=25340 TE> TE> In brief, I've tried all of the following, one at a time, in rc.conf to TE> no effect: TE> TE> ip6addrctl_flags="prefer_ipv4" TE> ip6addrctl_policy="prefer_ipv4" TE> ipv6_prefer="NO" TE> ip6addrctl="prefer_ipv4" TE> TE> Again, please look at the discussion in the Forums for more background TE> on this, why it is needed, and the large set of changes in the etc/rc.d/ TE> ip6addrctl script version 1.11 that seem to change the way it handles this. The knob to select IPv4-preferred or IPv6-preferred in 8.X is $ipv6_enable. If you want IPv4-preferred with ipv6_enable=YES, please use /etc/ip6addrctl.conf. The $ip6addrctl_policy is one introduced in 9.X and later for selecting one of them independently from whether IPv6 is enabled or not. This variable is not supported in 8.X. -- Hiroki ----Security_Multipart(Fri_Jul_29_02_33_51_2011_945)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk4xnYAACgkQTyzT2CeTzy0z7wCfW+HqUaZC66CBQXL9FngEz5Rd qpYAn3HyLgegDVMxIsqrhUH/fBsobsll =ULb7 -----END PGP SIGNATURE----- ----Security_Multipart(Fri_Jul_29_02_33_51_2011_945)----