Blog • SHM Soft

How to Troubleshoot DHCP Problems

Your computer says it has no internet, or it has an IP address starting with 169.254. The cause is often DHCP — the service that hands out IP addresses. This guide explains how to troubleshoot DHCP problems step by step, in plain English.

Published 28 November 2026 • SHM Soft

DHCP stands for Dynamic Host Configuration Protocol. It is the service that gives every device on your network its IP address, its gateway, and its DNS servers, automatically. When you connect a laptop to Wi-Fi, DHCP does the setup for you in less than a second. You never notice it until it stops working, and then nothing connects at all.

When DHCP fails, the symptoms are confusing. One computer works and another does not. A phone connects but a laptop does not. Or every device gets an address starting with 169.254 and nothing reaches the internet. This guide explains how DHCP works, what goes wrong, and how to find and fix the fault, whether you are at home or looking after a small office network.

A network router being configured to troubleshoot DHCP problems

How DHCP Works (And What Happens When It Breaks)

DHCP works in four steps, remembered by the short name DORA: Discover, Offer, Request, Acknowledge. When a device joins the network, it sends a Discover message asking if any DHCP server is there. A server replies with an Offer, suggesting an IP address. The device sends a Request for that address, and the server sends an Acknowledge to confirm it. The whole exchange takes a fraction of a second, and the device also receives the gateway and DNS server addresses it needs.

The address is a lease, not a gift. It lasts for a set time, often a day, and the device renews it before it expires. If the device leaves the network, the address goes back into the pool for someone else. The pool is the range of addresses the server is allowed to hand out. If the pool runs out, new devices get nothing. If two servers hand out addresses on the same network, they can give the same address to two devices, and both stop working properly.

The 169.254 clue: what it means

When a device cannot reach a DHCP server, Windows gives itself a fallback address starting with 169.254. This is called APIPA, or Automatic Private IP Addressing. The device can talk to other devices with the same kind of address, but it cannot reach the internet, because it has no gateway and no DNS server. If you see 169.254 in your IP settings, you have confirmed the problem: the device did not get an address from DHCP. The question is why, and the rest of this guide answers that.

The first check is simple: run ipconfig /all in Command Prompt and look at the DHCP server line. If it is blank, the device never heard from a server. If it shows an address, the device did reach a server but something else went wrong. Also check whether other devices have the same problem. If every device fails, the fault is in the server or the network. If only one device fails, the fault is in that device. That single check saves a lot of wasted time, and our guide to network troubleshooting commands explains the other commands that help here.

Step 1: Check the Basics — Cable, Wi-Fi, and Router

Start with the physical connection. If the device uses Ethernet, check the cable and the port lights. A cable that is loose or damaged means the Discover message never leaves the device. Try a different cable and a different port on the router or switch. If the device uses Wi-Fi, check that it is connected to the right network and that the signal is strong. A weak signal can drop the DHCP exchange halfway through, leaving the device with no address.

Next, restart the router. This is the DHCP server for most home and small office networks, and its DHCP service can freeze up, especially after weeks of running without a break. Unplug the router for 30 seconds, plug it back in, and wait for the lights to settle. Then restart the device that has the problem. Use Restart, not Shut down, on Windows, because Fast Startup can keep old network settings in memory. Test again after both restarts.

If the problem affects only one device, try forgetting the Wi-Fi network and reconnecting, or disabling and re-enabling the network adapter. On Windows, press Windows key + R, type ncpa.cpl, right-click the adapter, choose Disable, wait a few seconds, then choose Enable. This forces the device to start the DHCP exchange from scratch. If the device still gets a 169.254 address, the fault is deeper, and the next steps will find it.

Network cables connected to a router for DHCP troubleshooting

Step 2: Release, Renew, and Check the DHCP Pool

The next step is to release the old address and ask for a new one. Open Command Prompt as administrator and run ipconfig /release, then ipconfig /renew. If the renew works and you get a normal address, the problem was a stuck lease, and you are done. If it times out, the device cannot reach the DHCP server at all, and you need to look at the server side. Run ipconfig /all again to confirm what you got.

If every device is failing, check the DHCP pool. Log in to your router's settings and look for the DHCP or LAN settings. Check how many addresses the pool has, and how many are in use. A small pool, like twenty addresses for an office with thirty devices, runs out quickly, especially when phones, tablets, printers, and smart devices all take an address. If the pool is full, make it bigger. Also check the lease time. A very short lease time means devices renew constantly, which can overload a small router. A lease of 24 hours is normal for most networks.

