Date: Tue, 27 Dec 2005 20:58:49 -0500 From: "Dan Langille" <dan@langille.org> To: Ariff Abdullah <skywizard@MyBSD.org.my> Cc: freebsd-questions@freebsd.org Subject: Re: IPv6: routing on the local LAN Message-ID: <43B1AB09.2235.7054EC7@dan.langille.org> In-Reply-To: <20051225025934.2455a5a3.skywizard@MyBSD.org.my> References: <43AD4124.6711.387213B@dan.langille.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 25 Dec 2005 at 2:59, Ariff Abdullah wrote: > On Sat, 24 Dec 2005 12:37:56 -0500 > "Dan Langille" <dan@langille.org> wrote: > > Gidday folks, > > > > I have an IPv6 routing problem within my LAN behind the gateway. > > > > I have an IPv6 tunnel supplied by Hurricane Electric. The tunnel is > > > > setup and working. From my gateway I can access various IPv6 > > websites (e.g http://www.kame.net). I have enabled rtadvd(8) on my > > gateway. For the netstat, ifconfig, etc, see [1]. > > > > >From a computer inside my gateway, I cannot ping anything, not even > > > > > the gateway. I suspect it's because the routing tables are not > > being set up on the gateway. I expected the system to do that > > automatically. I also expected fxp0 to get an IPv6 address out of > > this. Did I guess wrong? I suspect that if I can get fxp0 on the > > gateway, all will be well. If not, I think Ineed to set up static > > routes. > > Add a single 2001:470:1F00:1979::/64 address each for both fxp0/1. You > don't even need rtadv.conf :) > > rc.conf:- > ipv6_ifconfig_fxp0="2001:470:1F00:1979::1/64" > ipv6_ifconfig_fxp1="2001:470:1F00:1979::2/64" Right you are! I just renamed /etc/rtadvd.conf to something else, rebooted the gateway, confirmed rtadvd was running, then I rebooted the workstation. It came back with: $ ifconfig fxp0 fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 10.55.0.23 netmask 0xffffff00 broadcast 10.55.0.255 inet6 fe80::204:acff:fed3:7823%fxp0 prefixlen 64 scopeid 0x1 inet6 2001:470:1f00:1979:204:acff:fed3:7823 prefixlen 64 autoconf ether 00:04:ac:d3:78:23 media: Ethernet autoselect (100baseTX <full-duplex>) status: active $ You suggested putting an IPv6 address on fxp0 (the NIC on my gateway that faces my ISP). Why? No IPv6 traffic should meet that NIC. It should all go out the tunnel on gif0. fxp1 is my LAN, so I can see why I need an IPv6 address there. Thank you. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43B1AB09.2235.7054EC7>