hxping7 / wl500g

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

router does not announce a LAN ipv6 prefix other than /64 #417

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Configure: IPv6 connection type to "automatic IPv6"; WAN&LAN: "Get IPv6 
automatically" to "Yes", "Advertise LAN Prefix" to "Yes".
2.ISP announces IA_PD /56 instead of /64.

What is the expected output? What do you see instead?

Jan  1 06:00:05 dhcp6c[320]: sendto: Cannot assign requested address
Jan  1 06:00:06 dhcp6c[320]: unexpected advertise
Jan  1 06:00:07 dnsmasq-dhcp[238]: no address range available for DHCPv6 
request via br0
Jan  1 06:00:07 dhcp6c[320]: add address 2a02:xxxx:xxxx:xxxx::1/128 on vlan2
Jan  1 06:00:07 dhcp6c[320]: add address 
2a02:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/56 on br0
Jan  1 06:00:08 dnsmasq-dhcp[238]: no address range available for DHCPv6 
request via br0
Oct 12 21:32:20 dnsmasq-dhcp[238]: no address range available for DHCPv6 
request via br0
Oct 12 21:32:21 dnsmasq-dhcp[238]: no address range available for DHCPv6 
request via br0
Oct 12 21:32:22 dnsmasq-dhcp[238]: no address range available for DHCPv6 
request via br0
Oct 12 21:32:23 dnsmasq-dhcp[238]: no address range available for DHCPv6 
request via br0

What version of the product are you using?
Asus RT-N16. Firmware release 1.9.2.7-rtn-r5295

Please describe the problem as detailed as it's possible.
Router does not announce a LAN ipv6 prefix /56.

If you have connection problem, then syslog file is required. (please do
attach it as a file)

Original issue reported on code.google.com by sevam...@gmail.com on 12 Oct 2013 at 3:46

GoogleCodeExporter commented 9 years ago
Thanks, it's a bug of new dnsmasq, will look into.
As a temporary workaround, change "Advertise LAN Prefix" from "Yes" to "Legacy"

Original comment by themiron.ru on 14 Oct 2013 at 8:37

GoogleCodeExporter commented 9 years ago
I tried change to "Legacy":
Jan  1 06:00:09 radvd[257]: attempting to reread config file
Jan  1 06:00:09 radvd[257]: prefix length should be 64 for br0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan  1 06:00:09 radvd[257]: resuming normal operation
Oct 14 19:01:14 dnsmasq-dhcp[241]: DHCPSOLICIT(br0) 
00:01:00:01:17:9c:b5:09:e0:cb:4e:90:4d:85 
Oct 14 19:01:14 dnsmasq-dhcp[241]: DHCPADVERTISE(br0) 
00:01:00:01:17:9c:b5:09:e0:cb:4e:90:4d:85 no addresses available
Oct 14 19:01:14 dnsmasq-dhcp[241]: DHCPREQUEST(br0) 192.168.96.4 
00:16:ea:c9:4d:64 
Oct 14 19:01:14 dnsmasq-dhcp[241]: DHCPACK(br0) 192.168.96.4 00:16:ea:c9:4d:64 
book
Oct 14 19:01:18 dnsmasq-dhcp[241]: DHCPSOLICIT(br0) 
00:01:00:01:17:9c:b5:09:e0:cb:4e:90:4d:85 
Oct 14 19:01:18 dnsmasq-dhcp[241]: DHCPADVERTISE(br0) 
00:01:00:01:17:9c:b5:09:e0:cb:4e:90:4d:85 no addresses available
Oct 14 19:01:19 dnsmasq-dhcp[241]: DHCPINFORM(br0) 192.168.96.4 
00:16:ea:c9:4d:64 
Oct 14 19:01:19 dnsmasq-dhcp[241]: DHCPACK(br0) 192.168.96.4 00:16:ea:c9:4d:64 
BOOK
Oct 14 19:01:19 dnsmasq-dhcp[241]: DHCPSOLICIT(br0) 
00:01:00:01:19:1f:0a:af:00:1e:8c:b4:4c:be 
Oct 14 19:01:19 dnsmasq-dhcp[241]: DHCPADVERTISE(br0) 
00:01:00:01:19:1f:0a:af:00:1e:8c:b4:4c:be no addresses available
Oct 14 19:01:19 dnsmasq-dhcp[241]: DHCPREQUEST(br0) 192.168.96.7 
f4:6d:04:5e:57:66 
Oct 14 19:01:19 dnsmasq-dhcp[241]: DHCPACK(br0) 192.168.96.7 f4:6d:04:5e:57:66 
COMPUTER
Oct 14 19:01:20 dnsmasq-dhcp[241]: DHCPSOLICIT(br0) 
00:01:00:01:19:1f:0a:af:00:1e:8c:b4:4c:be 
Oct 14 19:01:20 dnsmasq-dhcp[241]: DHCPADVERTISE(br0) 
00:01:00:01:19:1f:0a:af:00:1e:8c:b4:4c:be no addresses available
Oct 14 19:01:22 dnsmasq-dhcp[241]: DHCPSOLICIT(br0) 
00:01:00:01:19:1f:0a:af:00:1e:8c:b4:4c:be 
Oct 14 19:01:22 dnsmasq-dhcp[241]: DHCPADVERTISE(br0) 
00:01:00:01:19:1f:0a:af:00:1e:8c:b4:4c:be no addresses available
.

Original comment by sevam...@gmail.com on 14 Oct 2013 at 1:29

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I believe legacy should work.
Anyway, try r5297 with "Advertise LAN Prefix" = "Yes"

Original comment by themiron.ru on 15 Oct 2013 at 8:38

GoogleCodeExporter commented 9 years ago
fixed with r5296, r5300

Original comment by themiron.ru on 19 Oct 2013 at 10:05