DHCP
- Dynamic Host Configuration Protocol is a client/server protocol that automatically provides a host with its IP address and other related configuration information such as the subnet mask and default gateway.
- DHCP Relay Agent's forward DHCP messages, eliminating the need for a DHCP server on every subnet
- DHCP requests are Broadcast messages
DHCP Operations
DORA: DHCP Operations Order
- Discover: DHCP Discover (Client, Broadcast)
- Offer: DHCP Offer (Server, Unicast/Broadcast)
- Request: DHCP Request (Client, Broadcast)
- Ack: DHCP Ack (Server, Unicast/Broadcast)
DHCP Server messages
- OFFER
- Initial response to a client request
- ACK
- Provisioning of IP address and DHCP information
- NAK
- Decline's a user's request for provisioning
- Opposite of an ACK
DHCP Client Messages
- DISCOVER
- Initial packet searching for a DHCP server
- REQUEST
- IP address/DHCP information provisioning request
- RELEASE
- Release of leased IP address
- DECLINE
- Decline offered IP address by a server
DHCP Commands
- Create a DHCP pool
Config# ip dhcp pool <Pool Name>
- Lease shows detailed information related to the IP lease itself, like renewal time, client hostname, etc.
- Binding shows summary device-specific information (i.e., MAC address, expiration, etc.)
OSI or TCP/IP Layer
CCNA Exam Topic
#extop-4-3 #extop-4-6
Contributors
Sources