Also check for a rogue DHCP server. This is a device on your network that is handing out addresses when it should not be, like a second router plugged in by mistake, or a phone sharing its internet. A rogue server gives out wrong addresses, wrong gateways, or addresses that clash with the real server's pool. The result is a network where some devices work and others do not, and the pattern seems random. To find it, check the DHCP server address in ipconfig /all on a broken device. If it is not your router's address, you have found the rogue. Disconnect the device, and the problem will clear.

On a larger network, DHCP relay matters too. DHCP messages are broadcasts, which do not cross from one network segment to another. If your devices are on a different VLAN from the DHCP server, the router needs a relay, called ip helper-address on Cisco equipment, to forward the requests. If the relay is missing or wrong, devices get no address at all. This is a common fault after a network change, and it is worth checking whenever a whole VLAN loses its addresses at once. Our guide on how to configure a Cisco router covers the commands involved.

Step 3: Fix Conflicts, Reservations, and Scope Problems

An IP address conflict happens when two devices have the same address. This usually happens when a static address overlaps with the DHCP pool. For example, if a printer is set to 192.168.1.50 by hand, and the DHCP pool also includes 192.168.1.50, the server may hand that address to a laptop, and both devices will fight over it. The fix is to exclude static addresses from the pool, or to use DHCP reservations, which tie a specific address to a device's MAC address. Reservations give you the best of both worlds: a fixed address that the server manages properly.

Check the scope settings too. The scope is the range of addresses, the subnet mask, the gateway, and the DNS servers that DHCP hands out. If the gateway is wrong, devices get an address but cannot reach the internet. If the DNS servers are wrong, devices connect but cannot load websites, which looks like a DHCP problem but is actually a DNS one. Our guide on how to fix DNS server not responding helps you tell the difference. Always compare the settings on a working device with the settings on a broken one. The difference is usually the answer.

If you have tried everything and DHCP still fails, check the switch and the VLAN settings. A device on the wrong VLAN cannot reach the DHCP server, and a switch port with the wrong settings can block DHCP traffic. Check that the port is in the right VLAN, and that DHCP snooping, a security feature that blocks unauthorised DHCP servers, is not blocking the real one by mistake. These are advanced checks, and if you are not comfortable with them, it is time to get help. A proper network review finds these faults quickly, and our managed IT services include exactly that kind of check, so the same problem does not come back next month.

Watch on YouTube: DHCP Explained - Dynamic Host Configuration Protocol

Work from the device outward

DHCP troubleshooting follows a simple order: check the device, then the cable or Wi-Fi, then the router, then the pool, then the scope. Each step either clears a suspect or points at the next one. Do not change several settings at once, or you will not know which change fixed it. And write down what you find, so the next time it happens, you start from the answer instead of from scratch.

Frequently Asked Questions

What is DHCP in simple terms?

DHCP is the service that automatically gives every device on a network its IP address, gateway, and DNS servers, so you do not have to set them by hand.

What does a 169.254 IP address mean?

It means the device could not reach a DHCP server, so Windows gave itself a fallback address. The device cannot reach the internet until it gets a real address.

How do I fix a DHCP problem on Windows?

Run ipconfig /release and ipconfig /renew as administrator. If that fails, restart the router, check the cable, and make sure the IP is set to automatic.

What is a rogue DHCP server?

It is a device on your network handing out IP addresses when it should not be, like a second router. It gives out wrong addresses and causes random connection failures.

Why does DHCP work for some devices but not others?

Usually because the DHCP pool is full, a device has a conflicting static address, or only some devices are on the wrong VLAN. Check the pool size and compare settings between working and broken devices.

Conclusion

Troubleshooting DHCP is a matter of working in order: check the device and the connection, restart the router, release and renew the address, then check the pool, the scope, and for rogue servers. Most DHCP problems are found in the first few steps, and the 169.254 address is your best clue.

If DHCP problems keep coming back in your office, the network probably needs a proper review. Contact us for a free quote and we will find the root cause and fix it for good.

Related articles:

How to Fix DNS Server Not Responding (Windows)

DNS and DHCP faults look similar — here is how to tell them apart.

How to Fix Ethernet Unidentified Network on Windows

The unidentified network error is often a DHCP failure. Start here.

Network Troubleshooting Commands: The Complete Guide for IT Professionals

The ipconfig and ping commands that prove where a DHCP fault sits.

Want help with your network or IT?

Tell us what you need and we will send a free quote with no hidden charges.

Get a Free Quote