Subject: rtadvd problems
To: None <current-users@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: current-users
Date: 05/03/2006 15:32:21
Hi,

We are having problems getting an IPv6 address autoconfigured on our mobile
node's interface. The router is NetBSD/i386 3.99.18 and the MIPv6 mobile node is
Linux running USAGI's UMIP-0.1.

We captured some traffic with tcpdump and the dump [1] shows an unsolicited RA,
followed by few RS sent by the MN, and finally another unsolicited RA. As you
can see, the router is not sending any RA after receiving RS. If we use longer
intervals (like 1800 sec) the MN is without address quite some time until the
next unsolicited RA is received.

Any ideas why the NetBSD router is rejecting (or not doing anything based on)
these RS messages? Here's some debugging information after running "rtadvd -fD
pcn0" but there're no visible errors:


ROOT n118:~> /usr/src/usr.sbin/rtadvd/rtadvd -fD pcn0
rtadvd[878]: <get_prefix> add cafe:babe:dead:beef::/64 to prefix list on pcn0
rtadvd[878]: <ra_timer_update> RA timer on pcn0 is set to 6:0
rtadvd[878]: <main> set timer to 5:997311. waiting for inputs or timeout
rtadvd[878]: <ra_timeout> RA timer on pcn0 is expired
rtadvd[878]: <ra_output> send RA on pcn0, # of waitings = 0
rtadvd[878]: <ra_timer_update> RA timer on pcn0 is set to 5:0
rtadvd[878]: <main> set timer to 5:0. waiting for inputs or timeout
rtadvd[878]: <ra_input> RA received from fe80::20c:29ff:fefd:de1b on pcn0
rtadvd[878]: <main> set timer to 4:996648. waiting for inputs or timeout
rtadvd[878]: <rs_input> RS received from :: on pcn0
rtadvd[878]: <main> set timer to 2:650288. waiting for inputs or timeout
rtadvd[878]: <rs_input> RS received from :: on pcn0
rtadvd[878]: <main> set timer to 2:275430. waiting for inputs or timeout
rtadvd[878]: <rs_input> RS received from :: on pcn0
rtadvd[878]: <main> set timer to 1:899488. waiting for inputs or timeout
rtadvd[878]: <rs_input> RS received from :: on pcn0
rtadvd[878]: <main> set timer to 1:10441. waiting for inputs or timeout
rtadvd[878]: <ra_timeout> RA timer on pcn0 is expired
rtadvd[878]: <ra_output> send RA on pcn0, # of waitings = 4
rtadvd[878]: <ra_timer_update> RA timer on pcn0 is set to 8:0
rtadvd[878]: <main> set timer to 8:0. waiting for inputs or timeout
rtadvd[878]: <ra_input> RA received from fe80::20c:29ff:fefd:de1b on pcn0
rtadvd[878]: <main> set timer to 7:996966. waiting for inputs or timeout


[1] http://users.piuha.net/martti/tmp/rs

Martti