Network troubleshooting technician providing live chat help

Joe B.

Reviewed for technical accuracy

Specialities: Home networking, Wi-Fi routers, modems, Windows/macOS internet issues, DNS & IP configuration, ISP setup

Fix device not getting DHCP lease — 169.254.x.x APIPA address, “Ethernet doesn’t have a valid IP configuration”, Wi-Fi stuck on obtaining IP

Technician avatar Technician
Hi! We’ll get your device not getting a DHCP lease sorted so it can grab a valid IP address and get back on the network.

To aim the steps correctly, I need a bit more detail:
• Is it one device having trouble or every device on the network?
• Is the problematic device on Ethernet, Wi-Fi, or both?
• On that device, what IP address do you see — something like 169.254.x.x, 0.0.0.0, or no IP at all?
• Any specific error messages such as “Ethernet doesn’t have a valid IP configuration”, “DHCP server not responding”, or “Failed to obtain IP address”?

Once we know if this is a DHCP server issue on the router or a DHCP client issue on a single machine, we can fix the lease problem instead of randomly rebooting things.
Customer
It looks like it’s just my desktop. Other devices (phones, laptop, smart TV) all get online fine. This Windows 11 PC is wired in via Ethernet and shows no internet. The troubleshooter says “Ethernet doesn’t have a valid IP configuration” and when I run ipconfig, it’s getting a 169.254 address. So I guess it’s not getting a DHCP lease from the router.
Technician avatar Technician
That’s very helpful. When a Windows device can’t get a DHCP lease from the router, it gives itself a 169.254.x.x APIPA address. That’s basically Windows saying “I couldn’t talk to a DHCP server, so I’ll pick a private address and hope for the best”, but it usually means no real network access.

In simple terms, the DHCP process is:
1) Device sends DHCPDISCOVER (who can give me an IP?).
2) Router or server replies with DHCPOFFER (here’s an address).
3) Device sends DHCPREQUEST asking to use that address.
4) Server confirms with DHCPACK.

If anything in that chain fails, you get symptoms like:
• Device not getting DHCP lease at all (0.0.0.0).
• 169.254.x.x APIPA address instead of your normal 192.168.x.x range.
• Errors like “DHCP server not responding” or “Ethernet doesn’t have a valid IP configuration”.

We’ll first confirm that your router’s DHCP server is working for other devices, then we’ll focus on why this specific desktop can’t obtain a DHCP address.
Customer
The router hands out 192.168.1.x addresses to everything else. My phone gets 192.168.1.15, the laptop gets 192.168.1.16. Only this desktop keeps getting 169.254.x.x. I tried changing Ethernet cables and ports on the router, still the same “no valid IP configuration” error and no DHCP lease.
Technician avatar Technician
Good, that confirms the DHCP server on the router is running, since it’s handing out leases to other clients.

Let’s just double-check a few things on the router side so we know there’s nothing blocking this particular device:
Step A — Validate DHCP server and scope
1) Log into the router’s admin page and find the DHCP server section.
2) Make sure DHCP is enabled and the IP address pool still has free addresses (for example, 192.168.1.100–192.168.1.199). If the scope is full, new devices can’t get a lease.
3) Check for any MAC address filtering or “deny list” that might be blocking the desktop’s network adapter MAC.
4) If the router supports DHCP reservations, see if that PC’s MAC is tied to a weird IP address outside the normal range.

If everything looks normal there, we’ll treat this strictly as a client-side DHCP problem on the Windows PC and reset how it requests and renews leases.
Customer
I checked: DHCP is enabled, pool is 192.168.1.100–192.168.1.199 with plenty free. No MAC filtering, and there’s no reservation for this desktop. All the other devices in the house are getting leases fine. It really seems like just this one device can’t obtain an IP address from DHCP.
Technician avatar Technician
Perfect — that narrows it to the desktop’s DHCP client or network adapter.

Step B — Make sure the adapter is allowed to use DHCP
1) On the desktop, open your Ethernet adapter properties.
2) For IPv4, set both “Obtain an IP address automatically” and “Obtain DNS server address automatically”. Any leftover static IP or DNS can block the DHCP lease process.
3) Click OK, then disable and re-enable the adapter to force a fresh DHCPDISCOVER.

