Skip to content

DHCP process

Discover

  • The device sends a DHCP Discover message using UDP (because it does not have an IP).
    • It’s a broadcast connection that the router ignores (since no IP) but is accepted by the DHCP server.
      • DHCPDiscover_visual.png

Offer

  • Since the DHCP server accepts the message from the device, it sends a message (offer via UDP /67) with a potential IP.
  • The device receives the message from the DHCP server with the IP.

Request

  • The device asks the server whether the IP provided by the DHCP server is correct.
    • DHCPRequest_visual.png

Acknowledgment

  • The DHCP server sends a broadcast message to all.
    • The device then configures itself with the IP that was originally sent in the offer and acknowledges.
    • DHCPAcknowledgment_visual.png

DHCP relay