[Dnsmasq-discuss] Quicker IPv6 connectivity recovery when using ra-stateless mode

Xander Victory xander at xandervictory.id.au
Sun Jul 17 15:03:17 BST 2016


On 17/07/2016 6:21 PM, Toke Høiland-Jørgensen wrote:
> So I've been noticing that when resuming my laptop from suspend (and
> reconnecting to the WiFi network), I will get IPv4 connectivity a lot
> sooner than IPv6. I'm using dnsmasq in ra-stateless mode.
>
> Looking at tcpdump output, it seems that my laptop will send a DHCP
> solicit message (for both IPv4 and IPv6) immediately when the interface
> connects to the WiFi, and it does get an IPv6 reply from dnsmasq. But it
> takes a while before a router advertisement arrives, so there will be no
> default route installed on the laptop.
>
> Provided I'm interpreting what is happening correctly, would it be
> possible to have dnsmasq trigger a router advertisement on an interface
> whenever it replies to DHCP requests? Not sure if the RA spec allows
> unicasting advertisements; if it does, unicasting it to the host that
> asks for DHCP would be a way to cut down on multicast traffic. But
> simply sending an additional multicast RA would also work, I suppose.
>
> -Toke
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

You laptop should send an ipv6 router solicit (which should trigger an 
advertisement). Do you see this looking at tcpdump for icmpv6?
What OS & version is it running?



More information about the Dnsmasq-discuss mailing list