3.0 DHCP
3.0 DHCP
DHCP
Dynamic Host Configuration Protocol (DHCP) assigns IP addresses to hosts. It allows for easier
administration and works well in small to very large network environments. Many types of
hardware can be used as a DHCP server, including a Cisco router.
Here’s a list of the most common types of information a DHCP server can provide:
- IP address
- Subnet mask
- Domain name
- Default gateway (routers)
- DNS server address
- WINS server address
This is the four-step process a client takes to receive an IP address from a DHCP server:
1. The DHCP client broadcasts a DHCP Discover message looking for a DHCP server (Port 67).
2. The DHCP server that received the DHCP Discover message sends a layer 2 unicast DHCP
Offer message back to the host.
3. The client then broadcasts to the server a DHCP Request message asking for the offered IP
address and possibly other information.
4. The server finalizes the exchange with a unicast DHCP Acknowledgment message.
1
Configuring DHCP
2
[R1- s0/0/0] dhcp select global
Question:
How can one reserve a range of ip addresses in the dhcp pool for special devices like servers?
Run the display ip pool name <name> command on the router to view the assigned IP address
pool configuration parameters.
<R1>display ip pool name pool1