|
Author |
Message |
facsi DD-WRT User
Joined: 27 Nov 2010 Posts: 213
|
Posted: Sat Mar 10, 2018 3:16 Post subject: Asus RT-N13U B1 IPv6 BROKEN |
|
Hi,
Reporting that IPv6 is broken in Asus rtn13u B1.
Which logs should I post here for better solving the issue?
I believe there is a problem with dhcp6c. Process does not run. |
|
Back to top |
|
|
Sponsor
|
|
|
Per Yngve Berg DD-WRT Guru
Joined: 13 Aug 2013 Posts: 6866 Location: Romerike, Norway
|
Posted: Sun Mar 11, 2018 11:18 Post subject: |
|
What Build are yo using?
It may be a configuration error.
What do you have in the Dhcp6c config? |
|
Back to top |
|
|
facsi DD-WRT User
Joined: 27 Nov 2010 Posts: 213
|
Posted: Mon Mar 12, 2018 2:41 Post subject: |
|
Hi berg.
build 34777
I can ping IPV6 sites from ssh, but not from pc.
br0 does not have an ipv6 address on "ip -6 addr show"
Code: |
1: lo: <LOOPBACK,MULTICAST,UP,LOWER_UP> mtu 16436
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 fe80::20c:43ff:fe41:4632/64 scope link
valid_lft forever preferred_lft forever
5: vlan1@eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
inet6 fe80::20c:43ff:fe41:4632/64 scope link
valid_lft forever preferred_lft forever
6: vlan2@eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
inet6 2804:7f7:a697:114b:20c:43ff:fe41:4633/64 scope global dynamic
valid_lft 43178sec preferred_lft 43178sec
inet6 fe80::20c:43ff:fe41:4633/64 scope link
valid_lft forever preferred_lft forever
7: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
inet6 fe80::20c:43ff:fe41:4632/64 scope link
valid_lft forever preferred_lft forever
8: ra0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 fe80::f66d:4ff:fea0:31d0/64 scope link
valid_lft forever preferred_lft forever
|
dhcp6c config:
Code: |
interface vlan2 {
send ia-pd 0;
send rapid-commit;
request domain-name-servers;
script "/sbin/dhcp6c-state";
};
id-assoc pd 0 {
prefix-interface br0 {
sla-id 0;
sla-len 0;
};
};
id-assoc na 0 { };
|
syslog message:
Mar 12 02:40:13 DD-WRT daemon.err dhcp6c[3378]: client6_init: setsockopt(SO_REUSEPORT): Protocol not available |
|
Back to top |
|
|
Per Yngve Berg DD-WRT Guru
Joined: 13 Aug 2013 Posts: 6866 Location: Romerike, Norway
|
Posted: Mon Mar 12, 2018 18:47 Post subject: |
|
All is correct. You got an IPv6 address on the WAN.
What you need is some dnsmasq entries to hand out addresses to the clients. |
|
Back to top |
|
|
facsi DD-WRT User
Joined: 27 Nov 2010 Posts: 213
|
Posted: Mon Mar 12, 2018 22:28 Post subject: |
|
dhcp6c daemon is not running...
I had set this on additional dnsmasq options, as said on wiki, but no avail:
interface=br0
dhcp-range=::1000,::FFFF,constructor:br0,ra-stateless,5m
dhcp-option=option6:dns-server,[::ffff:d043:dede],[::ffff:d043:dcdc]
ra-param=br0,10,300
enable-ra
quiet-ra
quiet-dhcp
quiet-dhcp6 |
|
Back to top |
|
|
Per Yngve Berg DD-WRT Guru
Joined: 13 Aug 2013 Posts: 6866 Location: Romerike, Norway
|
Posted: Tue Mar 13, 2018 9:19 Post subject: |
|
Had a second look on it. Do you have IPv6 set to "Native" instead of "Prefix Delegation"? |
|
Back to top |
|
|
facsi DD-WRT User
Joined: 27 Nov 2010 Posts: 213
|
Posted: Tue Mar 13, 2018 16:46 Post subject: |
|
I have set it to "prefix delegation".
But native don't work either...
My network is:
Isp modem/router ipv6 (lan) -> (wan) ddwrt router -> hosts |
|
Back to top |
|
|
Per Yngve Berg DD-WRT Guru
Joined: 13 Aug 2013 Posts: 6866 Location: Romerike, Norway
|
Posted: Tue Mar 13, 2018 20:08 Post subject: |
|
The router must be directly connected to the ISP. No other router between. Is the modem in bridge mode?
Do you get a public IPv4 address on the WAN? |
|
Back to top |
|
|
facsi DD-WRT User
Joined: 27 Nov 2010 Posts: 213
|
Posted: Tue Mar 13, 2018 20:52 Post subject: |
|
Ipv6 does not work with subnets?
I am going to try with another router. I believe it just dont work with this ddwrt router.
DDWRT have a private ipv4 provided by the ISP router. |
|
Back to top |
|
|
Per Yngve Berg DD-WRT Guru
Joined: 13 Aug 2013 Posts: 6866 Location: Romerike, Norway
|
Posted: Wed Mar 14, 2018 8:17 Post subject: |
|
facsi wrote: | DDWRT have a private ipv4 provided by the ISP router. |
This is your problem. It will not work if your main router is not handing out Delegated Prefixes.
Is there a IPv6 setup on the main router? |
|
Back to top |
|
|
facsi DD-WRT User
Joined: 27 Nov 2010 Posts: 213
|
Posted: Wed Mar 14, 2018 22:25 Post subject: |
|
it dont work with dd-wrt but it work with my asus with merlin.
It works when I select Passthrough. |
|
Back to top |
|
|
Per Yngve Berg DD-WRT Guru
Joined: 13 Aug 2013 Posts: 6866 Location: Romerike, Norway
|
Posted: Wed Mar 14, 2018 22:34 Post subject: |
|
You can set it up as an AP.
Connect it LAN-LAN with the main router. |
|
Back to top |
|
|
facsi DD-WRT User
Joined: 27 Nov 2010 Posts: 213
|
Posted: Wed Mar 14, 2018 22:53 Post subject: |
|
Id rather keep my subnet. I use the ISP router as guest wifi. I might change this router with a new one..
Meanwhile, do you agree ddwrt has a bug? |
|
Back to top |
|
|
Per Yngve Berg DD-WRT Guru
Joined: 13 Aug 2013 Posts: 6866 Location: Romerike, Norway
|
Posted: Thu Mar 15, 2018 7:53 Post subject: |
|
No, but in order to have an extra IPv6 sub-net behind it, you have to require one from your ISP.
With a 60 prefix, there will be 16 subnets (0-15) |
|
Back to top |
|
|
facsi DD-WRT User
Joined: 27 Nov 2010 Posts: 213
|
Posted: Thu Mar 15, 2018 14:05 Post subject: |
|
Berg, Is there a way to configure it on ddwrt as passthrough as on merlin? |
|
Back to top |
|
|
|