I've finally managed to get a patch together for the IPv6 Prefix Delgation support I've been working on. This has been tested with Internode's trial native ADSL IPv6 service.
A few things to note:
- UDP 546 incoming needs to be open in the IPv6 firewall to allow responses from the dhcpv6 server to be received. This should be done in the firewall code when ipv6_service == native-pd.
- dhcp6c is currently started with the -D flag to provide more debugging information. The flag could be removed now as it tends to be quite noisy.
- There is no gui for this in basic-ipv6.asp yet. I've started on it, but I haven't yet worked out what to do about tomato.c expecting the hidden form field ipv6_rtr_addr to be V_IPV6. All the page needs is to allow the user to select "Native IPv6 w/ Prefix Delegation" - the value native-pd - and to specify the ipv6_prefix_length (60 for Internode). Saving a dummy IPv6 address in ipv6_rtr_addr seems a bit dirty.
- This may not be the best way to get this working, but it's been working fine for me for the last few days, and I wanted to get something out there.