From owner-freebsd-current Sun Mar 12 17:21:18 2000 Delivered-To: freebsd-current@freebsd.org Received: from fgwmail5.fujitsu.co.jp (fgwmail5.fujitsu.co.jp [192.51.44.35]) by hub.freebsd.org (Postfix) with ESMTP id 57C1937BC96 for ; Sun, 12 Mar 2000 17:21:15 -0800 (PST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from m3.gw.fujitsu.co.jp by fgwmail5.fujitsu.co.jp (8.9.3/3.7W-MX0002-Fujitsu Gateway) id KAA20557; Mon, 13 Mar 2000 10:21:13 +0900 (JST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from chisato.nd.net.fujitsu.co.jp by m3.gw.fujitsu.co.jp (8.9.3/3.7W-0002-Fujitsu Domain Master) id KAA06092; Mon, 13 Mar 2000 10:21:12 +0900 (JST) Received: from localhost (dhcp7173.nd.net.fujitsu.co.jp [10.18.7.173]) by chisato.nd.net.fujitsu.co.jp (8.8.5+2.7Wbeta5/3.3W8chisato-970826) with ESMTP id KAA16566; Mon, 13 Mar 2000 10:21:11 +0900 (JST) To: fido@yaahoo.yi.org Cc: dcs@newsguy.com, freebsd-current@FreeBSD.ORG Subject: Re: IPv6 setup... In-Reply-To: References: <38CBD80F.922815CE@newsguy.com> 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: <20000313102208Z.shin@nd.net.fujitsu.co.jp> Date: Mon, 13 Mar 2000 10:22:08 +0900 From: Yoshinobu Inoue X-Dispatcher: imput version 990905(IM130) Lines: 54 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > OK, > What is the correct one?? > > How do I calulate the IP from IPv6, what is the formula? > oh The IPv4 I want to use is 24.113.25.85 and 24.113.130.83 Are you tring to do multihoming? Then things might be more complicated. Let's forget the 2nd IPv4 addr for simplicity, now. If your addr is 24.113.25.85, and you have updated your source, and your /etc dir, then I think you can setup your 6to4 interface by specifying rc.conf entry. If following entry is added to /etc/rc.conf, and system rebooted, stf_interface_ipv4addr="24.113.25.85" then I expect your stf interface to be collectly setup. The result and the 6to4 prefix can be check by "ifconfig stf0". And if you want to check 6to4 prefix for some IPv4 addr without doing 6to4 interface configuration, please try following command. echo 24.113.25.85 | sed -e s/"\."/" "/g | awk '{$5 = $1*256 + $2; $6 = $3*256 + $4; printf "2002:%x:%x:\n", $5, $6}' Then it will print out first 6byte for your 6to4 prefix. And then let's talk about 2 IPv4 addr issue. Do you want to setup 2 6to4 interface on same host? Unfortunately, current implementation don't support it. If you have 2 separate machine, then each host can setup 6to4 interface. But there will be another general multihoming issue. -Which 6to4 interface should be choosed for outgoing connection, from your site to outside. -Which source addr(source prefix) should be choosed for outgoing connection. (because there will be 2 different 6to4 prefixes.) -Which internal routes should be announced to which interface. (because there will be 2 different 6to4 prefix routes.) -Do packets for a connection traverse same 6to4 interface for outgoing case and incoming case? etc. Cheers, Yoshinobu Inoue To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message