From owner-freebsd-current@FreeBSD.ORG Mon Apr 5 14:35:23 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 413DF1065670; Mon, 5 Apr 2010 14:35:23 +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 41C7B8FC1A; Mon, 5 Apr 2010 14:35:22 +0000 (UTC) Received: from delta.allbsd.org (p3177-ipbf416funabasi.chiba.ocn.ne.jp [123.225.92.177]) (authenticated bits=128) by mail.allbsd.org (8.14.3/8.14.3) with ESMTP id o35EYu8s027455; Mon, 5 Apr 2010 23:35:07 +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 o35EYpJ4000487; Mon, 5 Apr 2010 23:34:54 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Mon, 05 Apr 2010 23:33:58 +0900 (JST) Message-Id: <20100405.233358.119402511.hrs@allbsd.org> To: jhay@meraka.org.za From: Hiroki Sato In-Reply-To: <20100405083056.GA8863@zibbi.meraka.csir.co.za> References: <4BB7E224.6020508@FreeBSD.org> <20100405.144252.55944627.hrs@allbsd.org> <20100405083056.GA8863@zibbi.meraka.csir.co.za> 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(Mon_Apr__5_23_33_58_2010_468)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 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]); Mon, 05 Apr 2010 23:35:14 +0900 (JST) X-Spam-Status: No, score=0.3 required=13.0 tests=AWL,CONTENT_TYPE_PRESENT, SPF_SOFTFAIL,X_MAILER_PRESENT autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gatekeeper.allbsd.org Cc: freebsd-current@FreeBSD.org, dougb@FreeBSD.org Subject: Re: ipv6_enable 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: Mon, 05 Apr 2010 14:35:23 -0000 ----Security_Multipart(Mon_Apr__5_23_33_58_2010_468)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit John Hay wrote in <20100405083056.GA8863@zibbi.meraka.csir.co.za>: jh> These questions actually start more questions for me. :-) Maybe we should jh> also think from the user perspective and list a few use cases and what a jh> user need to put in rc.conf to make that work? jh> jh> Your normal desktop/notebook user on a ipv6 radv network, what does he jh> need to do to have his machine ipv6 usable? Given that it is 9-CURRENT and the box has 1 NIC (fxp0), add the following line to rc.conf: ifconfig_fxp0_ipv6="accept_rtadv" jh> A network server that does not accept radv, what should its ipv6 config jh> in rc.conf look like? ifconfig_fxp0_ipv6="inet6 2001:db8:1::1/64" jh> What about a server that accept radv (so that it can get router info) jh> and have fixed addresses for it services? ifconfig_fxp0_ipv6="inet6 2001:db8:1::1/64 accept_rtadv" jh> A router kind of box, what should it look like? Given that the box has 2 NICs (fxp0 and fxp1), add the following lines to rc.conf: ipv6_gateway_enable="YES" ifconfig_fxp0_ipv6="inet6 2001:db8:1::1/64" ifconfig_fxp1_ipv6="inet6 2001:db8:2::1/64" And, no ifconfig_IF_ipv6 line means no IPv6 configuration for the IF. After my changes committed last September, the existence of ifconfig_IF_ipv6 is used as a flag for whether IPv6 is enable or not on that interface. -- Hiroki ----Security_Multipart(Mon_Apr__5_23_33_58_2010_468)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAku59NYACgkQTyzT2CeTzy2MswCeKSh3MG1l3UIhCDTERU3rmbFy GuwAoN4z2snV9rCiaGawfiYpTdRcIg8l =Aoyt -----END PGP SIGNATURE----- ----Security_Multipart(Mon_Apr__5_23_33_58_2010_468)----