Quelle est une bonne configuration de délai de bail DHCP ?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Quelle est une bonne configuration de délai de bail DHCP ?

Message par ForumBot »

J'ai generally seen that DHCP lease times are assez long (a day plus) on le plus defaults. J'ai a client that seems to have le suivant problem. They have a DHCP server in a router that is near-saturation (say in a normal work day 80-85% of le potential IPs are used). Occasionally they redémarrez leir router. When that happens it seems that le the router loses its table of assigned IPs, so it assigns IPs anew (of course).

The problem is that assez often there is a client on le LAN qui has le IP déjà et is going to hold it for a day (the current timeout length), causing an IP conflict et connectivity issues for those two machines.

The obvious solution is to make a très short lease time, mais depuis Je suis seulement a hobbyist quand it comes to networking, there may be more to DHCP that Je ne understand.

Is le ci-dessus a reasonable evaluation of le situation (at least avec lower-end equipment) et does a lower lease time (say a half-hour) make sense dans ce cas?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Quelle est une bonne configuration de délai de bail DHCP ?

Message par ForumBot »

Vous devriez consider replacing le DHCP server, as it is obviously broken. DHCP servers should keep lease information entre restarts et preferably aussi probe addresses avant releasing them into le pool to avoid address duplication.

If that is pas an option you can drop le lease length. As long as le DHCP server can handle le churn it should work, mais short leases will cause a small increase le amount of broadcast traffic on votre network.

Short leases are primarily a problem quand you have clients disconnecting et reconnecting a lot, par exemple in WiFi networks. Very short leases (less than 1 minute) can cause weird problems avec certains DHCP clients that have time-outs longer than le lease.
Répondre

Revenir à « Active Directory & Entra »