Date: Fri, 1 Oct 2010 08:13:23 -0400 From: "Dan Langille" <dan@langille.org> To: "Hiroki Sato" <hrs@FreeBSD.org> Cc: freebsd-net@freebsd.org, dan@langille.org Subject: Re: ipv6 routing 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, October 1, 2010 5:38 am, Hiroki Sato wrote: > Dan Langille <dan@langille.org> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=9<RXCSUM,VLAN_MTU> 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<PERFORMNUD,ACCEPT_RTADV> media: Ethernet autoselect (100baseTX <full-duplex>) status: active > > Dan Langille <dan@langille.org> 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 <dan@langille.org> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC> 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<PERFORMNUD,ACCEPT_RTADV> media: Ethernet autoselect (100baseTX <full-duplex>) 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0a85d5595ffdc548668406d3e87621c2.squirrel>