openwrt / odhcpd

This repository is a mirror of https://git.openwrt.org/?p=project/odhcpd.git. Pull requests will be accepted which will be merged in odhcpd.git
GNU General Public License v2.0
160 stars 96 forks source link

[RFC - bug or design?] race condition between ULA and GUA on the same interface #153

Open ghost opened 4 years ago

ghost commented 4 years ago

With dhcpv6_assignall '0' working as advertised it introduces a race condition between ULA and GUA on the same interface since the longest preferred lifetime corroborates to the client's interface where both, GUA and ULA are to be assigned.

Thus with dhcpv6_assignall '0' deployed it is observed that a stateful DHCPv6 client only gets ULA or GUA but not both, despite each serving different address spaces; basically rendering them mutually exclusive.

Is that the intended design or rather an unintended consequence?

It does not seem to make sense that ULA and GUA are becoming mutually exclusive as serving different purposes (address spaces).