Subject: [IPv6] rtsol not getting ipv6 config from rtadvd
To: None <netbsd-help@netbsd.org>
From: Daniel Eggert <eggert@macvaerk.dtu.dk>
List: netbsd-help
Date: 06/17/2005 19:12:43
I've got rtadvd(8) running on my ipv6 router. My ipv6 runs rtsol(8),
but does not pick up the network configuration from the router. I'm
completely lost.
Here's the output from the router:
[router]# rtadvd -fD gem0
rtadvd[4791]: <getconfig> gem0 isn't defined in the configuration
file or the configuration file doesn't exist. Treat it as default
rtadvd[4791]: <get_prefix> add 3ffe:100:ff::/48 to prefix list on gem0
rtadvd[4791]: <ra_timer_update> RA timer on gem0 is set to 16:0
rtadvd[4791]: <main> set timer to 15.386860. waiting for inputs or
timeout
rtadvd[4791]: <rtmsg_input> received a routing message (type = 15,
len = 144)
rtadvd[4791]: <main> set timer to 12.458449. waiting for inputs or
timeout
rtadvd[4791]: <rtmsg_input> received a routing message (type = 14,
len = 84)
rtadvd[4791]: <main> set timer to 12.457757. waiting for inputs or
timeout
rtadvd[4791]: <rs_input> RS received from fe80::20d:93ff:fe42:a298 on
gem0
rtadvd[4791]: <main> set timer to 0.077775. waiting for inputs or
timeout
rtadvd[4791]: <ra_timeout> RA timer on gem0 is expired
rtadvd[4791]: <ra_output> send RA on gem0, # of waitings = 1
rtadvd[4791]: <ra_timer_update> RA timer on gem0 is set to 16:0
rtadvd[4791]: <main> set timer to 16.000000. waiting for inputs or
timeout
rtadvd[4791]: <ra_input> RA received from fe80::20a:27ff:feb4:67f4 on
gem0
rtadvd[4791]: <main> set timer to 15.998104. waiting for inputs or
timeout
And here's the output from the host:
[host]# rtsol -Da
rtsol: probing gem0
checking if gem0 is ready...
gem0 is ready
set timer for gem0 to 0:983456
New timer is 0:00983239
timer expiration on gem0, state = 1
send RS on gem0, whose state is 2
set timer for gem0 to 4:0
New timer is 4:00000623
received RA from fe80::20a:27ff:feb4:67f4 on gem0, state is 2
stop timer for gem0
there is no timer
But the host still is not configured:
[host]# ifconfig gem0
gem0:
flags=8b63<UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULT
ICAST> mtu 1500
address: 00:0d:93:42:a2:98
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 130.225.xxx.xxx netmask 0xffffffe0 broadcast
130.225.xxx.xxx
inet alias 130.225.xxx.xxx netmask 0xffffffe0 broadcast
130.225.xxx.xxx
inet6 fe80::20d:93ff:fe42:a298%gem0 prefixlen 64 scopeid 0x1
I hoped it would get an address within 3ffe:100:ff::/48 from rtadvd(8).
Thanks in advance for any input.
/Daniel