Networking & Homelab
No Internet? Is It DHCP, DNS, or the Default Gateway?
September 3, 2026
Got a 169.254 address, no default gateway, or websites that will not resolve? Use these Windows checks to find whether DHCP, the gateway, or DNS is failing.
No internet? Run ipconfig /all and stop at the first clue. A 169.254.x.x address points to DHCP. A blank default gateway points to IP or DHCP configuration. If the gateway cannot be reached, stay on the local network path. If an IP works but a hostname does not, check DNS.
| Result | What to do next |
|---|---|
IPv4 address is 169.254.x.x | Suspect DHCP. Check the connection and the path to DHCP |
| Default gateway is blank | Suspect IP or DHCP configuration. Compare with a working device |
| Default gateway does not reply | Stay local. Check the device, connection, and gateway path |
| A remote IP works, but a hostname does not | Suspect DNS. Test name resolution and check the assigned DNS servers |
Start with the settings Windows received
Run one command to inspect the active network adapter:
ipconfig /all
Find the adapter actually in use, then check its IPv4 address, subnet mask, default gateway, DNS servers, and whether DHCP is enabled.
Dynamic Host Configuration Protocol (DHCP) usually gives a client all four settings it needs: an IP address, subnet mask, default gateway, and DNS server addresses. DHCP may run on a router, firewall, or server, but the client only needs to receive a valid set of values.
If the address starts with 169.254, Windows has assigned an Automatic Private IP Addressing (APIPA) address because normal DHCP settings did not arrive. Do not troubleshoot DNS yet. Check the cable or Wi-Fi connection and whether another device on the same network receives a valid address. The focused APIPA guide covers that path without repeating it here.
A normal-looking IP address with no default gateway is also a stop sign. The device may still reach systems on its local subnet, but it normally cannot reach the internet or another network. Check for an incomplete DHCP lease or incorrect static settings.
Can the device reach its way out?
The default gateway is the router or firewall used to send traffic beyond the local subnet. Copy its address from ipconfig /all, then test the local path:
ping <default-gateway>
A reply shows that the adapter can reach the gateway. Move on to an approved remote IP test.
If the gateway does not reply, stay local. Compare another device on the same cable, Wi-Fi network, or VLAN, then check the adapter, dock, cable, access point, switch port, and gateway path as appropriate. Some networks block ping, so a timeout is a clue to compare, not proof that the gateway is offline.
Does the path work without DNS?
If your environment allows it, test a known remote IP address. This asks whether traffic can leave the local network without relying on a name:
ping <approved-remote-IP>
If the gateway replies but the remote IP does not, DNS is not the first suspect. Compare another device. One-device failures can involve a VPN, local firewall, or route; several-device failures point toward the router, internet service, or another shared upstream path.
If the remote IP replies, test a permitted hostname directly:
nslookup <hostname>
Domain Name System (DNS) turns hostnames into IP addresses. If the remote IP works but nslookup times out or returns an error, check the DNS server addresses in ipconfig /all and compare them with a working device. If nslookup returns an address, DNS answered; the remaining problem may be limited to a website, browser, proxy, VPN, or policy.
Use the scope to choose the next check
One affected device usually keeps the focus on that device or connection. Several devices with 169.254 addresses point to a shared DHCP or network-path problem rather than one Windows device. Several devices that can reach the gateway but not a remote IP point farther upstream.
For a full connection-by-connection workflow, use the connected-but-no-internet Windows guide. After any fix, repeat the check that failed first. That result is better evidence than the Windows “Connected” label.
Quick Check
Original beginner-friendly review questions — not real exam questions.
1. Easy: A PC can ping 8.8.8.8 but cannot open websites by name. Which setting is most likely involved?
Answer: A. DNS.
Why: IP reachability works, but names fail. DNS is a better fit than hardware or printer settings.
2. Medium: A device has a valid local IP but no default gateway. What symptom is most likely?
Answer: A. Can reach some local resources but not the internet.
Why: The gateway is needed to leave the local subnet. The other choices mix in DNS, app, print, or hardware symptoms.
3. Hard: A new VLAN has clients but none receive IP addresses. Other VLANs work. What is the best area to check?
Answer: A. DHCP scope/relay or gateway interface for that VLAN.
Why: Each VLAN/subnet needs DHCP support. The other answers do not address network addressing.