DHCP (Dynamic Host Configuration Protocol) is a network management protocol used to automatically assign IP addresses and other network configuration parameters to devices on a network. This removes the need for manual IP configuration.

When a device connects to a network and does not have a statically assigned IP address, it initiates a DHCP exchange to obtain one dynamically.

image.png


1- DHCP Operation: The DORA Process

DHCP operates using a 4-step handshake known as DORA:

image.png

  1. DHCP Discover
  2. DHCP Offer
  3. DHCP Request
  4. DHCP Acknowledge

2- Packet Behavior


3- DHCP Lease & Renewal