This section explains how DHCP clients allow router interfaces to automatically acquire IP addresses and configuration information.
The DHCP client is a feature that enables router interfaces on the NCS 1004 to dynamically acquire an IPv4 or DHCPv6 server address, and forwards responses back to the correct Layer 2 address so that the correct device gets the correct configuration information.
A DHCP client is a network feature that
-
dynamically acquires an IPv4 or DHCPv6 server address for router interfaces,
-
allocates IP addresses to devices for a configurable lease period, and
-
automatically renews leases and forwards responses to the correct Layer 2 address to ensure proper device configuration.
Feature history
Feature name |
Release information |
Feature description |
|---|---|---|
| Dynamic Host Configuration Protocol (DHCP) Client |
Cisco IOS XR Release 7.3.2 |
The DHCP client enables the router interfaces to dynamically acquire the IPv4 or DHCPv4 or DHCPv6 server which is used to forward the response to the correct layer 2 address. The DHCP client ensures that configuration information reaches the correct device. |
The Dynamic Host Configuration Protocol (DHCP) client functionality enables the router interfaces to dynamically acquire the IPv4 or DHCPv4 or DHCPv6 server, and forwards the responses back to the correct Layer 2 address so that the correct device gets the correct configuration information.
DHCP has the ability to allocate IP addresses only for a configurable period of time, called the lease period. If the client is required to retain this IP address for a longer period beyond the lease period, the lease period must be renewed before the IP address expires. The client renews the lease based on configuration that was sent from the server. The client unicasts a REQUEST message using the IP address of the server. When a server receives the REQUEST message and responds with an ACK message. The lease period of the client is extended by the lease time configured in the ACK message. DHCP client supports DHCPv6.