§ — — Network Administration
Dynamic Host Configuration Protocol for IPv4 (DHCPv4) automatically provides hosts with IP addressing information. Instead of manually assigning addresses to every device, administrators can configure a DHCP server to lease addresses and related settings.
By the end of this module, you should be able to:
A DHCPv4 client requests addressing information from a DHCPv4 server. A complete DHCP lease can include:
DHCP reduces configuration errors and makes address management easier in changing networks.
The initial DHCP process is often remembered as DORA:
Because a new client may not yet have an IP address or know the server address, early DHCP messages use broadcasts.
A client does not keep a leased address forever. Before the lease expires, it attempts to renew the lease, often by contacting the original DHCP server directly. If renewal fails, the client may eventually broadcast again to find any available DHCP server.
A Cisco router can provide DHCPv4 service for a small or lab network. Basic configuration includes:
ProReviewer — locked
Drills, code labs, and full solutions.
Useful checks include:
ProReviewer — locked
Drills, code labs, and full solutions.
If a router should not provide DHCP service, disable the DHCP service globally.
ProReviewer — locked
Drills, code labs, and full solutions.
DHCP clients use broadcasts at the start of the lease process. Routers do not normally forward broadcasts between networks. If the DHCP server is on a different subnet, configure DHCP relay on the interface that receives client broadcasts.
The relay address points to the DHCP server.
ProReviewer — locked
Drills, code labs, and full solutions.
A router interface can also receive an IP address from a DHCP server. This is common on an edge router connected to an ISP or upstream network.
ProReviewer — locked
Drills, code labs, and full solutions.
DHCPv4 automates IPv4 address assignment. Clients obtain leases through Discover, Offer, Request, and Acknowledge messages. Cisco IOS can act as a DHCP server, relay, or client. Verification commands help confirm pools, bindings, and client leases.
Done with this module? Track it — your progress shows on the subject list.
Up next
LAN Security Concepts→←Previous: EtherChannel