Primary DNS Address = 2607:f428:1::5353:1
Secondary DNS Address = 2607:f428:2::5353:1
Startup script:
Code:
insmod ipv6
sleep 5
HOST6RD=$(nslookup 6rd.charter.com | grep "Address" | awk '{print $3}'|grep -v 10.0.0.1 -m1)
WANIP=$(ip -4 addr show dev eth1 | grep 'inet' | awk '{print $2}' | cut -d/ -f1)
if [ -n "$WANIP" ]
then
V6PREFIX=$(printf ' 2602:100:%02x%02x:%02x%02x' $(echo $WANIP | tr . ' '))
ip tunnel add tun6rd mode sit ttl 255 remote any local $WANIP
ip link set tun6rd mtu 1280
ip link set tun6rd up
ip addr add $V6PREFIX:0::1/32 dev tun6rd
ip addr add $V6PREFIX:1::1/64 dev br0
ip -6 route add 2000::/3 via ::$HOST6RD dev tun6rd
kill -HUP $(cat /var/run/radvd.pid)
fi
echo "interface br0 { \
MinRtrAdvInterval 3; MaxRtrAdvInterval 10; AdvLinkMTU 1280; AdvSendAdvert on; \
prefix $V6PREFIX::/64 { AdvOnLink on; AdvAutonomous on; AdvValidLifetime 86400; \
AdvPreferredLifetime 86400; }; RDNSS 2607:f428:1::5353:1 2607:f428:2::5353:1 { }; };" \
> /tmp/radvd.conf
radvd -C /tmp/radvd.conf start
Steps for configuring:
1: On your router, go to Administration -> Management
2: Under "IPv6 Support" click "Enable", leave "Radvd" disabled.
3: Grab the script I have pasted above. Change 10.0.0.1 to your router's internal IP address.
4: Paste your modified script into Administration -> Commands
5: Click "Save Startup"
6: Reboot your router
Posted: Mon Mar 30, 2015 17:15 Post subject: Re: [Howto] Charter 6rd with wndr3700 on 17201 firmware
Hey I know this is an old post, but im hopping someone sees this that can help. I put in the script as below and changed the 10. to 192.168.1.1 and rebooted. But it doesn't seem to be working. Here's the output from my router.
Code:
ip -6 addr show
1: lo: <LOOPBACK,MULTICAST,UP>
inet6 ::1/128 scope host
3: eth0: <BROADCAST,MULTICAST,PROMISC,UP>
inet6 fe80::213:10ff:fefe:913a/64 scope link
4: eth1: <BROADCAST,MULTICAST,PROMISC,UP>
inet6 fe80::213:10ff:fefe:913c/64 scope link
5: vlan0: <BROADCAST,MULTICAST,PROMISC,UP>
inet6 fe80::213:10ff:fefe:913a/64 scope link
6: vlan1: <BROADCAST,MULTICAST,UP>
inet6 fe80::213:10ff:fefe:913b/64 scope link
8: br0: <BROADCAST,MULTICAST,UP>
inet6 fe80::213:10ff:fefe:913a/64 scope link
mafiatfc wrote:
Just wanted to post my results on getting Charter's 6rd working with the wndr3700. Most of this information was adapted from the Wiki.
Primary DNS Address = 2607:f428:1::5353:1
Secondary DNS Address = 2607:f428:2::5353:1
Startup script:
Code:
insmod ipv6
sleep 5
HOST6RD=$(nslookup 6rd.charter.com | grep "Address" | awk '{print $3}'|grep -v 10.0.0.1 -m1)
WANIP=$(ip -4 addr show dev eth1 | grep 'inet' | awk '{print $2}' | cut -d/ -f1)
if [ -n "$WANIP" ]
then
V6PREFIX=$(printf ' 2602:100:%02x%02x:%02x%02x' $(echo $WANIP | tr . ' '))
ip tunnel add tun6rd mode sit ttl 255 remote any local $WANIP
ip link set tun6rd mtu 1280
ip link set tun6rd up
ip addr add $V6PREFIX:0::1/32 dev tun6rd
ip addr add $V6PREFIX:1::1/64 dev br0
ip -6 route add 2000::/3 via ::$HOST6RD dev tun6rd
kill -HUP $(cat /var/run/radvd.pid)
fi
echo "interface br0 { \
MinRtrAdvInterval 3; MaxRtrAdvInterval 10; AdvLinkMTU 1280; AdvSendAdvert on; \
prefix $V6PREFIX::/64 { AdvOnLink on; AdvAutonomous on; AdvValidLifetime 86400; \
AdvPreferredLifetime 86400; }; RDNSS 2607:f428:1::5353:1 2607:f428:2::5353:1 { }; };" \
> /tmp/radvd.conf
radvd -C /tmp/radvd.conf start
Steps for configuring:
1: On your router, go to Administration -> Management
2: Under "IPv6 Support" click "Enable", leave "Radvd" disabled.
3: Grab the script I have pasted above. Change 10.0.0.1 to your router's internal IP address.
4: Paste your modified script into Administration -> Commands
5: Click "Save Startup"
6: Reboot your router
Posted: Sat Dec 26, 2015 14:03 Post subject: dd-wrt / Netgear R6300v2 (Charter) / ipv6
Hi, I wanted IPv6 support on Charter working, given some experience setting it up on dd-wrt and openwrt with AT&T U-Verse, which also uses 6rd..
This script/process is tested against the following build, and working great: Firmware: DD-WRT v3.0-r28575M kongac (12/21/15)
Note that the settings in the IPv6 tab alone are not quite the full configuration, and won't work by itself, but is enough to enable radvd/ipv6 support to the point where the startup script can complete the setup and get it working.
Joined: 01 Oct 2016 Posts: 172 Location: St.louis, MO USA
Posted: Fri Nov 11, 2016 2:27 Post subject:
I have a netgear r6300v2 and I realize I am not in the Broadcom section, but I cant find the reason why my ipv6 isnt working. you think this will work there too? _________________ [MAIN GATEWAY] Netgear R7000 – DD-WRT v3.0-r43324 std (06/02/20)
[AP1-wired] Asus RT-AC68U - D-WRT v3.0-r44467 std (09/24/20)
[AP2-wired] Asus RT-AC68R – D-WRT v3.0-r44467 std (09/24/20)
(switch) 1 AP WRT160N v3 - DD-WRT v3.0-r30731 mini (10/06/16)
==
YOU CAN'T STOP THE COLETRAIN BABY!
Last edited by coletrain on Thu Nov 24, 2016 3:16; edited 1 time in total
I absolutely appreciate your reply. I had been following the build threads, and had seen a few issues, so I was tentative. My build is only a month old. If you have all those routers running that build its enough for me to try.
I will read the other threads as well.
I guess I don't need ipv6. Just don't understand why its not working, like never had it working try to start it working, for me.
Have a good one. _________________ [MAIN GATEWAY] Netgear R7000 – DD-WRT v3.0-r43324 std (06/02/20)
[AP1-wired] Asus RT-AC68U - D-WRT v3.0-r44467 std (09/24/20)
[AP2-wired] Asus RT-AC68R – D-WRT v3.0-r44467 std (09/24/20)
(switch) 1 AP WRT160N v3 - DD-WRT v3.0-r30731 mini (10/06/16)
==
YOU CAN'T STOP THE COLETRAIN BABY!
Joined: 01 Oct 2016 Posts: 172 Location: St.louis, MO USA
Posted: Thu Nov 24, 2016 3:52 Post subject: Re: dd-wrt / Netgear R6300v2 (Charter) / ipv6
Da_G wrote:
Hi, I wanted IPv6 support on Charter working, given some experience setting it up on dd-wrt and openwrt with AT&T U-Verse, which also uses 6rd..
This script/process is tested against the following build, and working great: Firmware: DD-WRT v3.0-r28575M kongac (12/21/15)
Note that the settings in the IPv6 tab alone are not quite the full configuration, and won't work by itself, but is enough to enable radvd/ipv6 support to the point where the startup script can complete the setup and get it working.
HOST6RD=$(nslookup 6rd.charter.com | grep "Address" | awk '{print $3}' | grep -v ::1 | grep -v 127.0.0.1)
WANIP=$(ip -4 addr show dev vlan2 | grep 'inet' | awk '{print $2}' | cut -d/ -f1)
V6PREFIX=$(printf '2602:100:%02x%02x:%02x%02x' $(echo $WANIP | tr . ' '))
ip tunnel del ip6tun
ip tunnel add ip6tun mode sit ttl 255 remote any local $WANIP
ip link set ip6tun mtu 1280
ip link set ip6tun up
ip addr add $V6PREFIX:0::1/32 dev ip6tun
ip addr add $V6PREFIX:1::1/64 dev br0
ip -6 route add 2000::/3 via ::$HOST6RD dev ip6tun
kill -HUP $(cat /var/run/radvd.pid)
rm /var/run/radvd.pid
echo "interface br0 { MinRtrAdvInterval 3; MaxRtrAdvInterval 10; AdvLinkMTU 1280; AdvSendAdvert on; prefix $V6PREFIX::/64 { AdvOnLink on; AdvAutonomous on; AdvValidLifetime 86400; AdvPreferredLifetime 86400; }; RDNSS 2607:f428:1::5353:1 2607:f428:2::5353:1 { }; };" > /tmp/radvd.conf
radvd -C /tmp/radvd.conf start
I am sorry, this did not result in the internet working for me. _________________ [MAIN GATEWAY] Netgear R7000 – DD-WRT v3.0-r43324 std (06/02/20)
[AP1-wired] Asus RT-AC68U - D-WRT v3.0-r44467 std (09/24/20)
[AP2-wired] Asus RT-AC68R – D-WRT v3.0-r44467 std (09/24/20)
(switch) 1 AP WRT160N v3 - DD-WRT v3.0-r30731 mini (10/06/16)
==
YOU CAN'T STOP THE COLETRAIN BABY!
Primary DNS Address = 2607:f428:1::5353:1
Secondary DNS Address = 2607:f428:2::5353:1
Startup script:
Code:
insmod ipv6
sleep 5
HOST6RD=$(nslookup 6rd.charter.com | grep "Address" | awk '{print $3}'|grep -v 10.0.0.1 -m1)
WANIP=$(ip -4 addr show dev eth1 | grep 'inet' | awk '{print $2}' | cut -d/ -f1)
if [ -n "$WANIP" ]
then
V6PREFIX=$(printf ' 2602:100:%02x%02x:%02x%02x' $(echo $WANIP | tr . ' '))
ip tunnel add tun6rd mode sit ttl 255 remote any local $WANIP
ip link set tun6rd mtu 1280
ip link set tun6rd up
ip addr add $V6PREFIX:0::1/32 dev tun6rd
ip addr add $V6PREFIX:1::1/64 dev br0
ip -6 route add 2000::/3 via ::$HOST6RD dev tun6rd
kill -HUP $(cat /var/run/radvd.pid)
fi
echo "interface br0 { \
MinRtrAdvInterval 3; MaxRtrAdvInterval 10; AdvLinkMTU 1280; AdvSendAdvert on; \
prefix $V6PREFIX::/64 { AdvOnLink on; AdvAutonomous on; AdvValidLifetime 86400; \
AdvPreferredLifetime 86400; }; RDNSS 2607:f428:1::5353:1 2607:f428:2::5353:1 { }; };" \
> /tmp/radvd.conf
radvd -C /tmp/radvd.conf start
Steps for configuring:
1: On your router, go to Administration -> Management
2: Under "IPv6 Support" click "Enable", leave "Radvd" disabled.
3: Grab the script I have pasted above. Change 10.0.0.1 to your router's internal IP address.
4: Paste your modified script into Administration -> Commands
5: Click "Save Startup"
6: Reboot your router
All,
Thanks to mafiatfc for the code.
I just wanted to warn you about a potential problem with the command ip. It does not work properly on my LINKSYS router (Broadcom chip), it simply does not render the ip address. IN Mafiatfc code, i needed to replace ip with ifconfig to get my IPV4 address. strangely, all the other lines worked fine.
Here is how my second line looks like:
i needed not to replace other codes, but i think that others may have problems with ip command. I think it is partially implemented or it has an older version. can we get a fully fledged ip command in the future? The only router I have is a e4200 linksys.
After I modified this script i get 10/10 score when testing IPV6.
Thanks to all the contributors.