Closed agners closed 4 years ago
Ok, I figured out the problem: The reply messages source address is not in the link local address space which the firewall would accept (fe80::/10). Furthermore, the source port is 546. The firewall configuration of OpenWrt only opens UDP src port 547...
After opening port 546 with and src 2001:8e0::/32 odhcp6c accepted the IA and everything worked flawless. So odhcp6c is definitely not to blame here, this bug can be closed from that perspective.
However, if a DHCPv6 expert could answer this question:
According to the provider I should get a /56 subnet using PD. However, it does not appear to work on current Chaos Calmer RC3 (on a WNDR4300, odhcp6c d21764d).
I made a capture of the DHCPv6 packages while running odhcp6c manually on the WAN interface:
Wireshark capture file: https://cloud.agner.ch/public.php?service=files&t=842f0cf8d0023a348d2c334f56e34876
It seems that the replies from the servers are not accepted by odhcp6c, but it is not clear to me why... Probably due to some RFC3315 Section 15 validation?