dslreports logo
 
    All Forums Hot Topics Gallery
spc
uniqs
7

whfsdude
Premium Member
join:2003-04-05
Washington, DC

whfsdude to bvanderhaar

Premium Member

to bvanderhaar

Re: [IPv6] OpenWRT and Comcast IPv6

I see a few problems with your dhcp6c.conf that would prevent PD from working. (I'll give you some guidance tomorrow).

Don't think it would prevent dhcp6 from working on the on-link interface though.

One silly thing to check for right now is to make sure the dhcp6c client is actually running.

ps aux | grep 'dhcp6c'
bvanderhaar
join:2012-07-04

bvanderhaar

Member

dhcp6c appears to be running:
1071 root 928 S /usr/sbin/dhcp6c -c /var/etc/dhcp6c.conf -D eth0.2
CMoore2004
Premium Member
join:2003-02-06
Jonesville, MI

4 edits

CMoore2004

Premium Member

If you're absolutely sure they have proper IPv6 instead of 6to4 tunneling in your area... here's my working dhcp6c.conf
root@WZR-HP-AG300H:~# cat /var/etc/dhcp6c.conf
interface eth1 {
        send ia-pd 0;
        send ia-na 0;
        script "/usr/bin/dhcp6c-state";
        request domain-name-servers;
};
 
id-assoc pd 0 {
        prefix-interface br-lan {
                sla-id 1;
                sla-len 0;
        };
};
 
id-assoc na 0 {
};
 

Here are my installed packages
base-files - 117-r34185
busybox - 1.19.4-5
detect-new-ip6 - 0.7-1
dhcp6-client - 1.0-1
dnsmasq - 2.62-2
dropbear - 2011.54-2
firewall - 2-53
hotplug2 - 1.0-beta-4
ip - 3.3.0-1
ip6tables - 1.4.10-4
iptables - 1.4.10-4
iputils-traceroute6 - 20101006-1
iw - 3.6-1
jshn - 2012-10-31.1-407f7a0bb3272ee03f2eb05391ce8b94238fa92e
kernel - 3.3.8-1-5440da3a2c45184a32da6bba25b8dd2a
kmod-ath - 3.3.8+2012-09-07-3
kmod-ath9k - 3.3.8+2012-09-07-3
kmod-ath9k-common - 3.3.8+2012-09-07-3
kmod-cfg80211 - 3.3.8+2012-09-07-3
kmod-crypto-aes - 3.3.8-1
kmod-crypto-arc4 - 3.3.8-1
kmod-crypto-core - 3.3.8-1
kmod-gpio-button-hotplug - 3.3.8-1
kmod-ip6tables - 3.3.8-1
kmod-ipt-conntrack - 3.3.8-1
kmod-ipt-core - 3.3.8-1
kmod-ipt-nat - 3.3.8-1
kmod-ipt-nathelper - 3.3.8-1
kmod-ipv6 - 3.3.8-1
kmod-leds-gpio - 3.3.8-1
kmod-ledtrig-default-on - 3.3.8-1
kmod-ledtrig-netdev - 3.3.8-1
kmod-ledtrig-timer - 3.3.8-1
kmod-ledtrig-usbdev - 3.3.8-1
kmod-lib-crc-ccitt - 3.3.8-1
kmod-mac80211 - 3.3.8+2012-09-07-3
kmod-nls-base - 3.3.8-1
kmod-ppp - 3.3.8-1
kmod-pppoe - 3.3.8-1
kmod-pppox - 3.3.8-1
kmod-usb-core - 3.3.8-1
kmod-usb-ohci - 3.3.8-1
kmod-usb2 - 3.3.8-1
kmod-wdt-ath79 - 3.3.8-1
libblobmsg-json - 2012-10-31.1-407f7a0bb3272ee03f2eb05391ce8b94238fa92e
libc - 0.9.33.2-1
libdaemon - 0.14-2
libgcc - 4.6-linaro-1
libip4tc - 1.4.10-4
libip6tc - 1.4.10-4
libiwinfo - 36
libiwinfo-lua - 36
libjson - 0.9-2
liblua - 5.1.4-8
libncurses - 5.7-5
libnl-tiny - 0.1-3
libpcap - 1.1.1-2
libpthread - 0.9.33.2-1
librt - 0.9.33.2-1
libubox - 2012-10-31.1-407f7a0bb3272ee03f2eb05391ce8b94238fa92e
libubus - 2012-06-01-a62e2f8c15a65efb1a82404d8f31e3bfc1cbe7d9
libubus-lua - 2012-06-01-a62e2f8c15a65efb1a82404d8f31e3bfc1cbe7d9
libuci - 2012-03-28.1-1
libuci-lua - 2012-03-28.1-1
libxtables - 1.4.10-4
lua - 5.1.4-8
luci - 0.11+svn9425-1
luci-app-firewall - 0.11+svn9425-1
luci-i18n-english - 0.11+svn9425-1
luci-lib-core - 0.11+svn9425-1
luci-lib-ipkg - 0.11+svn9425-1
luci-lib-lmo - 0.11+svn9425-1
luci-lib-nixio - 0.11+svn9425-1
luci-lib-sys - 0.11+svn9425-1
luci-lib-web - 0.11+svn9425-1
luci-mod-admin-core - 0.11+svn9425-1
luci-mod-admin-full - 0.11+svn9425-1
luci-proto-core - 0.11+svn9425-1
luci-proto-ppp - 0.11+svn9425-1
luci-sgi-cgi - 0.11+svn9425-1
luci-theme-base - 0.11+svn9425-1
luci-theme-openwrt - 0.11+svn9425-1
mtd - 18.1
netifd - 2012-10-19-a9fd870450e82f31cba681651656276dfc1c39ac
opkg - 618-2
ppp - 2.4.5-7
ppp-mod-pppoe - 2.4.5-7
radvd - 1.9.1-2
swconfig - 10
tcpdump - 4.2.1-2
terminfo - 5.7-5
uboot-envtools - 2012.04.01-1
ubus - 2012-06-01-a62e2f8c15a65efb1a82404d8f31e3bfc1cbe7d9
ubusd - 2012-06-01-a62e2f8c15a65efb1a82404d8f31e3bfc1cbe7d9
uci - 2012-03-28.1-1
uhttpd - 2012-10-30-e57bf6d8bfa465a50eea2c30269acdfe751a46fd
wide-dhcpv6-client - 20080615-11
wide-dhcpv6-server - 20080615-11
wpad-mini - 20120910-1

Make sure to enable the proper packages so they're run at startup and be sure they're running.

Here's my ifconfig output:
br-lan    Link encap:Ethernet  HWaddr 10:6F:3F:XX:XX:XX
          inet addr:172.16.1.1  Bcast:172.16.1.255  Mask:255.255.255.0
          inet6 addr: 2601:4:3500:35:126f:3fff:fe28:xxxx/64 Scope:Global
          inet6 addr: fe80::126f:3fff:fe28:xxxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11410697 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21575426 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:874781380 (834.2 MiB)  TX bytes:30647430101 (28.5 GiB)
 
eth0      Link encap:Ethernet  HWaddr 10:6F:XX:XX:XX:XX
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5679448 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12544092 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:379629909 (362.0 MiB)  TX bytes:1452172592 (1.3 GiB)
          Interrupt:4
 
eth1      Link encap:Ethernet  HWaddr 10:6F:XX:XX:XX:XX
          inet addr:68.41.11.10  Bcast:68.41.11.255  Mask:255.255.252.0
          inet6 addr: 2001:558:6007:6a:20c9:35a5:xxxx:xxxx/128 Scope:Global
          inet6 addr: fe80::126f:3fff:xxxx:xxxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:32058132 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11283941 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1261719809 (1.1 GiB)  TX bytes:1023844820 (976.4 MiB)
          Interrupt:5
 
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  MTU:16436  Metric:1
          RX packets:799 errors:0 dropped:0 overruns:0 frame:0
          TX packets:799 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:135540 (132.3 KiB)  TX bytes:135540 (132.3 KiB)
 
wlan0     Link encap:Ethernet  HWaddr 10:6F:XX:XX:XX:XX
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2329399 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3816588 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:289777427 (276.3 MiB)  TX bytes:363251825 (346.4 MiB)
 
wlan1     Link encap:Ethernet  HWaddr 10:6F:3F:XX:XX:XX
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3435344 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5848396 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:374814256 (357.4 MiB)  TX bytes:3313698523 (3.0 GiB)
 

And... my RADVD configuration:
root@WZR-HP-AG300H:~# cat /var/etc/radvd.conf
interface br-lan
{
        AdvSendAdvert on;
        AdvManagedFlag off;
        AdvOtherConfigFlag off;
 
        prefix 2601:4:3500:35:126f:3fff:xxxx:xxxx/64
        {
                AdvOnLink on;
                AdvAutonomous on;
                AdvRouterAddr off;
        };
};
 

And lastly, my /etc/config/network
config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'
 
config interface 'lan'
        option ifname 'eth0'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ipaddr '172.16.1.1'
#       option broadcast '1'
#       option accept_ra '0'
#       option send_rs '1'
 
config interface 'wan'
        option ifname 'eth1'
        option proto 'dhcp'
        option hostname 'WZR-HP-AG300H'
        option broadcast '1'
        option accept_ra '1'
        option send_rs '0'
        option ipv6 '1'
 
config switch
        option name 'eth0'
        option reset '1'
        option enable_vlan '1'
 
config switch_vlan
        option device 'eth0'
        option vlan '1'
        option ports '0 1 2 3 4'
 

I wasn't aware there was some script to update the prefix, I'll look into modifying the script posted above earlier so I don't have anything configured static.

Edit: Fixed things, masked a few things... like 3 times.
bvanderhaar
join:2012-07-04

bvanderhaar

Member

Thanks for posting your configuration. I only have subtle differences in configuration - /var/etc/radvd.conf does not have the prefix section and /var/etc/dhcp6c.conf has an additional section within id-assoc pd 0.

id-assoc pd 0 {
        prefix-interface lo {
                sla-id 0;
                sla-len 0;
        };
        prefix-interface br-lan {
                sla-id 1;
                sla-len 0;
        };
};
 

I'm thinking my area is 6to4 and not native IPv6 as I originally thought. I'll have to hookup my laptop again when I get home to verify.
bvanderhaar

bvanderhaar

Member

It appears my area is not native IPv6 (or at least not anymore).

When I first hooked up Comcast about 4 months ago, I remember scoring a 10/10 on test-ipv6 and verifying I had native IPv6. I've switched modems since then, but that is all that has changed. Thanks everyone for your help, at least I know I'm ready when native IPv6 arrives.

aefstoggaflm
Open Source Fan
Premium Member
join:2002-03-04
Bethlehem, PA
Linksys E4200
ARRIS SB6141

aefstoggaflm

Premium Member

said by bvanderhaar:

It appears my area is not native IPv6 (or at least not anymore).

When I first hooked up Comcast about 4 months ago, I remember scoring a 10/10 on test-ipv6 and verifying I had native IPv6. I've switched modems since then, but that is all that has changed.

What is the brand and model of your new modem?
bvanderhaar
join:2012-07-04

bvanderhaar

Member

Zoom 5341J. My modem died about 30 days after installation. Zoom sent me a replacement. So I swapped for the same model & brand, just a different physical modem.

whfsdude
Premium Member
join:2003-04-05
Washington, DC

whfsdude

Premium Member

said by bvanderhaar:

Zoom 5341J. My modem died about 30 days after installation. Zoom sent me a replacement. So I swapped for the same model & brand, just a different physical modem.

You should give NetDog a PM to have him check your CMTS for v6. Just provide him with your modem's MAC and your IPv4 address.
bvanderhaar
join:2012-07-04

bvanderhaar

Member

PM sent. I'll let you know what he finds.