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

2016-07-17 Thread Xander Victory

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@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?

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Win10 Dhcpv6 issue?

2016-06-30 Thread Xander Victory
This seems to have just been another Windows 10 Stupid (I thought I'd 
gotten away with not having any).


I followed this article and deleted both DUID keys in the registry and 
it seems to be able to maintain a lease.

https://support.microsoft.com/en-us/kb/2711727

Support page appears to apply to non-updated 7/8/Server 2008R2/Server 
2012 too.


On 25/06/2016 8:42 PM, Vladislav Grishenko wrote:


My bad, it was wrong assumption, sorry.
Just checked, dnsmasq doesn’t really support REBIND at all at the 
moment, fix in 2.72 actually fixed nothing.


Best Regards, Vladislav Grishenko

*From:*Xander Victory [mailto:xan...@xandervictory.id.au]
*Sent:* Saturday, June 25, 2016 5:21 PM
*To:* Vladislav Grishenko <themiron...@gmail.com>
*Cc:* dnsmasq-discuss@lists.thekelleys.org.uk
*Subject:* RE: [Dnsmasq-discuss] Win10 Dhcpv6 issue?

No, dnsmasq was one version below current, even updating to current 
(gentoo patches) nothing changed


On Jun 25, 2016 8:19 PM, "Vladislav Grishenko" <themiron...@gmail.com 
<mailto:themiron...@gmail.com>> wrote:


Hi, Xander

Not exactly related to Windows 10 ignorance, but according pcap,
dnsmasq doesn’t reply to REBIND requests.

So, you version seems older than 2.72 where it was fixed, is it?

If so, it’s desirable to update to the current latest 2.76.

Best Regards, Vladislav Grishenko

*From:*Dnsmasq-discuss
[mailto:dnsmasq-discuss-boun...@lists.thekelleys.org.uk
<mailto:dnsmasq-discuss-boun...@lists.thekelleys.org.uk>] *On
Behalf Of *Xander Victory
*Sent:* Friday, June 24, 2016 4:21 PM
*To:* dnsmasq-discuss@lists.thekelleys.org.uk
<mailto:dnsmasq-discuss@lists.thekelleys.org.uk>
*Subject:* [Dnsmasq-discuss] Win10 Dhcpv6 issue?

I'm having some trouble getting windows 10 to keep its v6 lease,
it seem to fail to renew.

From packet sniffing it seems to just be ignoring DNSMasq's
replies to the renew packets, and then falls back to soliciting
continuously, despite being replied to.

I've attached the pcap files (hopefully). Shows that it acquires
it on reboot, but fails after the lease time is (about to?) expire
- set at 2 hours because of issues with the xbox one getting a new
address each boot (you can see in the 2nd pcap that it renews its
address just fine).

Is windows 10 borked or is it something with my config? I'm unsure
if this is a recent development or not to be honest.

Not exactly related, but I've noticed that DNSMasq sends its v6
packets (router advertisements and dhcpv6) from the full link
local address, even though the default address is a manually
configured fe80::1

relevant config:


dhcp-host=id:00:01:00:01:1a:1b:af:8c:bc:5f:f4:d8:41:bc,[::3],bc:5f:f4:d8:41:bc,10.1.2.6,xander
dhcp-range=br0,10.1.2.100,10.1.2.249,255.255.255.0,12h
dhcp-range=br0,2001:44b8:610e:3c00::4,2001:44b8:610e:3c00::,2h
enable-ra



___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Win10 Dhcpv6 issue?

2016-06-25 Thread Xander Victory

To clarify , dnsmasq version is 2.76.

Dnsmasq version 2.76  Copyright (c) 2000-2016 Simon Kelley
Compile time options: IPv6 GNU-getopt no-DBus i18n IDN DHCP DHCPv6 
no-Lua no-TFTP no-conntrack ipset no-auth no-DNSSEC loop-detect inotify


Win10 seems to try to fall back to Rebind anyway, it tries Renew a few 
times first. It just doesnt seem to like the reply like the xbox does 
[::b0c5]



On 25/06/2016 8:42 PM, Vladislav Grishenko wrote:


My bad, it was wrong assumption, sorry.
Just checked, dnsmasq doesn’t really support REBIND at all at the 
moment, fix in 2.72 actually fixed nothing.


Best Regards, Vladislav Grishenko

*From:*Xander Victory [mailto:xan...@xandervictory.id.au]
*Sent:* Saturday, June 25, 2016 5:21 PM
*To:* Vladislav Grishenko <themiron...@gmail.com>
*Cc:* dnsmasq-discuss@lists.thekelleys.org.uk
*Subject:* RE: [Dnsmasq-discuss] Win10 Dhcpv6 issue?

No, dnsmasq was one version below current, even updating to current 
(gentoo patches) nothing changed


On Jun 25, 2016 8:19 PM, "Vladislav Grishenko" <themiron...@gmail.com 
<mailto:themiron...@gmail.com>> wrote:


Hi, Xander

Not exactly related to Windows 10 ignorance, but according pcap,
dnsmasq doesn’t reply to REBIND requests.

So, you version seems older than 2.72 where it was fixed, is it?

If so, it’s desirable to update to the current latest 2.76.

Best Regards, Vladislav Grishenko

