sodcalculator

10 Tech How-To

Fix Ethernet Doesn’t Have a Valid IP Configuration in Windows 11

Guide 10-20404 · Updated · Step by step

The “Ethernet doesn’t have a valid IP configuration” error in Windows 11 means your network adapter isn’t receiving a usable IP address from the router or modem, so Windows can’t join the local network or access the internet. You can usually fix it by restarting your network devices, renewing the IP lease, or resetting the network stack, and most users resolve it within a few minutes without reinstalling anything.

What Causes This Error?

This error appears in the Network and Sharing Center or when you run the Windows network diagnostics. It happens when your Ethernet adapter either gets no IP address at all, gets an invalid one (like 169.254.x.x), or receives one that conflicts with another device. Common triggers include:

  • A loose or damaged Ethernet cable
  • Your router or modem has crashed or is overloaded
  • Outdated or corrupted network drivers
  • Windows’ TCP/IP stack or DHCP client service is misconfigured
  • Third-party VPN software or security suites interfering
  • A recent Windows update changed network settings

The 169.254.x.x address is a clue: Windows assigns this “Automatic Private IP Addressing” (APIPA) address when it can’t reach a DHCP server. If you see that, the problem is almost certainly between your PC and the router, not inside Windows itself.

Quick Fixes to Try First

Start with the simplest solutions, since they resolve a large share of cases:

  1. Restart your router and modem. Unplug both, wait 30 seconds, plug the modem back in, wait for it to fully boot, then plug in the router. Also restart your PC.
  2. Check the cable. Unplug and reseat both ends. If you have a spare Ethernet cable, try it. A bent pin or a loose clip is a common cause.
  3. Try a different port on the router, or plug the cable directly into the modem to isolate the issue.
  4. Disable and re-enable the adapter. Open Settings > Network & internet > Advanced network settings, click on your Ethernet adapter, and choose Disable, then Enable. This forces a fresh DHCP request.

If these don’t work, move on to the command-line fixes below.

Renewing Your IP Lease and Flushing DNS

Windows stores a lease for your IP address that expires after a set time. Sometimes the lease becomes stale or corrupted. Renewing it forces your PC to ask for a fresh address. Open Command Prompt or PowerShell as administrator (right-click the Start button and select “Terminal (Admin)”), then run these commands one at a time:

  1. ipconfig /release – drops the current IP address
  2. ipconfig /renew – asks the DHCP server for a new IP
  3. ipconfig /flushdns – clears the DNS cache (not always necessary but harmless)

If the renew command hangs or gives an error, your router isn’t responding to DHCP requests. That points to a router-side problem, a bad cable, or a driver issue.

Resetting the Network Stack

If renewing doesn’t work, the TCP/IP stack itself may be corrupted. Windows includes a set of command-line tools to reset it. In the same admin terminal, run these in order:

  1. netsh int ip reset – resets the IP configuration
  2. netsh winsock reset – resets the Winsock catalog (which handles network I/O)
  3. Restart your PC

After the restart, check if the error is gone. If not, also try setting a static IP address manually (see below) to confirm the adapter and cable work at all.

Updating or Reinstalling Network Drivers

A driver that’s outdated or got corrupted after a Windows update can cause this exact error. To update:

  1. Right-click the Start button and select Device Manager.
  2. Expand “Network adapters,” find your Ethernet adapter (often named Realtek, Intel, or Killer).
  3. Right-click it and choose “Update driver” > “Search automatically for drivers.”

If Windows says you’re up to date, try uninstalling the driver and restarting. Windows will reinstall it automatically. To do this, right-click the adapter, select “Uninstall device,” check “Delete the driver software for this device” if offered, then restart. If the problem persists after that, visit your PC manufacturer’s support site to download the latest Ethernet driver directly.

Disabling IPv6 and Other Advanced Options

Sometimes IPv6 causes conflicts, especially if your router’s DHCPv6 isn’t working correctly. You can disable IPv6 on the adapter to force IPv4-only:

  1. Open Control Panel > Network and Sharing Center > Change adapter settings (or Settings > Network & internet > Advanced network settings > More network adapter options).
  2. Right-click your Ethernet adapter and select Properties.
  3. Uncheck “Internet Protocol Version 6 (TCP/IPv6)” and click OK.

Also check the power management settings for the adapter. In Device Manager, right-click the adapter, go to Properties > Power Management, and uncheck “Allow the computer to turn off this device to save power.” Some PCs disable the adapter during sleep, and it doesn’t wake up properly.

Setting a Static IP Address (Temporary Workaround)

If your router’s DHCP is broken, you can assign a static IP to bypass it. This is a good test: if the internet works with a static IP, the problem is definitely DHCP-related. To set one:

  1. Open your router’s admin page (usually at 192.168.1.1 or 192.168.0.1) and note the IP range and subnet mask.
  2. In the Ethernet adapter’s IPv4 properties (as above), choose “Use the following IP address.”
  3. Enter an IP like 192.168.1.50 (make sure it’s not in the DHCP range), subnet mask 255.255.255.0, and your router’s IP as the default gateway.
  4. Set the DNS to 8.8.8.8 and 8.8.4.4 (Google) or 1.1.1.1 (Cloudflare) if you don’t know your ISP’s DNS.

If the internet works, your router’s DHCP server is the culprit. You may need to restart the router or reset it to factory defaults (but note that resets erase your Wi-Fi password and custom settings).

Frequently Asked Questions

Why does my Ethernet work on other devices but not Windows 11?

That usually means the cable and router are fine, and the problem is specific to your PC’s network settings, drivers, or Windows configuration. Try the reset commands and driver reinstall first. If those don’t help, there could be a conflict with a VPN or security suite—temporarily uninstall them to test.

What does the 169.254.x.x IP address mean?

It’s an Automatic Private IP Address (APIPA) that Windows assigns when it can’t reach a DHCP server. It means your PC isn’t getting a valid IP from the router, so you can’t access the internet or other devices on the network. The fix is to get DHCP working again—restart the router, renew the lease, or check the cable.

Will resetting my network stack delete my files or apps?

No. The netsh commands only reset network settings like IP configuration and Winsock. They don’t touch your personal files, installed programs, or user accounts. However, you may need to re-enter Wi-Fi passwords after a full network reset, and any custom static IP settings will be cleared.

Is it safe to disable IPv6?

Yes, for most home users. IPv6 is not yet required for everyday internet use, and many ISPs still use IPv4. Disabling it on your Ethernet adapter only affects that adapter, and you can re-enable it later. If you have a home network that uses IPv6 for file sharing or other features, you may want to keep it on.

Why does the error come back after a few days?

If the error recurs, the root cause is likely your router’s DHCP server, a faulty network cable, or a driver that keeps failing. Try updating the router’s firmware, replacing the cable, and checking the Windows Event Viewer for repeated errors from your network adapter. A faulty Ethernet port on the PC can also cause intermittent failures.

Should I use Windows’ “Network Reset” option?

Yes, it’s a good last resort. Go to Settings > Network & internet > Advanced network settings > Network reset. This removes all network adapters and reinstalls them, resets the TCP/IP stack, and clears your network settings. You’ll need to reconnect to Wi-Fi afterward. It’s more thorough than the individual commands, but it’s safe and doesn’t affect your files.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →