DHCP (Dynamic Host Configuration Protocol) is a client-server protocol in which a device broadcasts a request and a DHCP server replies with a leased IP address plus settings such as the gateway and DNS resolvers.
Why it matters
Without DHCP every device would need manual configuration, and duplicate addresses would be common. The lease has a duration; the client renews it halfway through. Servers can reserve a fixed address for a given MAC address so important devices keep the same IP. A broken DHCP server often shows up as devices with 169.254.x.x self-assigned addresses.
Example
The exchange is known as DORA:
Discover client broadcasts: anyone have an address?
Offer server proposes 192.168.1.50
Request client asks for 192.168.1.50
Ack server confirms, lease 24h
The client now uses 192.168.1.50 until the lease expires or is renewed.
Common mistakes
- Running two DHCP servers on one network, for instance an extra router, which hands out conflicting settings.
- Assigning a static IP inside the DHCP pool, which can collide with a leased address.
- Setting lease times so long that a small address pool fills with stale devices.
Related
Get notified when this term updates
Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.
यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.