I only installed OpenWrt for the first time today and got everything working except IPv6. I directly connect to the fiber cable output so I needed to use vlan6 and PPPoE. This creates a Virtual dynamic interface (DHCPv6 client) but I am not getting any IPv6 leases on any of my LAN clients. If I do a ping6 on the router it works but not on a LAN client.
/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 'fdec:a0e9:aa86::/48'
config device
option name 'eth0'
option mtu '1508'
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option mtu '1500'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '64'
config interface 'wan'
option ifname 'eth0.6'
option mtu '1508'
option proto 'pppoe'
option username 'something'
option password 'something'
option ipv6 'auto'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '0t 1 2 3 4'
config switch_vlan
option device 'switch0'
option vlan '6'
option vid '6'
option ports '0t 5t'
ifstatus wan_6
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": true,
"uptime": 1215,
"l3_device": "pppoe-wan",
"proto": "dhcpv6",
"device": "pppoe-wan",
"updated": [
"routes",
"prefixes",
"data"
],
"metric": 0,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
],
"ipv6-prefix": [
{
"address": "2a02:a445:4fbd::",
"mask": 48,
"preferred": 171575,
"valid": 257975,
"class": "wan_6",
"assigned": {
"lan": {
"address": "2a02:a445:4fbd::",
"mask": 64
}
}
}
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "::",
"mask": 0,
"nexthop": "fe80::627e:cdff:fe29:c83b",
"metric": 4096,
"valid": 257975,
"source": "2a02:a445:4fbd::/48"
}
],
"dns-server": [
"2a02:a47f:e000::53",
"2a02:a47f:e000::54"
],
"dns-search": [
],
"neighbors": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
]
},
"data": {
"passthru": "001700202a02a47fe000000000000000000000532a02a47fe00000000000000000000054",
"zone": "wan"
}
}
Would appreciate some help!