[SOLVED] Problems getting IPv6 working on EA2700 Router

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


Joined: 16 May 2015
Posts: 8

PostPosted: Fri May 29, 2015 14:19    Post subject: [SOLVED] Problems getting IPv6 working on EA2700 Router Reply with quote
Hi everyone,

I've tried quite a few things, but nothing seems to work here. My IPv6 is provided by HE.net (Tunnelbroker), and is a /64. Right now I have it set up so that everyone *should* be getting an IPv6 address from tunnelbroker. My computer(s) have IPv6 addresses inside of my range (I believe), but my router has WAN IPv4: 67.7.24.201 IPv6: ::67.7.24.201 instead.

Here is what my computer shows in ipconfig
Code:

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . : local.lan
   IPv6 Address. . . . . . . . . . . : 2001:470:1f11:830:5930:27ad:4a1b:84df
   Temporary IPv6 Address. . . . . . : 2001:470:1f11:830:a57b:613f:b970:7c49
   Link-local IPv6 Address . . . . . : fe80::5930:27ad:4a1b:84df%4
   IPv4 Address. . . . . . . . . . . : 192.168.2.118
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : fe80::b675:eff:fe40:1e06%4
                                       192.168.2.1


My Router and firmware information is:

Code:


Router Model
 Linksys EA2700

Firmware Version
 DD-WRT v24-sp2 (01/20/15) giga - build 25974M

Kernel Version
 Linux 3.10.65 #5875 Tue Jan 20 07:43:03 CET 2015 mips
 



Attached is a screenshot of how I have the IPv6 sub-tab under Setup configured. I do have radvd and radvd custom enabled, although they don't show up in the screenshot.

Here is the contents of my radvd.conf file from the IPv6 sub-tab:

Code:

 interface br0 {
 MinRtrAdvInterval 3;
 MaxRtrAdvInterval 10;
 AdvLinkMTU 1480;
 AdvSendAdvert on;
 prefix 2001:470:1f11:830::/64 {
 AdvOnLink on;
 AdvAutonomous on;
 AdvValidLifetime 86400;
 AdvPreferredLifetime 86400;
 };
 RDNSS 2001:470:20::2 {};
 };


One thing I've noticed is that my computer gets a 2001:470:1f11... address, while my router is supposed to get one that has 2001:470:1f10... in it. In the past, I believe all of my computers and devices had 1f10 in theirs.

I should note that I've tried this with nothing in the IPv6 screenshot, and just recently put something there. With nothing in the screenshot, I don't have any IPv6 address listed in the upper right hand corner.

Here's my startup config and firewall config from Administration -> Commands:

Code:

Startup
-----------------------------------
nvram set partialboots=0
nvram commit

#Hurricane Electric Tunnel Configuration
# Combination of various scripts

sleep 10
insmod ipv6
sleep 30
modprobe ipv6
ip tunnel add he-ipv6 mode sit remote 184.105.253.14 ttl 255
ip link set he-ipv6 up
ip addr add 2001:470:1f10:830::2/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 addr
ip addr add 2001:470:1f11:830::/64 dev br0
sleep 5
radvd -C /tmp/radvd.conf

================================================
Firewall
-------------------

iptables -I INPUT 2 -s 66.220.2.74 -p icmp -j ACCEPT

*The === and --- are just added here to separate everything out.

And finally, here's the results of ifconfig after telneting into the router.

Code:

root@DICKEY:~# ifconfig
br0       Link encap:Ethernet  HWaddr B4:75:0E:40:1E:06
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::b675:eff:fe40:1e06/64 Scope:Link
          inet6 addr: 2001:470:1f11:830::/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:347216 errors:0 dropped:9 overruns:0 frame:0
          TX packets:310550 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:25997402 (24.7 MiB)  TX bytes:333346620 (317.9 MiB)

br0:0     Link encap:Ethernet  HWaddr B4:75:0E:40:1E:06
          inet addr:169.254.255.1  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth0      Link encap:Ethernet  HWaddr B4:75:0E:40:1E:06
          inet6 addr: fe80::b675:eff:fe40:1e06/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:27256513 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22087414 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20562357 (19.6 MiB)  TX bytes:3707077007 (3.4 GiB)
          Interrupt:4 Base address:0x2000

eth1      Link encap:Ethernet  HWaddr B4:75:0E:40:1E:08
          inet6 addr: fe80::b675:eff:fe40:1e08/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10868425 errors:0 dropped:0 overruns:0 frame:36820789
          TX packets:16138977 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1185227846 (1.1 GiB)  TX bytes:1864117729 (1.7 GiB)
          Interrupt:3 Base address:0x1000

he-ipv6   Link encap:IPv6-in-IPv4
          inet6 addr: fe80::a00:1/64 Scope:Link
          inet6 addr: fe80::4307:16ec/64 Scope:Link
          inet6 addr: 2001:470:1f10:830::2/64 Scope:Global
          inet6 addr: fe80::a9fe:ff01/64 Scope:Link
          inet6 addr: fe80::c0a8:201/64 Scope:Link
          UP POINTOPOINT RUNNING NOARP  MTU:1447  Metric:1
          RX packets:949 errors:0 dropped:0 overruns:0 frame:0
          TX packets:901 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:97167 (94.8 KiB)  TX bytes:93752 (91.5 KiB)

