I'm having a hard time getting Debian systems to play nicely with
radvd. Is it working for others?
I have radvd running on an openwrt, which is configured as in [1].
On an Debian unstable box, if I ifdown and ifup an interface, it only
sets the link-local address, ignoring radvd:
34: wlan0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qlen 1000
inet6 fe80::213:ceff:fec7:4626/64 scope link
valid_lft forever preferred_lft forever
tcpdump shows the communication with radvd shortly after the interface
comes up:
21:55:34.796154 IP6 fe80::213:ceff:fec7:4626 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28
21:55:34.948173 IP6 fe80::213:ceff:fec7:4626 > ff02::2: ICMP6, router solicitation, length 16
21:55:35.085425 IP6 fe80::20f:66ff:fe42:3aca > ff02::1: ICMP6, router advertisement, length 56
21:55:37.849156 IP 192.168.1.3.631 > 192.168.1.255.631: UDP, length 186
21:55:38.948360 IP6 fe80::213:ceff:fec7:4626 > ff02::2: ICMP6, router solicitation, length 16
21:55:39.077928 IP6 fe80::20f:66ff:fe42:3aca > ff02::1: ICMP6, router advertisement, length 56
radvdump looks ok (same as my radvd config file).
All the kernel has to say about it is "wlan0: no IPv6 routers present".
radvd seems to be the only problem in my configuration. Indeed, if I
manually configure ipv6 routing on the client, I can access ipv6 hosts
like www.kame.net, no problem. But no radvd autoconfiguration..
I've tried four different etch/unstable client systems, and all behaved
this way. I even saw the problem when using ipv6 in d-i. Then I tried a
Debian live CD[2], which worked fine with radvd. Then I rebooted my
laptop and it finally worked, but rebooting other boxes has not helped
them. So now I'm thuroughly puzzled.
One other thing I noticed is that at one point when I was trying d-i,
it got the address from radvd temporarily, but then seemed to lose it
when dhclient got a lease!
--
see shy jo
[1] opwnwrt configs:
root@gnat:~# cat /etc/radvd.conf
interface br0
{
AdvSendAdvert on;
prefix 2002:42a8:5abd::/64
{
AdvOnLink on;
AdvAutonomous on;
};
};
root@gnat:~# ifconfig br0
br0 Link encap:Ethernet HWaddr 00:0F:66:42:3A:CA
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: 2002:42a8:5abd::2/64 Scope:Global
inet6 addr: 2002:42a8:5abd:1234::1/64 Scope:Global
inet6 addr: fe80::20f:66ff:fe42:3aca/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3153 errors:0 dropped:0 overruns:0 frame:0
TX packets:2849 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:610550 (596.2 KiB) TX bytes:1000220 (976.7 KiB)
[2] http://live.debian.net/weekly-builds/20070226//i386/debian-live-etch-i386-standard.iso
Attachment:
signature.asc
Description: Digital signature