11-04-2024 02:57 AM - edited 11-04-2024 03:01 AM
I’m using the core switch as the DHCP server for 5 VLANs, with the first 10 IP addresses (.1 to .10) excluded. The lease time is set to 24 hours. However, when I check the DHCP client list or use the show ip dhcp binding command, it shows that IP addresses are being assigned out of sequence like it starts from 34 instead of 11 and like 34, 48, 50, and so on, and addresses are leased up to .254 or the current index. As a result, we’re experiencing IP exhaustion even though the full 254 addresses are not actually being leased out or used, as confirmed by the show ip dhcp pool command and manually checking it. What could be the possible solution for this? By the way, the setup has access switches connected to the core.
11-04-2024 03:06 AM
the DHCP use free IP it can in order or out of order.
in your case you can face exhausted dhcp, so best solution is reduce the lease to be 30 min
MHM
11-04-2024 03:41 AM
But 30 min is not the best practice, right? Because the recommended lease is 24 hours or 1 day
11-04-2024 03:43 AM
if the user is not connect anymore this make DHCP reserve it IP for 24 and hence the Pool of IP is exhausted by these user.
MHM
11-10-2024 05:05 PM
Do you have document for this "the DHCP use free IP it can in order or out of order." from cisco?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide