From owner-freebsd-net@FreeBSD.ORG Fri Oct 1 03:25:38 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46CBF1065670 for ; Fri, 1 Oct 2010 03:25:38 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1DDB58FC15 for ; Fri, 1 Oct 2010 03:25:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id AE79C509A5 for ; Fri, 1 Oct 2010 04:06:43 +0100 (BST) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jY9Bl5xjXBzO for ; Fri, 1 Oct 2010 04:06:43 +0100 (BST) Received: from smtp-auth.unixathome.org (smtp-auth.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) by nyi.unixathome.org (Postfix) with ESMTPSA id 750E5509A3 for ; Fri, 1 Oct 2010 04:06:43 +0100 (BST) Message-ID: <4CA55041.7040001@langille.org> Date: Thu, 30 Sep 2010 23:06:41 -0400 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ipv6 routing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2010 03:25:38 -0000 Hi folks, I'm setting up IPv6 at home. On the gateway, I can ping6 just fine. But not from within the LAN. I have: Routed /48: 2001:470:8a86::/48 Routed /64: 2001:470:1f07:b80::/64 On the gateway, I have this: # cat /etc/rtadvd.conf fxp1:\ :addrs#1:addr="2001:470:1f07:b80::":prefixlen#64:tc=ether: Where: fxp1 is on my internal LAN which has 2001:470:1f07:b80::1 as an IP address. (you should be able to ping6 that). Starting rtadvd I get: # /usr/sbin/rtadvd -dDf -c /etc/rtadvd.conf fxp1 rtadvd[33958]: fxp1 isn't defined in the configuration file or the configuration file doesn't exist. Treat it as default So why that message? And is it the cause of the 'no route to host' message below? rtadvd[33958]: RA timer on fxp1 is set to 16:0 rtadvd[33958]:
set timer to 15:998571. waiting for inputs or timeout rtadvd[33958]:
set timer to 0:4276. waiting for inputs or timeout rtadvd[33958]: RA timer on fxp1 is expired rtadvd[33958]: send RA on fxp1, # of waitings = 0 rtadvd[33958]: RA timer on fxp1 is set to 16:0 rtadvd[33958]:
set timer to 16:0. waiting for inputs or timeout rtadvd[33958]: RA received from 2001:470:1f07:b80::1 on fxp1 rtadvd[33958]:
set timer to 15:994315. waiting for inputs or timeout From a client on the LAN, I try this: $ ping6 ipv6.google.com ping6: UDP connect: No route to host From the same client (where em0 is the nic) $ netstat -nr -f inet6 | grep em0 fe80::%em0/64 link#1 U em0 fe80::21b:21ff:fe51:ab2d%em0 link#1 UHS lo0 ff01:1::/32 fe80::21b:21ff:fe51:ab2d%em0 U em0 ff02::%em0/32 fe80::21b:21ff:fe51:ab2d%em0 U em0 Can you see something I'm doing wrong? -- Dan Langille - http://langille.org/