< Home

DHCP Leases and Address Pools

DHCP Leases

A lease is defined as the time period for which a DHCP server allocates an IP address to a client. The lease can be extended upon subsequent requests. If the client no longer needs the IP address, it can release the address back to the server before the lease expires. The server is then free to assign this address to a different client if no other idle IP address is available.

The lease period configured for a DHCP server applies to all of the IP addresses that a DHCP server dynamically assigns to its clients. A different DHCP server may have a different lease term for its clients. A statically allocated IP address is not subject to the lease terms.

A DHCP client does not wait for its lease to expire, because it may be assigned a different IP address. Instead, when a DHCP client reaches the halfway point of its lease period, it attempts to extend its lease so that it retains the same IP address.

Address Pools

An address pool is a set of all the IP addresses that a DHCP server has reserved for dynamic client allocation. Along with each IP address, the server stores certain network parameters, such as a default lease length for the IP address and other configuration parameters (for example, a subnet mask and the address of the default gateway) to be sent to the client when it is assigned that IP address.

Address pools are classified into interface address pools and global address pools.

A DHCP server selects address pools according to whether a DHCP relay agent is deployed. When no relay agent is deployed, the server selects the address pool on the same network segment as the IP address of the interface receiving DHCP Request messages. When relay agents are deployed, the server selects the address pool on the same network segment as the IP address specified in the giaddr field of received DHCP Request messages.

The number of IP addresses required in an address pool depends mainly on the number of clients that will connect to the network and the frequency at which they connect and disconnect.

IP addresses in an address pool can be in the following status based on the IP address usage:

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >