Users Guide

Supported
Releases
10.5.2.1 or later
Dynamic Host Configuration Protocol
Dynamic Host Configuration Protocol (DHCP) is an application layer protocol that dynamically assigns IP addresses and other
configuration parameters to network end-stations, also known as hosts, based on configuration policies network administrators
determine.
DHCP server Network device offering configuration parameters to the client.
DHCP client Network device requesting configuration parameters from the server.
Relay agent Intermediary network device that passes DHCP messages between the client and the server when the
server is not on the same subnet as the host.
If you attempt to enable (start) the DHCP server with an incorrect configuration, you must re-enable the DHCP server after you
enter the correct configuration.
Consider the following example, and assume that no interface matches either one of the network pools, netdhcp1 and netdhcp2:
OS10# show running-configuration ip dhcp
!
ip dhcp server
no disable
!
pool netdhcp1
lease infinite
network 35.1.1.0/24
!
pool netdhcp2
network 40.1.1.0/24
OS10# show ip interface brief
Interface Name IP-Address OK Method Status
Protocol
======================================================================================
===
Ethernet 1/1/1 unassigned YES unset up
up
Ethernet 1/1/2 unassigned YES unset up
up
Ethernet 1/1/32 unassigned NO unset up down
To resolve this issue, you must:
1. Configure a matching interface for pool netdhcp2-40.1.1.1/24 matches 40.1.1.0/24.
OS10(config)# interface ethernet 1/1/2
OS10(conf-if-eth1/1/2)# no shutdown
OS10(conf-if-eth1/1/2)# no switchport
OS10(conf-if-eth1/1/2)# ip address 40.1.1.1/24
System management
275