Dynamic Host Configuration Protocol (DHCP) : What Is DHCP ? Why DHCP Required ? DHCP Messages
Dynamic Host Configuration Protocol (DHCP) : What Is DHCP ? Why DHCP Required ? DHCP Messages
(DHCP)
What is DHCP ?
Why DHCP required ?
DHCP messages
OPM
What is DHCP ?
An application layer protocol , widely used alternative which
addresses limitations of RARP & InRARP.
RFC 2131
Runs over UDP , port no. 67 & 68 are used for DHCP server&
client respectively.
Provides automatic configuration of the host connected to network
or booted
Provides hosts with initial configuration information upon bootup:
IP address with subnet mask,
default gateway,
IP address of the DNS server .
OPM
(not selected)
DHCP discover
client
determine
configuration
server B
(selected)
DHCP discover
DHCP offer
DHCP offer
determine
configuration
select configuration
DHCP request
DHCP request
DHCP ack
Initialization completes
using the allocated configuration
graceful shutdown
DHCP release
OPM
discard lease
3
The source of the DHCP message sets known values of various fields, Zero to unknown filed values
OPM
DHCPDISCOVER
The client broadcasts message in search of available DHCP servers.
DHCPOFFER
The server response to the client DHCPDISCOVER with offer of configuration
parameters .
DHCPREQUEST
The client broadcasts to the server, requesting offered parameters from one server
specifically.
Confirms correctness of previously allocated address after, e.g., system reboot.
Extends the lease on a particular network address.
DHCPRELEASE
The client-to-server communication, relinquishing network address and canceling
remaining lease.
OPM
DHCPACK
The server-to-client communication with configuration parameters, including
committed network address.
DHCPNAK
Server to client indicating client's notion of network address is incorrect (e.g., client
has moved to new subnet) or client's lease as expired
DHCPDECLINE
The client-to-server communication, indicating that the network address is already
in use.
DHCPINFORM
The client-to-server communication, asking for only local configuration parameters
that the client already has externally configured as an address.
OPM
OPM