From owner-freebsd-current Sat Mar 11 13:28:25 2000 Delivered-To: freebsd-current@freebsd.org Received: from fgwmail6.fujitsu.co.jp (fgwmail6.fujitsu.co.jp [192.51.44.36]) by hub.freebsd.org (Postfix) with ESMTP id CDE6137B815 for ; Sat, 11 Mar 2000 13:28:21 -0800 (PST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from m1.gw.fujitsu.co.jp by fgwmail6.fujitsu.co.jp (8.9.3/3.7W-MX0002-Fujitsu Gateway) id GAA25676; Sun, 12 Mar 2000 06:27:41 +0900 (JST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from incapgw.fujitsu.co.jp by m1.gw.fujitsu.co.jp (8.9.3/3.7W-0002-Fujitsu Domain Master) id GAA21636; Sun, 12 Mar 2000 06:27:41 +0900 (JST) Received: from localhost ([192.168.245.70]) by incapgw.fujitsu.co.jp (8.9.3/3.7W-0002) id GAA23837; Sun, 12 Mar 2000 06:27:39 +0900 (JST) To: fido@yaahoo.yi.org Cc: freebsd-current@FreeBSD.ORG Subject: Re: IPv6 setup... In-Reply-To: References: X-Mailer: Mew version 1.94 on Emacs 20.4 / Mule 4.0 (HANANOEN) X-Prom-Mew: Prom-Mew 1.93.4 (procmail reader for Mew) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000312062833V.shin@nd.net.fujitsu.co.jp> Date: Sun, 12 Mar 2000 06:28:33 +0900 From: Yoshinobu Inoue X-Dispatcher: imput version 990905(IM130) Lines: 49 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I believe I'm looking for a public IPv6 address to use for testing > purposes. So where/what addresses can I use is my question. > then how I intergrate that into my setup. > > Hope that makes the question more clearer. > Thanks OK, then I think you should try 6to4 addr. The format is like below. 2002 your IPv4 addr site prefix interface ID 2byte 4byte 2byte 8byte You need to choose one of your own IPv4 addr which is reachable from internet. Site prefix part is 2byte. This means you can have 65535 IPv6 subnets. If your IPv4 address is 1.2.3.4, then your IPv6 address blocks will be, 2002:0102:0304:0000-ffff::/64 Then you can assign each IPv6 prefix to each of your subnets, like prefix ed0 2002:0102:0304:0000:: prefix ed1 2002:0102:0304:0001:: etc... And you need to setup 6to4 outer interface on the router which is reachable form internet. That is just committed yesterday, so you need to cvs update your source, and rebuild your kernel. The necessary procedure is below. (I suppose your IPv4 addr is 1.2.3.4) gifconfig stf0 1.2.3.4 255.255.255.255 ifconfig stf0 inet6 2002:0102:0304::1 -prefix 16 I think you should setup ip6fw entries for "stf0" interface for security reasons. About more details for 6to4, please check draft-ietf-ngtrans-6to4-0x.txt Cheers, Yoshinobu Inoue To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message