If you see “Ethernet doesn’t have a valid IP configuration� in Windows, your wired network connection has failed to obtain a usable IP address from the router or modem, which blocks internet access. The fix usually involves renewing the IP lease, resetting the network stack, or updating the Ethernet driver. Below are the exact steps to resolve it, along with what causes the error and how to prevent it.
What This Error Actually Means
Every device on a network needs a unique IP address to send and receive data. When your PC connects via Ethernet, it normally gets one automatically from the router’s DHCP server (Dynamic Host Configuration Protocol). The “valid IP configuration� error appears when Windows detects that the Ethernet adapter has no IP address, or has one that is invalid for the local network (for example, starting with 169.254.x.x, which is an Automatic Private IP Addressing (APIPA) address Windows assigns when DHCP fails). This means the handshake between your PC and the router never completed, so your PC has no way to reach the internet.
Step-by-Step Fixes
Try these in order, testing your internet after each one. Most users resolve the issue with the first or second method.
- Restart your modem and router. Unplug both, wait 30 seconds, plug the modem back in, wait for it to fully boot, then plug in the router. This forces the router to reissue IP addresses.
- Renew your IP lease. Open Command Prompt as administrator (right-click Start > “Command Prompt (Admin)� or “Windows PowerShell (Admin)�) and type:
ipconfig /release, press Enter, thenipconfig /renew. Wait for the command to finish, then check if you have internet. - Reset the network stack. In the same admin Command Prompt, run these commands one by one, pressing Enter after each:
netsh winsock reset,netsh int ip reset,ipconfig /flushdns. Restart your PC. - Update or reinstall the Ethernet driver. Open Device Manager (right-click Start > Device Manager), expand “Network adapters,� right-click your Ethernet adapter (often named Realtek, Intel, or Killer), and choose “Update driver.� If that doesn’t help, choose “Uninstall device� (check “Delete the driver software� if offered), then restart. Windows will reinstall the driver automatically.
- Disable and re-enable the Ethernet adapter. In Control Panel > Network and Sharing Center > Change adapter settings (or Settings > Network & Internet > Ethernet), right-click your Ethernet connection and choose “Disable,� wait a few seconds, then “Enable.�
- Set a static IP address (temporary). If nothing else works, you can manually assign an IP. Go to adapter settings, right-click Ethernet > Properties > Internet Protocol Version 4 (TCP/IPv4) > Properties. Select “Use the following IP address� and enter: IP address
192.168.1.50, Subnet mask255.255.255.0, Default gateway192.168.1.1(use your router’s address if different). Then set Preferred DNS to8.8.8.8and Alternate to8.8.4.4. This is a workaround, not a permanent fix, because your router may assign addresses differently.
Why Does This Happen? Common Causes
The error can stem from both software and hardware issues. The most frequent culprits are:
- DHCP failure: The router’s DHCP server didn’t respond, or the request timed out. This can happen after a power surge, a router crash, or if the DHCP lease expired while the PC was asleep.
- Outdated or corrupt network drivers: Windows updates or third-party software can break the driver, causing the adapter to misbehave.
- Faulty cable or port: A damaged Ethernet cable or a loose connection can prevent the link from establishing, so no IP is assigned.
- Router or modem issues: The router may have a full DHCP table (too many connected devices), or the modem may not be syncing with your ISP.
- Windows network configuration corruption: After a crash or improper shutdown, the Winsock catalog or TCP/IP stack can become corrupted.
How to Check Your IP Configuration
To see what IP address your Ethernet adapter currently has, open Command Prompt and type ipconfig /all. Look for the “Ethernet adapter� section. If the IPv4 address starts with 169.254., it means Windows couldn’t get a DHCP address and assigned a self-generated one. If it shows 0.0.0.0 or is blank, the adapter is not receiving any address at all. Also check the “Default Gateway� line – if it’s blank, your PC isn’t seeing the router.
When to Try Hardware Fixes
If all software steps fail, the problem may be physical. Try a different Ethernet cable (Cat5e or Cat6 is standard). Plug the cable into a different port on the router. Try connecting directly to the modem (bypassing the router) to see if the router is the issue. If you’re using a desktop PC, reseat the Ethernet card or try a USB-to-Ethernet adapter. Also check if the link lights on the port are blinking – if they’re off, there’s no physical connection.
Prevention and Long-Term Solutions
To avoid this error recurring, keep your network drivers updated (but don’t install beta drivers). Set your router to restart weekly if it’s prone to crashes. Ensure your router’s DHCP lease time is reasonable (typically 24 hours). If you have many devices, check the DHCP client list in your router’s settings to see if the table is full. For a permanent static IP, you can reserve an IP in your router’s DHCP reservation settings, which is safer than setting a static IP on your PC.
Frequently Asked Questions
What does “169.254� IP address mean?
It means your PC couldn’t reach the DHCP server, so Windows assigned itself an APIPA address. This is a clear sign that the network connection is not getting a valid IP from the router.
Will resetting Windows fix this?
Resetting Windows (or reinstalling) will fix it because it resets the network stack and drivers, but it’s a last resort. Try the commands above first – they often work without losing data.
Is this error caused by a virus?
Rarely. Malware can sometimes alter network settings, but the most common causes are router glitches, driver issues, or cable problems. Run a full antivirus scan if you suspect malware, but focus on the network fixes first.
Does this happen on Wi-Fi too?
Yes, a similar error appears for Wi-Fi (“Wi-Fi doesn’t have a valid IP configuration�). The same fixes apply, but also try forgetting the network and reconnecting, or updating the Wi-Fi driver.
Can I fix this without admin access?
No, most fixes require administrator privileges. If you’re on a work or school computer, contact your IT department. On a personal PC, you should have admin rights.
Why does it happen after a power outage?
Power outages can cause the router to boot up incorrectly or the PC’s network adapter to get stuck. Restarting both devices usually resolves it.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Valheim Server Not Showing in Community List Fixes
- Soundbar vs 2.1 Speaker System: Which Is Better?
- DisplayPort vs HDMI: Which Cable Should You Use?
- Survive Lava for Brainrot Tier List170 points
- MySQL Dump Import: Fix Common Errors
- Mouse Moving on Its Own? Causes & Fixes