From 8c39d2547af13d607c3a580b2cdcb4a68b1e18d6 Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Fri, 20 Sep 2024 10:55:32 -0300 Subject: [PATCH] Cable-guy: DHCP servers with unspecified lease ranges now serve 101-200 --- core/libs/commonwealth/commonwealth/utils/DHCPServerManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/libs/commonwealth/commonwealth/utils/DHCPServerManager.py b/core/libs/commonwealth/commonwealth/utils/DHCPServerManager.py index e092eed587..1fa2cf4f9a 100644 --- a/core/libs/commonwealth/commonwealth/utils/DHCPServerManager.py +++ b/core/libs/commonwealth/commonwealth/utils/DHCPServerManager.py @@ -34,7 +34,7 @@ def __init__( if ipv4_lease_range is None: # If no lease-range is defined we offer all available IPs for lease - ipv4_lease_range = (list(self.ipv4_network.hosts())[0], list(self.ipv4_network.hosts())[-1]) + ipv4_lease_range = (list(self.ipv4_network.hosts())[100], list(self.ipv4_network.hosts())[199]) self._ipv4_lease_range = ipv4_lease_range self._lease_time = lease_time