Press "Enter" to skip to content

Automatic allocation of IP by DHCP [closed]

        I'm trying to understand the mechanism of permanent IP address allocation, i.e. whenever a client connects (even after long period being disconnected form the network), it receives the same IP. I assume this is only true when both DHCP server &amp; client keep leases information. So I checked the relevant standard <a href="https://datatracker.ietf.org/doc/html/rfc2131" rel="nofollow noreferrer">https://datatracker.ietf.org/doc/html/rfc2131</a> and it basically talks about &quot;infinite&quot; lease, either requested by the client, or explicitly set by the server. But does the client still maintain T1 and T2 timers (re-new and re-bind), or of the server explicitly set the infinite lease time, the client never needs to renew its lease?
However, I don't understand how a client can possibly receive the same IP, when it was turned off for a long period of time, then comes back online -- it may not have any lease information, so it'd start all over again (discover, offer, ack etc.) ?

Be First to Comment

Leave a Reply