No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - IP Service

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DHCP policy VLAN, DNS, mDNS gateway, mDNS relay, UDP Helper, IP performance optimization, IPv6, DHCPv6, IPv6 DNS, IPv6 over IPv4 tunnel, and IPv4 over IPv6 tunnel.
Rate and give feedback:
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).
How a DHCP Client Renews Its IP Address Lease

How a DHCP Client Renews Its IP Address Lease

IP addresses that are dynamically allocated by a DHCP server have leases. However, a DHCP client may request a specific lease term by adding information to a DHCP Discover message. When allocating network parameters, the DHCP server compares the expected lease with the lease specified in the address pool and allocates an IP address with a smaller lease to the DHCP client. When the lease expires or a client logs out and releases its IP address, the server reclaims the IP address, which can then be allocated to other clients. To continue using this IP address, the client must renew its IP address lease.

Figure 3-8 shows how a DHCP client renews its IP address lease.

Figure 3-8  Renewing an IP address lease

  1. When the lease reaches 50% (T1) of its validity period, the DHCP client unicasts a DHCP Request message to the DHCP server to request lease renewal. If the server renews the lease (counted from 0), it sends a DHCP Ack message to the client. If the server rejects the renewal request, it sends a DHCP Nak message to the client, which must then send a DHCP Discover message to apply for a new IP address.

  2. If no response is received from the DHCP server when the lease reaches 87.5% (T2) of its validity period, the DHCP client broadcasts a DHCP Request message to request lease renewal. Similar to T1, if the client receives a DHCP Ack message, the server has renewed the lease; if the client receives a DHCP Nak message, the client must send a DHCP Discover message to apply for a new IP address.
  3. If no response is received when the lease expires, the client stops using the IP address and sends a DHCP Discover message to apply for a new IP address.

When a DHCP client no longer needs to use its allocated IP address and the lease has not expired, the client sends a DHCP Release message to the DHCP server to request IP address release. The server saves the configuration of this client and records the IP address in the allocated IP address list. The IP address can then be allocated to this client or other clients. To request a configuration update, a client can send a DHCP Inform message to the server.

The renewal process is similar when a DHCP relay agent is used. Figure 3-9 shows how a DHCP client renews its IP address lease when a DHCP relay agent is deployed.

Figure 3-9  Renewing the IP address lease when a DHCP relay agent is deployed

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100065678

Views: 30279

Downloads: 226

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next