ip6tun    Link encap:IPv6-in-IPv4
          inet6 addr: ::67.7.24.201/128 Scope:Compat
          UP RUNNING NOARP  MTU:1447  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:2539 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MULTICAST  MTU:65536  Metric:1
          RX packets:450 errors:0 dropped:0 overruns:0 frame:0
          TX packets:450 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:31455 (30.7 KiB)  TX bytes:31455 (30.7 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:67.7.24.201  P-t-P:65.103.57.201  Mask:255.255.255.255
          UP POINTOPOINT RUNNING MULTICAST  MTU:1467  Metric:1
          RX packets:285642 errors:0 dropped:0 overruns:0 frame:0
          TX packets:304373 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:320148725 (305.3 MiB)  TX bytes:20498444 (19.5 MiB)

vlan1     Link encap:Ethernet  HWaddr B4:75:0E:40:1E:06
          inet6 addr: fe80::b675:eff:fe40:1e06/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14610994 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10664852 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11991965405 (11.1 GiB)  TX bytes:6605854859 (6.1 GiB)

vlan2     Link encap:Ethernet  HWaddr B4:75:0E:40:1E:07
          inet6 addr: fe80::b675:eff:fe40:1e07/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12645519 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11422556 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13198757442 (12.2 GiB)  TX bytes:1307839224 (1.2 GiB)

wl0.1     Link encap:Ethernet  HWaddr B6:75:0E:40:1E:09
          inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::b475:eff:fe40:1e09/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:301 errors:0 dropped:0 overruns:0 frame:36820789
          TX packets:2199 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:71698 (70.0 KiB)  TX bytes:781678 (763.3 KiB)


So, I'm totally lost here. I checked my tunnel details, and it's being updated (presumably by the router, although I do have an updater script on one of my computers). But when I check at http://www.whatismyipv6.com, it shows my IPv4 address. And I'm unable to ping or access IPv6 only sites.

Is it a matter of having dd-wrt handle dhcp6? Or is it something else? Currently, I have a raspberry pi handling my dhcp for IPv4. I could always set it up to do dhcp6 also (or set the router up to do that). If I can import (or migrate) my dnsmasq configurations from the raspberry pi to the router, I'd gladly do that.

Thanks for any help you can provide me with. I greatly appreciate it.

Have a great day.Smile
Patrick.

P.S. If there's anything more that you need, I'll gladly provide it.



DD-WRT-IPv6-Setup.JPG
 Description:
IPv6 configuration
 Filesize:  53.83 KB
 Viewed:  7182 Time(s)

DD-WRT-IPv6-Setup.JPG




Last edited by PatrickDickey52761 on Sat May 30, 2015 14:33; edited 1 time in total
Sponsor
JAMESMTL
DD-WRT Guru


Joined: 13 Mar 2014
Posts: 856
Location: Montreal, QC

PostPosted: Fri May 29, 2015 19:01    Post subject: Reply with quote
see http://www.dd-wrt.com/phpBB2/viewtopic.php?p=909299#909299
PatrickDickey52761
DD-WRT Novice


Joined: 16 May 2015
Posts: 8

PostPosted: Fri May 29, 2015 21:00    Post subject: Reply with quote
JAMESMTL wrote:
see http://www.dd-wrt.com/phpBB2/viewtopic.php?p=909299#909299


Thanks for the reply (and the knock upside the head Wink ). I used your thread, but was tired at the time apparently, because I didn't see my screen like yours or something. LOL

Two quick questions though. Do I need anything in the radvd.conf below all of this? And do I need anything in my startup besides the nvram lines (which are meant to keep it from flashing back to the Linksys firmware, if I understand correctly)?

------------ Update ---------------------

I made the changes as per your post. Then I removed the customized radvd.conf information, and the startup commands. Applied my settings. Now, in the upper right hand corner, it shows WAN IPv4: 67.7.22.15 IPv6: 2001:470:1f10:830::2, but when I go to www.whatismyipv6.com or www.test-ipv6.com, it still only shows my IPv4 information (and fails all of the tests). I did an ipconfig /renew on my computer, and it still has the 2001:470:1f11:... address (instead of the 1f10 address).

So, I'm closer, but not quite there. Now my question is, do I need to reboot everything? Also, do I need to disable radvd and radvd custom?

Thanks again. If this works, I owe you a beer or two at least. Smile
Patrick.
PatrickDickey52761
DD-WRT Novice


Joined: 16 May 2015
Posts: 8

PostPosted: Sat May 30, 2015 14:39    Post subject: The solution Reply with quote
I was able to get the IPv6 to show up on my devices by using a combination of things (some of which probably won't apply to others).

I followed the suggestion made by JAMESMTL in his post.

Then I enabled radvd and added the following to the custom config
Code:

 interface br0 {
 MinRtrAdvInterval 3;
 MaxRtrAdvInterval 10;
 AdvLinkMTU 1447;
 AdvSendAdvert on;
 prefix 2001:470:1f11:830::/64 {
 AdvOnLink on;
 AdvAutonomous on;
 AdvValidLifetime 86400;
 AdvPreferredLifetime 86400;
 };
 RDNSS 2001:470:20::2 {};
 };


Note the MTU is 1447, because my MTU is 1467 on my IPv4. So your MTU may be different.

I also had to add an echo statement to my startup. This is because my actual DHCP/DNS is provided by another device on my network--so I had to redirect the router there.

Hopefully this will help others (and myself if I have to do this again in the future).

Patrick.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom 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 can attach files in this forum
You can download files in this forum