Step C — Reset the DHCP client stack
1) Open Command Prompt as administrator and run:
  • ipconfig /release
  • ipconfig /flushdns
  • ipconfig /renew
2) In Services, confirm that the DHCP Client service is running and set to Automatic.
3) If you use any VPN client or third-party firewall, temporarily disable it — security software can sometimes interfere with DHCP packets.

After doing that, check ipconfig again. Does the PC still get a 169.254.x.x APIPA address, or does it now pick up a proper 192.168.x.x lease from the router?
Customer
IPv4 was already set to automatic. I ran the commands and checked the DHCP client service — it was running. After that, it briefly got a 192.168.1.120 address and worked, but after a reboot it went back to 169.254.x.x and “device not getting DHCP lease” errors in the event log.
Technician avatar Technician
That’s a classic “works once, then fails to renew the DHCP lease” pattern — good catch checking the log.

Let’s do a deeper reset and also test whether the network path itself is fine:
Step D — Full TCP/IP reset and static IP test
1) Open Command Prompt as admin and run:
  • netsh winsock reset
  • netsh int ip reset
2) Reboot the PC so the network stack fully reloads.
3) Temporarily set a static IP in the same subnet as your router (for example, IP: 192.168.1.250, Subnet: 255.255.255.0, Gateway: 192.168.1.1, DNS: 1.1.1.1 or your router).
4) With that static IP, see if you can ping the router and browse the internet.

• If static IP works perfectly, then the cable, router port, and basic connectivity are fine — the issue is specifically the PC’s ability to request and accept a DHCP lease.
• If even a static IP doesn’t work, then we may also be looking at a deeper driver or hardware issue.

Tell me what happens with the static IP test, and we’ll decide whether to focus on the adapter driver or router settings next.
Customer
With a static 192.168.1.250 address it works fine — I can ping the router and browse websites. So the physical connection is good. As soon as I switch back to automatic IP, it either sticks on “identifying” or falls back to a 169.254 APIPA address. Event Viewer keeps logging that the DHCP client couldn’t obtain a lease from the DHCP server.
Technician avatar Technician
Great troubleshooting — static IP working confirms this is a DHCP client / adapter problem, not a router or ISP problem.

The next thing that often fixes a stubborn device not getting DHCP lease issue is addressing the network adapter driver and power settings:

Step E — Update and tune the network adapter
1) Open Device Manager → Network adapters, right-click your Ethernet adapter and choose Update driver. If possible, install the latest driver directly from the manufacturer, not just Windows Update.
2) In the adapter’s Power Management tab, uncheck “Allow the computer to turn off this device to save power”. Power-saving can sometimes break DHCP renewals.
3) In Advanced properties, temporarily disable any “Green Ethernet”, “Energy-Efficient Ethernet”, or similar features.
4) If you have another NIC or USB Ethernet dongle available, test with that as well. If the second adapter gets a DHCP lease consistently, the original NIC is likely failing.

After updating the driver and power settings, switch back to automatic IP and reboot once more. Let me know if it still falls back to 169.254.x.x or if it now keeps a valid DHCP lease after restarts.
Customer
I updated the Intel driver from their site and disabled the power-saving options. After a reboot, the desktop now consistently gets a 192.168.1.x address from DHCP and survives restarts. One more issue: my Android phone sometimes gets stuck on “obtaining IP address” on Wi-Fi. Is that the same kind of DHCP lease problem?
Technician avatar Technician
Yes, that “Wi-Fi stuck on obtaining IP address” loop on Android is another flavor of the same story: the device sends DHCP requests but never gets a proper lease back.

