A dynamic IP address is assigned automatically through DHCP rather than configured manually. The client receives a lease through the DORA sequence: DISCOVER, OFFER, REQUEST, and ACK. section 4.1.1 section 4.4
Figure 4.2 Leasing an IPv4 address via DHCP (the DORA process): (1) DISCOVER from client to server, (2) OFFER from server to client, (3) REQUEST from client to server, (4) ACK from server to client.
Use the DORA sequence to trace how a client obtains and begins using a leased IPv4 address. section 4.1.1
Key operational facts include:
- Leases are temporary; clients typically begin renewal at 50 percent of the lease period. section 4.1.1
- Cisco IOS can obtain an interface address and default route from an ISP with ip address dhcp. section 4.1.3
- Verify assignments with show ip interface and show ip route; DHCP-learned routes appear with the S code. section 4.1.3
- Configure DHCP pools with network, default-router, dns-server, domain-name, and lease; inspect leases with show ip dhcp binding. section 4.4
