From owner-freebsd-current@FreeBSD.ORG Sun Oct 23 07:49:39 2011 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F356106566C; Sun, 23 Oct 2011 07:49:39 +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 C30E08FC15; Sun, 23 Oct 2011 07:49:37 +0000 (UTC) Received: from alph.allbsd.org ([IPv6:2001:2f0:104:e010:862b:2bff:febc:8956]) (authenticated bits=128) by mail.allbsd.org (8.14.4/8.14.4) with ESMTP id p9N7nJI7055101; Sun, 23 Oct 2011 16:49:29 +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 p9N7nCeP010360; Sun, 23 Oct 2011 16:49:16 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sun, 23 Oct 2011 16:48:48 +0900 (JST) Message-Id: <20111023.164848.1772538364295153252.hrs@allbsd.org> To: jhay@meraka.org.za From: Hiroki Sato In-Reply-To: <20111022193418.GA53988@zibbi.meraka.csir.co.za> References: <4EA23C08.6060906@FreeBSD.org> <20111022.161336.1708295810836213738.hrs@allbsd.org> <20111022193418.GA53988@zibbi.meraka.csir.co.za> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3.51 on Emacs 23.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sun_Oct_23_16_48_48_2011_639)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [IPv6:2001:2f0:104:e001::32]); Sun, 23 Oct 2011 16:49:34 +0900 (JST) X-Spam-Status: No, score=-104.6 required=13.0 tests=BAYES_00, CONTENT_TYPE_PRESENT, RDNS_NONE, 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: dougb@FreeBSD.org, current@FreeBSD.org Subject: Re: IPv6 accept_rtadv + bfe0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2011 07:49:39 -0000 ----Security_Multipart(Sun_Oct_23_16_48_48_2011_639)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit John Hay wrote in <20111022193418.GA53988@zibbi.meraka.csir.co.za>: jh> I can maybe just say, I have now upgraded various machines from 7.x or jh> 8.x to 9 and even though I have read the rc.conf manual I keep tripping jh> on the new IPv6 rc stuff. Various being client, server and router / jh> firewall. It looks like ipv6_prefix_IF now needs an ifconfig_IF_ipv6 = jh> "inet6 auto_linklocal" otherwise it is ignored. This is intentional because $ifconfig_IF_ipv6 is designed as per-interface version of the old $ipv6_enable. I added an explicit description about this to rc.conf(5). jh> In the rc.conf man page, in the ifconfig__ipv6 section, it is jh> suggested to use ifconfig__alias for aliases, but somewhere jh> else it says that that _alias is deprecated. What would be nice is jh> something like the ipv4_addrs_IF= variable. $ipv6_prefix_IF is the counterpart of $ipv4_addrs_IF. It is limited to /64 prefixes, though. I didn't notice it said ifconfig_IF_aliasN was deprecated. Although the man page explains the depreciation is due to a difficult behavior of _aliasN, if it is the reason, it is easy to support multiple lines in the variable like this: ifconfig_em0_aliases=" inet 192.168.0.1/32 inet 192.168.0.2/32 inet 192.168.0.3/32 " jh> The last paragraph in ifconfig__ipv6, about "inet6 accept_rtadv" jh> should probably be closer to the begining, with some added sentence to jh> make it clear that it is probably what the normal client machine needs. Moved it to just after a normal GUA configuration example in rc.conf(5). -- Hiroki ----Security_Multipart(Sun_Oct_23_16_48_48_2011_639)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk6jxuAACgkQTyzT2CeTzy2ACgCeMRIdE1NGf29C99vBD2qEGyLv 0bIAnix0ojc4HpHSuz18K6E2tpprK1WO =lUxV -----END PGP SIGNATURE----- ----Security_Multipart(Sun_Oct_23_16_48_48_2011_639)----