From owner-freebsd-net@FreeBSD.ORG Fri Oct 1 12:47:09 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 E709210656A7; Fri, 1 Oct 2010 12:47:08 +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 9CF2D8FC08; Fri, 1 Oct 2010 12:47:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 1CD5C509A5; Fri, 1 Oct 2010 13:47:08 +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 TI14hTFyOd2V; Fri, 1 Oct 2010 13:47:07 +0100 (BST) Received: from nyi.unixathome.org (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 33A5A509A3; Fri, 1 Oct 2010 13:47:07 +0100 (BST) Received: from 68.64.144.221 (SquirrelMail authenticated user dan) by nyi.unixathome.org with HTTP; Fri, 1 Oct 2010 08:47:07 -0400 Message-ID: <568354c2dd7591fe54cb183ec92c55b1.squirrel@nyi.unixathome.org> In-Reply-To: <20101001.213107.204806220.hrs@allbsd.org> References: <4CA55041.7040001@langille.org> <20101001.183805.53791271.hrs@allbsd.org> <0a85d5595ffdc548668406d3e87621c2.squirrel@nyi.unixathome.org> <20101001.213107.204806220.hrs@allbsd.org> Date: Fri, 1 Oct 2010 08:47:07 -0400 From: "Dan Langille" To: "Hiroki Sato" User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-net@freebsd.org Subject: Re: 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 12:47:09 -0000 On Fri, October 1, 2010 8:31 am, Hiroki Sato wrote: > "Dan Langille" wrote > in <0a85d5595ffdc548668406d3e87621c2.squirrel@nyi.unixathome.org>: > > da> > Can you show the results of "ifconfig fxp1"? > da> > da> # ifconfig fxp1 > da> fxp1: flags=8843 metric 0 mtu > 1500 > da> options=9 > da> ether 00:04:ac:d3:70:12 > da> inet 10.55.0.1 netmask 0xffffff00 broadcast 10.55.0.255 > da> inet6 2001:470:1f07:b80::1 prefixlen 64 > da> nd6 options=3 > da> media: Ethernet autoselect (100baseTX ) > da> status: active > > The fxp1 should have "inet6 fe80::0204:acff:fed3:7012%fxp1 prefixlen > 64" here. [root@bast:~] # ifconfig fxp1 inet6 fe80::0204:acff:fed3:7012%fxp1 prefixlen 64 [root@bast:~] # ifconfig fxp1 fxp1: flags=8843 metric 0 mtu 1500 options=9 ether 00:04:ac:d3:70:12 inet 10.55.0.1 netmask 0xffffff00 broadcast 10.55.0.255 inet6 2001:470:1f07:b80::1 prefixlen 64 inet6 fe80::204:acff:fed3:7012%fxp1 prefixlen 64 scopeid 0x2 nd6 options=3 media: Ethernet autoselect (100baseTX ) status: active > Do you set ipv6_enable="YES" in rc.conf on the router box? If not, > the fe80:: address is not automatically added, and probably you will > have trouble in IPv6 configuration in various ways. Yes, it is there. I suspect the address was removed when I was working on this late Thursday night. # grep ipv6_enable /etc/rc.conf ipv6_enable="YES" Ahhh! [root@bast:~] # /etc/rc.d/rtadvd restart Stopping rtadvd. Waiting for PIDS: 98221. Starting rtadvd. [root@bast:~] # ifconfig fxp1 fxp1: flags=8843 metric 0 mtu 1500 options=9 ether 00:04:ac:d3:70:12 inet 10.55.0.1 netmask 0xffffff00 broadcast 10.55.0.255 inet6 2001:470:1f07:b80::1 prefixlen 64 inet6 fe80::204:acff:fed3:7012%fxp1 prefixlen 64 scopeid 0x2 nd6 options=3 media: Ethernet autoselect (100baseTX ) status: active [root@bast:~] # [root@kraken ~]# rtsol em0 [root@kraken ~]# ifconfig em0 em0: flags=8843 metric 0 mtu 1500 options=219b ether 00:1b:21:51:ab:2d inet 10.55.0.44 netmask 0xffffff00 broadcast 10.55.0.255 inet6 fe80::21b:21ff:fe51:ab2d%em0 prefixlen 64 scopeid 0x1 inet6 2001:470:1f07:b80:21b:21ff:fe51:ab2d prefixlen 64 autoconf nd6 options=3 media: Ethernet autoselect (100baseTX ) status: active [root@kraken ~]# $ ping6 ipv6.google.com PING6(56=40+8+8 bytes) 2001:470:1f07:b80:21b:21ff:fe51:ab2d --> 2001:4860:800f::63 16 bytes from 2001:4860:800f::63, icmp_seq=0 hlim=57 time=23.122 ms 16 bytes from 2001:4860:800f::63, icmp_seq=1 hlim=57 time=22.188 ms 16 bytes from 2001:4860:800f::63, icmp_seq=2 hlim=57 time=20.816 ms ^C --- ipv6.l.google.com ping6 statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 20.816/22.042/23.122/0.947 ms Thank you for your help. I appreciate it. :) -- Dan Langille -- http://langille.org/