Check whether your Windows 11 PC can reach its default gateway

A laptop with an interrupted blue line on the screen
Contents
  1. Find the gateway for the affected adapter
  2. Compare the result with another device
  3. Fix the layer that failed
  4. Frequently asked questions

When Windows 11 reports that the default gateway is unavailable, check the active adapter before you reset the network. A missing IPv4 gateway, a gateway that fails to answer, and a working gateway with no internet require different checks.

Find the gateway for the affected adapter

Open Command Prompt and run ipconfig. Find the Wi-Fi or Ethernet adapter in use. Read its IPv4 address and Default Gateway. Skip disconnected adapters and VPN adapters when you are checking the underlying home connection.

For example, a PC on a home LAN might have address 192.168.10.42 and gateway 192.168.10.1. Its command for checking that gateway would be:

ping 192.168.10.1

Substitute the IPv4 gateway shown on your PC. A reply is evidence that the PC reached a device responding at that address at the time of the test. A timeout alone is inconclusive because the device may ignore echo requests.

Compare the result with another device

Test a second device on the same local network. If the affected PC uses Ethernet, Microsoft suggests trying another device on that connection when available. If you test with a phone, turn cellular data off briefly so it cannot hide a local failure.

Affected PCSame-network deviceWhat to check next
IPv4 gateway is blankHas an IPv4 gateway and gets onlineInspect the PC's IP assignment and whether it received a usable DHCP lease.
Gateway is listed, but ping times outCan reach the router and get onlineCheck the PC's local link and adapter. Verify that both devices used the same network.
Gateway respondsNeither device can load a websiteCheck the router's internet status and the ISP. Check DNS if internet connectivity appears available.
Gateway respondsOnly the affected PC stays offlineCheck the PC's network settings and run the Windows Network and Internet troubleshooter.

Fix the layer that failed

If your home network normally uses DHCP, confirm the adapter is set to get its IP settings automatically. You can renew the IP address on the affected adapter and run ipconfig again. A self-assigned 169.254.x.x address is a reason to check the Ethernet IP configuration rather than invent a gateway value. Keep administrator-provided static settings on managed networks.

Try the applicable Windows troubleshooter before a full network reset. Microsoft puts reset at the end of its troubleshooting guidance because it removes and reinstalls network adapters and restores their settings to defaults.

Frequently asked questions

Does a successful ping mean my internet works?

It checks reachability to the gateway. Internet connectivity and DNS need their own tests.

Can a Wi-Fi PC have a gateway and still show this error?

Yes. The saved gateway address can still appear after connectivity has failed. Test it while the symptom is present and compare with another device.

Sources