From owner-freebsd-net@FreeBSD.ORG Fri Oct 1 12:13:24 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 6F5441065673 for ; Fri, 1 Oct 2010 12:13:24 +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 416428FC18 for ; Fri, 1 Oct 2010 12:13:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 8D2C6509A5; Fri, 1 Oct 2010 13:13:23 +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 VDptX19Pq+iy; Fri, 1 Oct 2010 13:13:23 +0100 (BST) Received: from nyi.unixathome.org (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id A4284509A3; Fri, 1 Oct 2010 13:13:22 +0100 (BST) Received: from 68.64.144.221 (SquirrelMail authenticated user dan) by nyi.unixathome.org with HTTP; Fri, 1 Oct 2010 08:13:23 -0400 Message-ID: <0a85d5595ffdc548668406d3e87621c2.squirrel@nyi.unixathome.org> In-Reply-To: <20101001.183805.53791271.hrs@allbsd.org> References: <4CA55041.7040001@langille.org> <20101001.183805.53791271.hrs@allbsd.org> Date: Fri, 1 Oct 2010 08:13:23 -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, dan@langille.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:13:24 -0000 On Fri, October 1, 2010 5:38 am, Hiroki Sato wrote: > Dan Langille wrote > in <4CA55041.7040001@langille.org>: > > da> # cat /etc/rtadvd.conf > da> fxp1:\ > da> :addrs#1:addr="2001:470:1f07:b80::":prefixlen#64:tc=ether: > > In this case, you do not need rtadvd.conf. The command line "rtadvd > fxp1" should work fine. I have removed the .conf and restarted rtadvd > da> Where: fxp1 is on my internal LAN which has 2001:470:1f07:b80::1 as an > da> IP address. (you should be able to ping6 that). > > Can you show the results of "ifconfig fxp1"? # 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 nd6 options=3 media: Ethernet autoselect (100baseTX ) status: active > > Dan Langille wrote > in <4CA55725.10007@langille.org>: > > da> After I issued this command on the server: > da> > da> # route -n add -inet6 2001:470:1f07:b80::/64 -interface fxp1 > da> add net 2001:470:1f07:b80::/64: gateway fxp1 > > I do not think this is needed if you did "ifconfig fxp1 inet6 > 2001:470:1f07:b80::1/64". > > Dan Langille wrote > in <4CA56123.2030304@langille.org>: > > da> However, clients on my LAN are unable to get any IPv6 routing > da> information despite having ipv6_enable="YES" in /etc/rc.conf. > > What is displayed when entering the following commands? > > # ifconfig em0 > # sysctl net.inet6.ip6.accept_rtadv # 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 nd6 options=3 media: Ethernet autoselect (100baseTX ) status: active # sysctl net.inet6.ip6.accept_rtadv net.inet6.ip6.accept_rtadv: 1 This is after running netsol em0 -- Dan Langille -- http://langille.org/