mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-05-06 00:59:13 +00:00
Previously, makedhcp warned but still created host entries without a static IP reservation when a node's address fell inside the dynamic range. The node would silently get a random IP from the pool instead of its configured address. Now errors and skips the node on all four DHCP paths (ISC v4/v6, Kea v4/v6) with a clear message telling the admin to move the IP outside the range or adjust the dynamic range. This makes ISC DHCP and Kea behavior consistent and aligns with xCAT's design: the dynamic range is for hardware discovery, known nodes should have static IPs outside it. Closes #6539