[radvd-devel-l] radvd not responding to router solicitation?

Mark Smith radvd at 02a76c927861ca7413a122f2a73a0d37.nosense.org
Mon Apr 11 17:12:56 EDT 2011


Hi Thomas,

On Mon, 11 Apr 2011 22:55:32 +0200
Thomas Novin <thomas at xyz.pp.se> wrote:

> Hi
> 
> I'm using IPv6 in my lan for a couple of months now. Dual-stack so not
> very important for my clients.
> 
> I always get a note on the clients when connecting to a network that
> there is no IPv6 router on the network, why is this?
> 
> A log from a Ubuntu 10.10 system connecting with NetworkManager.
> 
> (Connecting to a WiFi-network starting with a un-configured wlan0 using
> nm-applet)
> 
> (Get's ipv4 DHCP via NetworkManager)
> 
> Mar 30 22:17:42 thonov-ubuntu kernel: [27531.008038] wlan0: no IPv6
> routers present
> 
> $ sudo tcpdump -i wlan0 -n icmp6
> tcpdump: verbose output suppressed, use -v or -vv for full protocol
> decode
> listening on wlan0, link-type EN10MB (Ethernet), capture size 65535
> bytes
> 22:17:32.069118 IP6 :: > ff02::1:ff51:a85b: ICMP6, neighbor
> solicitation, who has fe80::221:5cff:fe51:a85b, length 24
> 22:17:33.069125 IP6 fe80::221:5cff:fe51:a85b > ff02::2: ICMP6, router
> solicitation, length 16
> 22:17:37.081133 IP6 fe80::221:5cff:fe51:a85b > ff02::2: ICMP6, router
> solicitation, length 16
> 22:17:41.090222 IP6 fe80::221:5cff:fe51:a85b > ff02::2: ICMP6, router
> solicitation, length 16
> 
> On the server, radvd doesn't respond to these, quite the opposit I feel
> that it actually stops sending RA's for a while after seeing these
> packets.
> 
> $ ip addr show dev wlan0
> 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
> qlen 1000
>     link/ether 00:21:5c:51:a8:5b brd ff:ff:ff:ff:ff:ff
>     inet 10.0.0.39/24 brd 10.0.0.255 scope global wlan0
>     inet6 fe80::221:5cff:fe51:a85b/64 scope link 
>        valid_lft forever preferred_lft forever
> 
> Then after a while the server with radvd starts announcing again.
> 
> 22:27:39.393213 IP6 fe80::226:5aff:fe14:7ff3 > ff02::1: ICMP6, router
> advertisement, length 56
> 22:27:40.141101 IP6 :: > ff02::1:ff51:a85b: ICMP6, neighbor
> solicitation, who has 2001:470:29:29a:221:5cff:fe51:a85b, length 24
> 22:27:44.207299 IP6 fe80::226:5aff:fe14:7ff3 > ff02::1: ICMP6, router
> advertisement, length 56
> 
> Right away the client gets its IPv6 2001... address set.
> 
> $ ip addr show dev wlan0
> 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
> qlen 1000
>     link/ether 00:21:5c:51:a8:5b brd ff:ff:ff:ff:ff:ff
>     inet 10.0.0.39/24 brd 10.0.0.255 scope global wlan0
>     inet6 2001:470:29:29a:221:5cff:fe51:a85b/64 scope global dynamic 
>        valid_lft 86400sec preferred_lft 14400sec
>     inet6 fe80::221:5cff:fe51:a85b/64 scope link 
>        valid_lft forever preferred_lft forever
> 
> Shouldn't radvd respond to these router solicitations? Can I configure
> it to?
> 

It should.

> My radvd.conf:
> 
> interface eth1
> {
>    AdvSendAdvert on;
>    MinRtrAdvInterval 3;
>    MaxRtrAdvInterval 10;
>    prefix 2001:470:29:29a::1/64
>    {
>         AdvOnLink on;
>         AdvAutonomous on;
>    };
> };
> 
> 
> 

Nothing seems incorrect with your configuration, although the
Min and Max RtrAdvInterval values are really quite low. I'd be
curious to see what happens when you leave them as their defaults? 

Debugging messages would be worth seeing - the -d option specifies the
level of debugging detail, and -m can be used to specify where radvd's
logging messages go.

Regards,
Mark.


> 
> 
> 
> -- 
> Thomas Novin  - GPG/PGP ID CF62C14F
> 
> 
> 
> 
> 
> 
> -- 
> radvd-devel-l mailing list  :  radvd-devel-l at litech.org
> http://lists.litech.org/listinfo/radvd-devel-l



More information about the radvd-devel-l mailing list