Step F — Fix “Failed to obtain IP address” on Wi-Fi
• On the phone, forget the Wi-Fi network, toggle Wi-Fi off/on, then reconnect with the correct password.
• On the router, make sure the DHCP range has enough free addresses for all wireless devices — if the pool is too small, new clients can’t get leases.
• If you have multiple routers or extenders, confirm there’s only one active DHCP server on the LAN. Competing DHCP servers can cause random “failed to obtain IP address” errors.
• Avoid assigning static IPs inside the DHCP range; keep static IPs outside the pool so they don’t collide with leases.
• As a test, you can temporarily set a static IP on the phone (within your LAN range) and see if it then connects — if static works but DHCP doesn’t, we know for sure it’s a lease issue.

Once your phone can consistently obtain an IP address via DHCP, we’ll lock in a couple of preventative tweaks so you’re not chasing “no valid IP configuration” messages again.
Customer
I extended the DHCP range on the router and made sure only the main router is running a DHCP server. After forgetting and reconnecting, the phone immediately got a 192.168.1.130 address. Everything seems stable now — desktop and Wi-Fi clients all get DHCP leases normally. Anything else I should set up so this doesn’t come back?
Technician avatar Technician
Nice work — you’ve essentially rebuilt a healthy DHCP environment.

Step G — Make DHCP issues less likely in the future
• Keep just one DHCP server active on your home network (usually the main router). Turn off DHCP on any secondary routers or access points set as bridges.
• Make sure the DHCP pool has more addresses than the number of devices you own — for example, 100+ addresses is fine for most homes.
• Use DHCP reservations for important devices (NAS, main PC, printer) so they always get the same IP without needing static addressing inside the pool.
• Avoid manually setting static IPs in the middle of the DHCP range; if you need static IPs, place them outside the lease pool.
• Keep router firmware and network adapter drivers up to date — vendors regularly fix bugs that cause weird “device not getting DHCP lease” or “failed to obtain IP address” problems.

With this in place, most future IP issues should only require a quick “renew IP address” step instead of a full afternoon of troubleshooting.
Customer
Got it. The desktop and phones are all picking up addresses instantly now, even after a couple of reboots. Thanks for explaining how DHCP leases work and walking me through the fixes.
Technician avatar Technician
You’re welcome — glad we got your DHCP and IP configuration back in shape.

Quick recap for a device not getting a DHCP lease:
1) Check if other devices get IPs from DHCP — that tells you if the problem is the router or a single client.
2) Confirm the router’s DHCP server is enabled and the lease pool has free addresses.
3) On the device, set IP/DNS to automatic, reset the adapter, clear and renew IP, and make sure the DHCP client service is running.
4) If it keeps getting a 169.254.x.x APIPA address, update the network adapter driver and disable aggressive power-saving features.
5) Use static IPs only as a test or outside the DHCP range to avoid conflicts.

If you ever see “Ethernet doesn’t have a valid IP configuration” or “Failed to obtain IP address” again, you can start a chat with an expert and we’ll step through your DHCP settings live with you.

Quick answer: the accepted fix

Accepted fix when a device is not getting a DHCP lease: confirm other devices can obtain IP addresses from the router, verify the router’s DHCP server is enabled with a healthy address pool, then on the affected device set IP/DNS to automatic, reset the adapter and DHCP client, run ipconfig /release and /renew, and update the network adapter driver so it stops falling back to a 169.254.x.x APIPA address and gets a valid lease.


Why devices stop getting DHCP leases (APIPA, DHCP scope, client & server issues)

Most home device not getting DHCP lease problems come down to either the DHCP server on the router or the DHCP client on the device. If the router’s DHCP service is off, the scope is exhausted, or two different routers are trying to hand out IPs at the same time, your devices may end up with random addresses or no IP at all. On the client side, misconfigured static IP settings, broken network drivers, aggressive power-saving, or VPN/firewall software can block DHCP packets and cause errors like “Ethernet doesn’t have a valid IP configuration” or “DHCP server not responding”.

When the DHCP process fails completely, Windows and some other systems assign a 169.254.x.x APIPA address so the device can still talk to itself but not really use the network. Understanding that 169.254.x.x means “I didn’t get a lease” makes it much easier to troubleshoot: you check whether the router is advertising DHCP, whether the DHCP range has space, and whether the client is actually allowed to obtain an IP address automatically.

How to check if the DHCP problem is the router, the client, or both

