Add IPV6 proper rfc6603 support
The current ipv6 WAN client implementation lack support for https://datatracker.ietf.org/doc/html/rfc6603
The current option allow to check DHCP6 and prefix delegation, first the DHCP server won't send an ipv6 for the WAN so the script will write 4 message every 2 seconds on the log:
2024-09-04 23:58:22 dhcp6c[8689]: <6> 265054 receive reply from server with ipv6 <null> and dns <null> 2024-09-04 23:58:22 dhcp6c[8689]: <6> 265053 send request to server with ipv6 <null> and dns <null> 2024-09-04 23:58:21 dhcp6c[8689]: <6> 265052 receive advertise with ipv6 <null> and dns <null> 2024-09-04 23:58:21 dhcp6c[8689]: <6> 265051 send solicit with DUID 00:03:00:01:XX:XX:XX:XX:XX:XX and IAID 1 |
Still the script get the prefix and the DNS so it's kind of work YET RFC expect the script to expect not to get an IP address, create a subnet inside the delegated prefix and assigne itself the WAN an ipv6 in this subnet. example ISP send a /56 or /60 and the script should cretae a /64 and assigned an IP from this subnet to the WAN and then either use same /64 for LAN or create another one for LAN.
The biggest issue right now is the amount of request send to ISP due to the script not allowing no ip address to tbe provided...