Got IPv6 from ISP on WAN, but cannot get it on the LAN interfaces. I think that it doesn't forward Solicitation at all. Is my setup OK, and what could I check more?
Thanks!
root@OpenWrt:~# ifstatus wan6
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 2910,
"l3_device": "wan",
"proto": "dhcpv6",
"device": "wan",
"metric": 0,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
{
"address": "2001:--edited--",
"mask": 128,
"preferred": 691,
"valid": 691
}
],
"ipv6-prefix": [
{
"address": "2001:--edited--",
"mask": 48,
"preferred": 691,
"valid": 691,
"class": "wan6",
"assigned": {
"lan": {
"address": "2001:--edited--:abcd::",
"mask": 64
}
}
}
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "::",
"mask": 0,
"nexthop": "fe80::--edited--:ca7b",
"metric": 512,
"valid": 1780,
"source": "2001:--edited--::/48"
},
{
"target": "::",
"mask": 0,
"nexthop": "fe80::--edited--:ca7b",
"metric": 512,
"valid": 1780,
"source": "2001:--edited--/128"
}
],
"dns-server": [
"2001:--edited--::253",
"2001:--edited--::253"
],
"dns-search": [
],
"neighbors": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
]
},
"data": {
"passthru": "0017002020014600--edited--00000000000253"
}
}
root@OpenWrt:~# cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.31.1'
option ip6assign '64'
option ip6hint 'abcd'
config interface 'wan'
option device 'wan'
option proto 'dhcp'
option delegate '0'
config interface 'wan6'
option device 'wan'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix '48'
config interface 'vpn'
option proto 'wireguard'
option peerdns '0'
list dns '8.8.8.8'
option listen_port '51000'
option private_key '--edited--'
list addresses '10.9.0.2/32'
config wireguard_vpn
option description 'Imported peer configuration'
list allowed_ips '0.0.0.0/0'
option endpoint_port '51820'
option endpoint_host '--edited--'
option public_key '--edited--'
option persistent_keepalive '25'
config interface 'ETV'
option proto 'wireguard'
option peerdns '0'
list dns '8.8.8.8'
list dns '8.8.4.4'
option private_key '--edited--'
list addresses '10.9.1.2/24'
option listen_port '1111'
config wireguard_ETV
option description 'Imported peer configuration'
list allowed_ips '0.0.0.0/0'
option public_key '--edited--'
root@OpenWrt:~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option localservice '1'
option ednspacket_max '1232'
config dhcp 'lan'
option interface 'lan'
option leasetime '10m'
option dhcpv4 'server'
option start '150'
option limit '40'
option ra 'relay'
option dhcpv6 'relay'
option ndp 'relay'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
config host
option ip '192.168.31.125'
option mac '00:--edited--:01'
config host
option name 'DESKTOP-2OKHU43'
option ip '192.168.31.151'
option mac '18:--edited--:C9'
config host
option name 'vmware-v'
option dns '1'
option mac '00:--edited--:30'
option ip '192.168.31.111'
config dhcp 'wan6'
option interface 'wan6'
option start '100'
option limit '150'
option leasetime '10m'
option ra 'relay'
option dhcpv6 'relay'
option ndp 'relay'
option master '1'