From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 01:58:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17CCF16A422 for ; Wed, 28 Dec 2005 01:58:58 +0000 (GMT) (envelope-from dan@langille.org) Received: from m21.unixathome.org (m21.unixathome.org [205.150.199.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BEEC43D5A for ; Wed, 28 Dec 2005 01:58:56 +0000 (GMT) (envelope-from dan@langille.org) Received: from localhost (localhost [205.150.199.217]) by m21.unixathome.org (Postfix) with ESMTP id 8C0CAC36F; Tue, 27 Dec 2005 20:58:55 -0500 (EST) Received: from m21.unixathome.org ([205.150.199.217]) by localhost (m21.unixathome.org [205.150.199.217]) (amavisd-new, port 10024) with ESMTP id 04759-10; Tue, 27 Dec 2005 20:58:51 -0500 (EST) Received: from bast.unixathome.org (bast.unixathome.org [70.26.229.230]) by m21.unixathome.org (Postfix) with ESMTP id B8E5FBF57; Tue, 27 Dec 2005 20:58:50 -0500 (EST) Received: from [10.55.0.99] (wocker.unixathome.org [10.55.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 6B6723D3B; Tue, 27 Dec 2005 20:58:50 -0500 (EST) From: "Dan Langille" To: Ariff Abdullah Date: Tue, 27 Dec 2005 20:58:49 -0500 MIME-Version: 1.0 Message-ID: <43B1AB09.2235.7054EC7@dan.langille.org> Priority: normal In-reply-to: <20051225025934.2455a5a3.skywizard@MyBSD.org.my> References: <43AD4124.6711.387213B@dan.langille.org> X-mailer: Pegasus Mail for Windows (4.31) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at unixathome.org Cc: freebsd-questions@freebsd.org Subject: Re: IPv6: routing on the local LAN X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2005 01:58:58 -0000 On 25 Dec 2005 at 2:59, Ariff Abdullah wrote: > On Sat, 24 Dec 2005 12:37:56 -0500 > "Dan Langille" 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 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 ) 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/