RSS Feed

DHCP (Dynamic Host Configuration Protocol)

Some network nodes utilize the DHCP (Dynamic Host Configuration Protocol) to automatically retrieve their network configurations from a centralized server.

The network configuration information that the DHCP server provides can include items such as:

DHCP DHCP (Dynamic Host Configuration Protocol)

  • DNS server IP addresses
  • DNS hostname
  • The default router’s IP address
  • Broadcast address
  • Subnet mask
  • ARP cache timeout
  • MTU for the interface
  • NTP Servers
  • SMTP server
  • TFTP server
  • WINS name server

The DHCP clients’ MAC addresses identify them.

The DHCP protocol utilizes UDP ports 67 and 68, which are the same ports that BOOTP uses.

DHCP Messages

The DHCP protocol consists of eight discrete message types:

DHCP Message Description
DHCP Discover UDP broadcast from DHCP client to locate available servers.
DHCP Offer DHCP server to client in response to DHCP Discover with offer of configuration parameters.
DHCP Request Client response to servers either requesting offered parameters from one server and implicitly declining offers from all others, confirming correctness of previously allocated address after, e.g. system reboot, or extending the lease on a particular network address.
DHCP ACK Server to client with configuration parameters, including committed network address.
DHCP NAK Server to client indicating client’s notion of network address is incorrect (e.g. client has moved to new subnet) or client’s lease has expired.
DHCP Decline Error message from DHCP client to server indicating network address is already in use.
DHCP Release Message from DHCP client to server releasing network address and canceling remaining lease.
DHCP Inform Client asking DHCP server only for local configuration parameters because the client already has externally configured network address.

Additional Reading on DHCP

The DHCP protocol is defined in RFC 2131: Dynamic Host Configuration Protocol.

Respond to “DHCP (Dynamic Host Configuration Protocol)”
  1. Ravi says:

    This website is just too good. you cant get better than that. I M just so so thankful .. My heartiest thanking for everything in the website. cheers to you.

  2. juliette says:

    I mhad an ip add for my swam security system, them mmy system crashed.  how do I get it back up and running ???

  3. Technical Tips - Tips for IT Professionals says:

    Very useful information about DHCP. Thank you!

Leave a Reply

Post your comments and questions below, but please follow our commenting guidelines.


Path: Home > Networking > Network Layer > DHCP (Dynamic Host Configuration Protocol)