How DHCP works

DHCP Process
How DHCP Works in an Ethernet/IP LAN environment and assumes the client is
obtaining a fresh lease without foreknowledge of the DHCP server’s IP address.
Note that this is highly simplified.
A client boots and initializes its network hardware
The client sends out a DHCPDISCOVER message formatted as follows:
The source MAC is the client’s MAC
The destination MAC is all 1’s indicating a hardware-layer broadcast
(FFFFFF-FFFFFF)
The message type is set to DHCPDISCOVER
The server hears the DHCPDISCOVER request and responds
The source MAC is the server’s MAC
The destination MAC is the client’s MAC
The message type is DHCPOFFER containing:
Server-provided IP address from pool of free addresses (the server should
but is not required to check for address conflicts before offering the IP
address).
List of DHCP configuration parameters
Client responds with DHCPREQUEST message and does one or more of the
following:
requests values for the server-offered parameters from a single server
(rejecting all offers from other servers)
confirm the correctness of the previously allocated IP address (after the
client had rebooted or lost connection to the network)
requests extension of the lease on the specific address already supplied.
The server responds with
a DHCPACKnowledge to confirm the server-offered options and IP previously
confirmed by the client –
– or-
a DHCPNOACKnowledge to reject the server-offered options.
– or –
a DHCPDECLINE message to indicate to the server the address is in use.
The client retains the information throughout the period of its lease.
The client sends a DHCPRELEASE message to release its IP address at the DHCP
server when it is leaving the network.

Advertisements

Posted on December 12, 2013, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: