I have OpenWRT 18.06-rc1 installed on a Netgear R6220, and am trying to get IPv6 to work.
The problem is that OpenWRT doesn't obtain an IPv6 address from my ISP (comcast). If I connect my laptop (running Archlinux) directly to the modem, then I do get an IPv6 address on the laptop, and sites like test-ipv6.com say it works.
Rebooting OpenWRT didn't help. Reconnecting the WAN6 interface via LUCI, I only get the following in the system log:
Sun Jul 8 15:25:45 2018 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 8 15:25:45 2018 daemon.notice netifd: Interface 'wan6' is setting up now
And on the ssh-command line of the router I get
root@OpenWrt:~# ifstatus wan6
{
"up": false,
"pending": true,
"available": true,
"autostart": true,
"dynamic": false,
"proto": "dhcpv6",
"device": "eth0.2",
"data": {
}
}
What else can I try? Any help getting IPv6 working is appreciated!
Here is 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 globals 'globals'
option ula_prefix 'fdbd:fff6:fdf8::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config device 'lan_dev'
option name 'eth0.1'
option macaddr 'XX:XX:XX:XX:XX:11'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
config device 'wan_dev'
option name 'eth0.2'
option macaddr 'XX:XX:XX:XX:XX:10'
config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 6t'
option vid '1'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '4 6t'
option vid '2'
config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '2 3 6t'
config interface 'srvlan'
option proto 'static'
option ifname 'eth0.3'
option ipaddr '192.168.3.1'
option netmask '255.255.255.0'
option ip6assign '60'