ipv6 routing

Dan Langille dan at langille.org
Fri Oct 1 03:25:38 UTC 2010


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]: <getconfig> 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_update> RA timer on fxp1 is set to 16:0
rtadvd[33958]: <main> set timer to 15:998571. waiting for inputs or timeout
rtadvd[33958]: <main> set timer to 0:4276. waiting for inputs or timeout
rtadvd[33958]: <ra_timeout> RA timer on fxp1 is expired
rtadvd[33958]: <ra_output> send RA on fxp1, # of waitings = 0
rtadvd[33958]: <ra_timer_update> RA timer on fxp1 is set to 16:0
rtadvd[33958]: <main> set timer to 16:0. waiting for inputs or timeout
rtadvd[33958]: <ra_input> RA received from 2001:470:1f07:b80::1 on fxp1
rtadvd[33958]: <main> 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/


More information about the freebsd-net mailing list