IPv6 not working on Asus RT-N13UB1

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware
Author Message
wsc4049
DD-WRT Novice


Joined: 19 Mar 2017
Posts: 1

PostPosted: Sun Mar 19, 2017 6:58    Post subject: IPv6 not working on Asus RT-N13UB1 Reply with quote
I changed to Comcast recently and want to use my Asus RT-N13U B1 router for IPv6.

However, dhcp6c cannot be started. I enabled syslog and run it in debug mode and got:

Code:

Jan  1 01:16:59 DD-WRT daemon.notice dhcp6c[2175]: gethwid: found an interface eth2 for DUID
Jan  1 01:16:59 DD-WRT daemon.notice dhcp6c[2175]: get_duid: generated a new DUID: 00:03:00:01:00:0c:43:xx:xx:xx
Jan  1 01:16:59 DD-WRT daemon.notice dhcp6c[2175]: get_duid: saved generated DUID to /var/dhcp6c_duid
Jan  1 01:16:59 DD-WRT daemon.err dhcp6c[2175]: client6_init: setsockopt(SO_REUSEPORT): Protocol not available


I tried two RTN13Us and the following builds:

Firmware: DD-WRT v3.0-r31571 std (03/04/17)
Firmware: DD-WRT v3.0-r29739
Firmware: DD-WRT v3.0-r28397 (12/01/15)

Same result.

Only udhcpc and dnsmasq are running:

Code:

  746 root      1060 S    dnsmasq -u root -g root --conf-file=/tmp/dnsmasq.conf --cache-size=1500
  843 root      1044 S    udhcpc -i vlan2 -p /var/run/udhcpc.pid -s /tmp/udhcpc -O routes -O msstaticroutes -O staticroutes


I have /tmp/dhcp6c.conf:
Code:

interface vlan2 {
 send ia-na 1;
 send ia-pd 1;
 send rapid-commit;
 request domain-name-servers;
 script "/sbin/dhcp6c-state";
};
id-assoc pd 1 {
 prefix ::/60 infinity;
 prefix-interface br0 {
  sla-id 0;
  sla-len 4;
  ifid 1;
 };
};
id-assoc na 1 { };


What does that error "client6_init: setsockopt(SO_REUSEPORT): Protocol not available" mean and how to fix it?

radvdump does see four /64 prefixes advising from Comcast though, but as dhcp6c is not running, none of them got bound to vlan2 or br0.
Sponsor
mwchang
DD-WRT User


Joined: 26 Mar 2013
Posts: 99
Location: Hung Hom, Hong Kong

PostPosted: Mon Mar 27, 2017 16:05    Post subject: Re: IPv6 not working on Asus RT-N13UB1 Reply with quote
wsc4049 wrote:
I changed to Comcast recently and want to use my Asus RT-N13U B1 router for IPv6.

However, dhcp6c cannot be started. I enabled syslog and run it in debug mode and got:
....
What does that error "client6_init: setsockopt(SO_REUSEPORT): Protocol not available" mean and how to fix it?

radvdump does see four /64 prefixes advising from Comcast though, but as dhcp6c is not running, none of them got bound to vlan2 or br0.

Telnet to the router, post the output of `ifconfig` and `netstat -anp`?

_________________
Router: Asus RT-N18U

May the Force and farces be with you! Live long and proper!

Facebook: https://zh-hk.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
hubermania
DD-WRT User


Joined: 24 Aug 2012
Posts: 189

PostPosted: Wed May 03, 2017 21:46    Post subject: Reply with quote
I never got the "ifid" directive to work. Simple is better. I break my /60 prefix into /64's with something like below:
Code:

id-assoc pd 1 {
    prefix ::/60 infinity;
    prefix-interface br0 {
        sla-id 0;
        sla-len 4;
    };
    prefix-interface wl0.1 {
        sla-id 1;
        sla-len 4;
    };
    prefix-interface wl1.1 {
        sla-id 2;
        sla-len 4;
    };
};

Then use dnsmasq to automatically add IPv6 address ranges for each interface's /64 subnet:
Code:

dhcp-range=::,constructor:br0,ra-names,slaac,64,12h
dhcp-range=::,constructor:wl0.1,ra-names,slaac,64,12h
dhcp-range=::,constructor:wl1.1,ra-names,slaac,64,12h

_________________
[Broadcom] Asus rt-ac66u r31899 ('66 should only be factory reset through the DD UI)
Fix RT-AC66U "wl1 [2.4 GHz TurboQAM]". DD-WRT failsafe UI @ http|https://169.254.255.1/
Display posts from previous:    Page 1 of 1
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