I recently got a new modem from my ISP (changed from coax to fiber), and was unable to get IPv6. I know the issue lies that the wan is not getting ipv6, but wasn't sure if it was because for some reason the ISP doesn't have ipv6 with fiber (had it with coaxial), or because some configuration on my router. My router is connected directly to the ONT, and the relevant part of network file is:
config interface 'wan'
option device 'wan.10'
option proto 'pppoe'
option username 'username'
option password 'password'
option ipv6 'auto'
config interface 'wan6'
option device 'wan.10'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix 'auto'
I successfully get an IPv4, but no IPv6. Calling the ISP got nowhere, they just said "we should have IPv6, but there's nothing I can do to diagnose it". Of note, is that the ISP's router also does not get IPv6 (but I'm not using that router, as mentioned my openwrt router is plugged directly to the fiber "modem".
In the log I get these errors:
daemon.err odhcp6c[3402]: Failed to send RS (Address not available)
daemon.err odhcp6c[3402]: Failed to send SOLICIT message to ff02::1:2 (Address not available)
Doing a tcpdump:
root@openwrt:~# tcpdump -i wan.20 'ip6 multicast and udp port 547'
15:37:21.381050 IP6 fe80::1234:12ff:fea0:a123.123 > ff02::1:2.547: dhcp6 solicit
So it seems I get a link local address, and so it seems it's not the issue of having no link local as described here.
I'm not sure if this is correct, but I tried pinging that server with:
ping6 -c 4 ff02::1:2%wan.20
But get no response. The firewall has the default traffic rule for "Allow-DHCPv6", (incoming ipv6, protocol udp, from wan, to this device, port 546, accept input, enabled)
Is it safe to assume that it's the ISP that does not have any DHCPv6 set up from these tests? Or is there something else I can do to make sure I don't have any missing configuration on my side?