From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 19:00:02 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 3124616A41F for ; Sat, 24 Dec 2005 19:00:02 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88F6943D45 for ; Sat, 24 Dec 2005 19:00:01 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 0179E6CC23; Sun, 25 Dec 2005 03:05:40 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (TOMOYO.MYBSD.ORG.MY [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 62259-06; Sun, 25 Dec 2005 03:05:37 +0800 (MYT) Received: from misaki (misaki.MyBSD.org.my [IPv6:2001:328:2002:aa2:2c0:9fff:fed9:9e1d]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id D3A346CC22; Sun, 25 Dec 2005 03:05:34 +0800 (MYT) Date: Sun, 25 Dec 2005 02:59:34 +0800 From: Ariff Abdullah To: "Dan Langille" Message-Id: <20051225025934.2455a5a3.skywizard@MyBSD.org.my> In-Reply-To: <43AD4124.6711.387213B@dan.langille.org> References: <43AD4124.6711.387213B@dan.langille.org> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Amavisd AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY 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: Sat, 24 Dec 2005 19:00:02 -0000 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" > > The workstation inside the LAN has the config shown in [2]. > > Checking via tcpdump on the gateway, I can see pings from the client > > hitting the internal NIC (fxp1) and going out the IPv6 tunnel > (gif0). > > In case I've missed something about setting up the tunnel, the > details are [3]. > > Suggestions, comments, thanks. > > [1] Gateway - > [2] Client - > [3] Tunnel - -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)