08.01.2025 01:38, Muggeridge, Matt wrote:
It behaves this way when using IPv4LLStartAddress. If the address is in use, it
chooses another from the 169.254/16 range.
OK, I missed this option.
...
What could be done is supporting something like
Address=169.254.4.0/24
with the semantic "pick any unused address in this range".
Yes, that's exactly what I'm after. I've been modifying ipv4ll_pick_address()
in src/libsystemd-network/sd-ipv4ll.c to achieve this. Hopefully, I'll have some
results today.
Call it IPv4LLAddressRange? Then it will fit nicely into the existing
IPv4LLStartAddress and overall IPv4LL handling.