*From:*Dnsmasq-discuss
[mailto:dnsmasq-discuss-boun...@lists.thekelleys.org.uk
<mailto:dnsmasq-discuss-boun...@lists.thekelleys.org.uk>] *On
Behalf Of *Xander Victory
*Sent:* Friday, June 24, 2016 4:21 PM
*To:* dnsmasq-discuss@lists.thekelleys.org.uk
<mailto:dnsmasq-discuss@lists.thekelleys.org.uk>
*Subject:* [Dnsmasq-discuss] Win10 Dhcpv6 issue?

I'm having some trouble getting windows 10 to keep its v6 lease,
it seem to fail to renew.

From packet sniffing it seems to just be ignoring DNSMasq's
replies to the renew packets, and then falls back to soliciting
continuously, despite being replied to.

I've attached the pcap files (hopefully). Shows that it acquires
it on reboot, but fails after the lease time is (about to?) expire
- set at 2 hours because of issues with the xbox one getting a new
address each boot (you can see in the 2nd pcap that it renews its
address just fine).

Is windows 10 borked or is it something with my config? I'm unsure
if this is a recent development or not to be honest.

Not exactly related, but I've noticed that DNSMasq sends its v6
packets (router advertisements and dhcpv6) from the full link
local address, even though the default address is a manually
configured fe80::1

relevant config:


dhcp-host=id:00:01:00:01:1a:1b:af:8c:bc:5f:f4:d8:41:bc,[::3],bc:5f:f4:d8:41:bc,10.1.2.6,xander
dhcp-range=br0,10.1.2.100,10.1.2.249,255.255.255.0,12h
dhcp-range=br0,2001:44b8:610e:3c00::4,2001:44b8:610e:3c00::,2h
enable-ra



___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Win10 Dhcpv6 issue?

2016-06-25 Thread Xander Victory
No, dnsmasq was one version below current, even updating to current (gentoo
patches) nothing changed

On Jun 25, 2016 8:19 PM, "Vladislav Grishenko" <themiron...@gmail.com>
wrote:

> Hi, Xander
>
> Not exactly related to Windows 10 ignorance, but according pcap, dnsmasq
> doesn’t reply to REBIND requests.
>
> So, you version seems older than 2.72 where it was fixed, is it?
>
> If so, it’s desirable to update to the current latest 2.76.
>
>
>
> Best Regards, Vladislav Grishenko
>
>
>
> *From:* Dnsmasq-discuss [mailto:
> dnsmasq-discuss-boun...@lists.thekelleys.org.uk] *On Behalf Of *Xander
> Victory
> *Sent:* Friday, June 24, 2016 4:21 PM
> *To:* dnsmasq-discuss@lists.thekelleys.org.uk
> *Subject:* [Dnsmasq-discuss] Win10 Dhcpv6 issue?
>
>
>
> I'm having some trouble getting windows 10 to keep its v6 lease, it seem
> to fail to renew.
>
> From packet sniffing it seems to just be ignoring DNSMasq's replies to the
> renew packets, and then falls back to soliciting continuously, despite
> being replied to.
>
> I've attached the pcap files (hopefully). Shows that it acquires it on
> reboot, but fails after the lease time is (about to?) expire - set at 2
> hours because of issues with the xbox one getting a new address each boot
> (you can see in the 2nd pcap that it renews its address just fine).
>
> Is windows 10 borked or is it something with my config? I'm unsure if this
> is a recent development or not to be honest.
>
> Not exactly related, but I've noticed that DNSMasq sends its v6 packets
> (router advertisements and dhcpv6) from the full link local address, even
> though the default address is a manually configured fe80::1
>
> relevant config:
>
>
> dhcp-host=id:00:01:00:01:1a:1b:af:8c:bc:5f:f4:d8:41:bc,[::3],bc:5f:f4:d8:41:bc,10.1.2.6,xander
> dhcp-range=br0,10.1.2.100,10.1.2.249,255.255.255.0,12h
> dhcp-range=br0,2001:44b8:610e:3c00::4,2001:44b8:610e:3c00::,2h
> enable-ra
>
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] Win10 Dhcpv6 issue?

2016-06-24 Thread Xander Victory
I'm having some trouble getting windows 10 to keep its v6 lease, it seem 
to fail to renew.


From packet sniffing it seems to just be ignoring DNSMasq's replies to 
the renew packets, and then falls back to soliciting continuously, 
despite being replied to.


I've attached the pcap files (hopefully). Shows that it acquires it on 
reboot, but fails after the lease time is (about to?) expire - set at 2 
hours because of issues with the xbox one getting a new address each 
boot (you can see in the 2nd pcap that it renews its address just fine).


Is windows 10 borked or is it something with my config? I'm unsure if 
this is a recent development or not to be honest.


Not exactly related, but I've noticed that DNSMasq sends its v6 packets 
(router advertisements and dhcpv6) from the full link local address, 
even though the default address is a manually configured fe80::1


relevant config:

dhcp-host=id:00:01:00:01:1a:1b:af:8c:bc:5f:f4:d8:41:bc,[::3],bc:5f:f4:d8:41:bc,10.1.2.6,xander
dhcp-range=br0,10.1.2.100,10.1.2.249,255.255.255.0,12h
dhcp-range=br0,2001:44b8:610e:3c00::4,2001:44b8:610e:3c00::,2h
enable-ra


win10-dhcp-initial.pcap
Description: Binary data


win10-dhcp-subsequent-2.pcap
Description: Binary data
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss