ipv6 routing

Dan Langille dan at langille.org
Fri Oct 1 12:13:24 UTC 2010


On Fri, October 1, 2010 5:38 am, Hiroki Sato wrote:
> Dan Langille <dan at langille.org> wrote
>   in <4CA55041.7040001 at 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 at langille.org> wrote
>   in <4CA55725.10007 at 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 at langille.org> wrote
>   in <4CA56123.2030304 at 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/



More information about the freebsd-net mailing list