← Back to list

How DHCP Assigns an IP Address

DHCP (Dynamic Host Configuration Protocol) is a network protocol that automatically gives an IP address to a device when it connects to a…

Buddika Abeykoon · 2026-07-12 16:36 · 0 claps · 0.6 min read
#dhcp-server #protocol #ip #router
Open on Medium ↗

How DHCP Assigns an IP Address

DHCP (Dynamic Host Configuration Protocol) is a network protocol that automatically gives an IP address to a device when it connects to a network. It uses four simple steps called DORA,

  • Discover
  • Offer
  • Request
  • Acknowledgment (ACK) First, the client sends a Discover message to find a DHCP server. Next, the DHCP server replies with an Offer that contains an available IP address. Then, the client sends a Request message to accept the offered IP address. Finally, the DHCP server sends an ACK message to confirm the IP address and other network settings. After this process is complete, the client can communicate on the network and access the internet.

메타데이터
post_id
fab7e1413554
slug
how-dhcp-assigns-an-ip-address-fab7e1413554
url
https://medium.com/@buddikab97/how-dhcp-assigns-an-ip-address-fab7e1413554
canonical_url
https://medium.com/@buddikab97/how-dhcp-assigns-an-ip-address-fab7e1413554
author_url
https://medium.com/@buddikab97
status
ok
fetched_at
2026-07-13 12:04:51