Asus RT-N13U B1 IPv6 BROKEN

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware
Goto page 1, 2  Next
Author Message
facsi
DD-WRT User


Joined: 27 Nov 2010
Posts: 211

PostPosted: Sat Mar 10, 2018 3:16    Post subject: Asus RT-N13U B1 IPv6 BROKEN Reply with quote
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.
Sponsor
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 3978
Location: Akershus, Norway

PostPosted: Sun Mar 11, 2018 11:18    Post subject: Reply with quote
What Build are yo using?

It may be a configuration error.

What do you have in the Dhcp6c config?
facsi
DD-WRT User


Joined: 27 Nov 2010
Posts: 211

PostPosted: Mon Mar 12, 2018 2:41    Post subject: Reply with quote
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
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 3978
Location: Akershus, Norway

PostPosted: Mon Mar 12, 2018 18:47    Post subject: Reply with quote
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.
facsi
DD-WRT User


Joined: 27 Nov 2010
Posts: 211

PostPosted: Mon Mar 12, 2018 22:28    Post subject: Reply with quote
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
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 3978
Location: Akershus, Norway

PostPosted: Tue Mar 13, 2018 9:19    Post subject: Reply with quote
Had a second look on it. Do you have IPv6 set to "Native" instead of "Prefix Delegation"?
facsi
DD-WRT User


Joined: 27 Nov 2010
Posts: 211

PostPosted: Tue Mar 13, 2018 16:46    Post subject: Reply with quote
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
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 3978
Location: Akershus, Norway

PostPosted: Tue Mar 13, 2018 20:08    Post subject: Reply with quote
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?
facsi
DD-WRT User


Joined: 27 Nov 2010
Posts: 211

PostPosted: Tue Mar 13, 2018 20:52    Post subject: Reply with quote
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.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 3978
Location: Akershus, Norway

PostPosted: Wed Mar 14, 2018 8:17    Post subject: Reply with quote
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?
facsi
DD-WRT User


Joined: 27 Nov 2010
Posts: 211

PostPosted: Wed Mar 14, 2018 22:25    Post subject: Reply with quote
it dont work with dd-wrt but it work with my asus with merlin.

It works when I select Passthrough.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 3978
Location: Akershus, Norway

PostPosted: Wed Mar 14, 2018 22:34    Post subject: Reply with quote
You can set it up as an AP.

Connect it LAN-LAN with the main router.
facsi
DD-WRT User


Joined: 27 Nov 2010
Posts: 211

PostPosted: Wed Mar 14, 2018 22:53    Post subject: Reply with quote
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?
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 3978
Location: Akershus, Norway

PostPosted: Thu Mar 15, 2018 7:53    Post subject: Reply with quote
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)
facsi
DD-WRT User


Joined: 27 Nov 2010
Posts: 211

PostPosted: Thu Mar 15, 2018 14:05    Post subject: Reply with quote
Berg, Is there a way to configure it on ddwrt as passthrough as on merlin?
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum