DHCP Lease "Life Cycle" Overview (Allocation, Reallocation, Renewal, Rebinding and Release) and Lease Timers (Page 1 of 2) The use of dynamic address allocation in DHCP means a whole new way of thinking about addresses. A client no longer owns an address, but rather leases it. This means that when a client machine is set to use DHCP dynamic addressing, it can never assume that it has an address on a permanent basis. Each time it powers up, it must engage in communications with a DHCP server to begin or confirm the lease of an address. It also must perform other activities over time to manage this lease and possibly terminate it. The DHCP Lease "Life Cycle"Calling dynamic address assignments leases is a good analogy, because a DHCP IP address lease is similar to a “real world” lease in a number of respects. For example, when you rent an apartment, you sign the lease. Then you use the apartment for a period of time. Typically, assuming you are happy with the place, you will renew the lease before it expires, so you can keep using it. If by the time you get near the end of the lease the owner of the apartment has not allowed you to renew it, you will probably lease a different apartment to ensure you have somewhere to live. And if you decide, say, to move out of the country, you may terminate the lease and not get another at all. DHCP leases follow a similar lease “life cycle”, which generally consists of the following phases:
Figure 259 illustrates the DHCP life cycle using an example that spans three leases.
Home - Table Of Contents - Contact Us The TCP/IP Guide (http://www.TCPIPGuide.com) Version 3.0 - Version Date: September 20, 2005 © Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
IP addresses that are dynamically allocated by a DHCP server have leases. A DHCP Discover message from a DHCP client can carry an expected lease. When allocating network parameters, the DHCP server compares the expected lease with the specified lease in the address pool and allocates an IP address with a smaller lease to the DHCP client. When the lease expires or the client goes offline, the DHCP server reclaims the IP address, which can then be allocated to other clients. This mechanism improves IP address utilization. To continue to use this IP address, the DHCP client must renew its IP address lease. Figure 3-5 shows how a DHCP client renews its IP address lease. Figure 3-5 Renewing an IP address lease
If a DHCP client does not need to use the allocated IP address before the lease expires, the DHCP client sends a DHCP Release message to the DHCP server to request IP address release. The DHCP server saves the configuration of this DHCP client and records the IP address in the allocated IP address list. The IP address can then be allocated to this DHCP client or other clients. A DHCP client can send a DHCP Inform message to the DHCP server to request configuration update. Figure 3-6 shows how a DHCP client renews its IP address lease when a DHCP relay agent is deployed. Figure 3-6 Renewing the IP address lease when a DHCP relay agent is deployed
This Document Applies to these Products |