To quickly narrow down a DHCP lease problem, compare how several devices behave on the same network:

First, check another device (phone or laptop) on the same Wi-Fi or Ethernet. If that device gets a normal 192.168.x.x address via DHCP, your router’s DHCP server is probably fine and the issue is limited to one client. If no devices get an IP address, log into the router and check whether DHCP is enabled, the lease pool is large enough, and only one DHCP server is active on the LAN.

On the affected device, compare the behavior with a temporary static IP. If static IP works but automatic IP fails, the network path is okay and the problem is specifically the DHCP handshake. That’s when resetting the TCP/IP stack, renewing the DHCP lease, and updating the network adapter driver usually resolves the “device not getting DHCP lease” situation.

Device not getting DHCP lease — quick troubleshooting tips

Check the DHCP server on your router, then reset the client’s IP, DNS, and adapter driver.

Fast path: verify other devices can obtain IP addresses → confirm the router’s DHCP server is enabled and has free leases → on the problem device, set IPv4 to obtain IP and DNS automatically → release and renew the address, reset the TCP/IP stack, and make sure the DHCP client service is running → update or reinstall the network adapter driver if the device keeps getting a 169.254.x.x APIPA address instead of a valid lease.

Disclaimer: This information is AI-generated and intended for general guidance only. For advice specific to your router model, DHCP configuration, and operating system, please consult a verified expert on Whizz-Tech before making decisions.


Getting Started Is Easy

Ask for help, 24/7

Members enjoy round-the-clock access to 12,000+ verified Experts for device not getting DHCP lease, Ethernet doesn’t have a valid IP configuration, Wi-Fi stuck on obtaining IP address, and more.

Expert will respond in minutes

We match you with a networking specialist who knows DHCP servers, leases, scopes, DNS, and router configuration for all major brands (Netgear, TP-Link, ASUS, Linksys, and more).

Save time & money

Stop guessing why your device can’t obtain an IP address. Get a clear step-by-step DHCP and IP fix in chat and get back online quickly without trial and error.

FAQ

What does it mean when a device is not getting a DHCP lease?

When a device is not getting a DHCP lease, it means the device is failing to complete the process of requesting and receiving an IP address from the DHCP server (usually your router). You’ll often see a 169.254.x.x APIPA address, a 0.0.0.0 address, or error messages like “Ethernet doesn’t have a valid IP configuration” or “DHCP server not responding”. Without a valid lease, the device can’t communicate properly on your network or reach the internet.

Why is my device getting a 169.254.x.x APIPA address?

A 169.254.x.x address is an Automatic Private IP Address (APIPA) that Windows and some other systems assign when they cannot reach a DHCP server. This usually means the DHCP server is disabled, the DHCP scope is exhausted, there’s a cabling or Wi-Fi issue, or something on the device (like a firewall, VPN, or driver problem) is blocking DHCP traffic. It’s a clear sign that the device didn’t get a proper DHCP lease from the router.

How do I fix “Ethernet doesn’t have a valid IP configuration”?

To fix “Ethernet doesn’t have a valid IP configuration”, first make sure your router’s DHCP server is enabled and other devices can get addresses. On the affected PC, set IPv4 to obtain IP and DNS automatically, then run ipconfig /release and ipconfig /renew. If that doesn’t help, reset the TCP/IP stack with netsh commands, confirm the DHCP Client service is running, and update or reinstall the network adapter driver. These steps usually resolve the IP configuration and DHCP lease issues.

When should I use a static IP instead of DHCP?

You can use a static IP as a temporary workaround when a device is not getting a DHCP lease but you still need it online quickly. In general, static IPs are best for servers, printers, or devices that must always have the same address. If you do use static IPs, place them outside of the DHCP pool to avoid conflicts with automatic leases. For most home devices, DHCP with occasional reservations on the router is simpler and more reliable than manually configuring IP addresses on each device.

Sources

Matt Verified Icon
Matt ● replies in < 1 min
Technician Expert
⭐⭐⭐⭐⭐ Trusted by 27,000+ customers
Avatar
Alex · Expert's Assistant