Networking: Windows: Default gateway is not available / Diagnose Connection Problems: DHCP not enabled
The PC can't reach its router, so it has no path out of the local network.
Default gateway is not availableWindows can't communicate with the device or resourceThe default gateway is not availableEthernet doesn't have a valid IP configurationNetwork diagnostics default gateway Meaning
Check the cable or Wi-Fi, the gateway address in ipconfig, and whether the router is up and answering (ping gateway). Release/renew the lease, reset the adapter, update or roll back the network driver and turn off adapter power saving; faulty IP settings or a wrong gateway also cause it.
Common causes
- Router off, crashed or unreachable
- Wrong or missing default gateway
- Network adapter driver or power-saving problem
- Wi-Fi/cable intermittent
- Static IP with the wrong subnet
⚡ Quick fix
- Ping the gateway shown in
ipconfig - Renew:
ipconfig /releaseand/renew - Update or roll back the NIC driver; disable power saving
Detailed fix by platform
Windows
- powershell
ipconfig /all | findstr /i "gateway dhcp" ping 192.168.1.1 netsh winsock reset
How to diagnose
- Gateway — Pingable?
- IP settings — Correct?
- Driver — Healthy?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in Networking
- Native VLAN mismatch / wrong VLAN, no connectivity Networking: %CDP-4-NATIVE_VLAN_MISMATCH / device on the wrong VLAN can't reach the gateway
- Port err-disabled (psecure-violation) Networking: %PM-4-ERR_DISABLE: psecure-violation error detected on Gi0/5, putting Gi0/5 in err-disable state
- Idle connections silently dropped by firewall/NAT Networking: Connection works, then fails after being idle — firewall/NAT idle timeout dropped the TCP session (use keepalive)
Other ways to find it
Where this error sits
Origin: Network. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 5 Nov 2026