]> git.puffer.fish Git - mirror/pve-network.git/commit
subnet: dhcp: do not allow overlapping dhcp ranges
authorStefan Hanreich <s.hanreich@proxmox.com>
Fri, 7 Mar 2025 12:50:56 +0000 (13:50 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Apr 2025 16:35:43 +0000 (18:35 +0200)
commit3a904729fdc1e0b6b52e404a56221304cb62c011
tree6ca6167ce8d375657e7e1e4a79a811196705a485
parentf5ad8efc4e5fadd24311c06afb2c93a0eb65a575
subnet: dhcp: do not allow overlapping dhcp ranges

Check for overlapping DHCP ranges and reject them if there are any
overlaps. If we can be certain that there are no overlapping DHCP
ranges this saves us from running into errors later in IPAM modules
where overlapping DHCP ranges are not allowed.

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
Tested-by: Hannes Duerr <h.duerr@proxmox.com>
Link: https://lore.proxmox.com/20250307125056.169575-4-s.hanreich@proxmox.com
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Network/SDN/SubnetPlugin.pm