jilir / wl500g

Automatically exported from code.google.com/p/wl500g
0 stars 0 forks source link

DHCPv6 is broken in r5294 (perhaps as result of new dnsmasq import) #416

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
DHCPv6 is broken in r5294, it gives DHCPv6 IAID, DHCPv6 Client DUID, but 
absolutely no IPv6 gateway and no IPv6 NS (radvd still gives IPv6 NS properly, 
but Win7 clients don't understand radvd, DHCPv6 only).
This is regression, the version which works with the same settings unchanged is 
r5288.
Just in case, dnsmasq.conf is equal in both r5294 and r5288.

Original issue reported on code.google.com by ache...@gmail.com on 5 Oct 2013 at 10:14

GoogleCodeExporter commented 9 years ago
what do you mean by claiming dhcpv6 is broken? dhcpv6 stateful wasn't and isn't 
supported yet.
r5294 does nothing, if CONFIG_RADVD is set. dnsmasq only offers dns via dhcpv6 
stateless only (with minimal lifetime of 10min), which is supported by Win7.
ipv6 gateway can never be offered with dhcpv6, refer RFC3315 for details.

Original comment by themiron.ru on 5 Oct 2013 at 11:44

GoogleCodeExporter commented 9 years ago
Quote from ipconfig /all on windows with r5288 (and older):

 Default Gateway . . . . . . . . . : fe80::beae:c5ff:faa4:bb39%13
                                     192.168.1.1
 DNS Servers . . . . . . . . . . . : 2001:470:1fbb:1925:beae:c5ff:faa4:bb39
                                     192.168.1.1

With r5294:

 Default Gateway . . . . . . . . . : 192.168.1.1
 DNS Servers . . . . . . . . . . . : 192.168.1.1

Original comment by ache...@gmail.com on 5 Oct 2013 at 11:53

GoogleCodeExporter commented 9 years ago
Sorry, false alarm. I need to wait ~1 minute for IPv6 announce, IPv4 one comes 
up much faster.

Original comment by ache...@gmail.com on 5 Oct 2013 at 2:43

GoogleCodeExporter commented 9 years ago
1min is strange and highly OS/OS-config dependent.
try r5295, dnsmasq will be used for router advertiments, if will face with 
issues, change it to "Legacy" to move back on radvd.

Original comment by themiron.ru on 5 Oct 2013 at 6:02

GoogleCodeExporter commented 9 years ago
r5295 announces almost immediately.

Original comment by ache...@gmail.com on 5 Oct 2013 at 11:24