From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 18:33:27 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 4EE1316A41F for ; Sun, 25 Dec 2005 18:33:27 +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 F25B243D6E for ; Sun, 25 Dec 2005 18:33:24 +0000 (GMT) (envelope-from dan@langille.org) Received: from localhost (localhost [205.150.199.217]) by m21.unixathome.org (Postfix) with ESMTP id 574ADC36A; Sun, 25 Dec 2005 13:33:24 -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 13374-02; Sun, 25 Dec 2005 13:33:21 -0500 (EST) Received: from bast.unixathome.org (bast.unixathome.org [70.26.229.230]) by m21.unixathome.org (Postfix) with ESMTP id 1FF8CBF58; Sun, 25 Dec 2005 13:33:21 -0500 (EST) Received: from [10.55.0.99] (wocker.unixathome.org [10.55.0.99]) by bast.unixathome.org (Postfix) with ESMTP id CD6A93D3B; Sun, 25 Dec 2005 13:33:20 -0500 (EST) From: "Dan Langille" To: Ariff Abdullah Date: Sun, 25 Dec 2005 13:33:20 -0500 MIME-Version: 1.0 Message-ID: <43AE9FA0.20947.8E03359@dan.langille.org> Priority: normal In-reply-to: <20051225150516.74155b06.skywizard@MyBSD.org.my> References: <43ADBC0C.23308.5673D21@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: Sun, 25 Dec 2005 18:33:27 -0000 On 25 Dec 2005 at 15:05, Ariff Abdullah wrote: > On Sat, 24 Dec 2005 21:22:20 -0500 > "Dan Langille" wrote: > > 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" > > > > Thanks. > > > > I wanted to run rtadvd for the boxes inside the LAN. That ensure > > they get an address in the right range (AFAIK). > > > For this simple configuration, you don't even need rtadvd.conf. Adding > anyprefix/64 address to router interface and running rtadvd -D > router_interface will do the job. man rtadvd shows that -D is debugging. $ grep rtad /etc/rc.conf rtadvd_enable="YES" # let our LAN know the IPv6 default route rtadvd_interfaces="fxp1" # our private LAN I can't try it yet, but it looks like removing /etc/rtadvd.conf may do the trick. Merry Christmas. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/