The Default Gateway is the local router address Windows uses to reach other networks. When it is unavailable, the laptop may connect to Wi-Fi or Ethernet but lose internet access.
Quick answer
Start by identifying which layer is failing
What to do first
A gateway failure is different from a DNS-only failure. First determine whether the laptop can reach the router; if it cannot, changing DNS will not repair the missing local route. Start with the least disruptive test that can separate a local problem from a wider Windows, network, printer, storage, or hardware issue.
Likely causes
What commonly produces this symptom
Common possibilities include DHCP did not provide a valid route; adapter power management; driver or link negotiation trouble; router port or radio issues; a damaged IP stack. The symptom alone does not prove which one is responsible, so use the decision path before changing several things at once.
Diagnostic path
Use evidence before the bigger fixes
Run ipconfig /all and note IPv4, subnet mask, and Default Gateway. Ping the gateway address. If there is no gateway or the address is 169.254.x.x, renew the lease on a personal network. If the gateway responds but websites fail, use the DNS guide. Compare another device on the same router.
Record the exact message, when it began, and any update, driver, peripheral, or network change that preceded it.
Test the smallest comparison that applies: another device, account, cable, port, display, printer queue, or power source.
Make one reversible change, restart or retest, and note whether the symptom changes.
Fixes
Work from safest to most invasive
Reconnect or replace the cable; restart the router if other devices are affected; in Device Manager > Network adapters clear the option allowing Windows to turn off the device for power saving; update the exact driver; run netsh winsock reset and netsh int ip reset in an elevated Terminal, then restart; use Network reset only after documenting custom settings.
When the evidence points to the IP stack, an elevated Terminal can run ipconfig /flushdns to clear cached name lookups, ipconfig /renew to request a DHCP lease, and, later, netsh winsock reset to rebuild Winsock. These commands do not repair a bad router or cable, so use them after the comparison tests above.
When to stop
Know when the next step is support
Stop if the gateway fails for every device, the router shows an upstream outage, or the adapter repeatedly disappears. Escalate to the ISP, router vendor, or PC manufacturer. Avoid random registry edits, unknown driver tools, manual deletion of system folders, or a Windows reset simply because the first check did not work.
Windows cannot currently use the local router address as the next hop to other networks. It is usually a DHCP, adapter, driver, power, cable, or router-path issue.
Can changing DNS fix an unavailable gateway?
Usually no. DNS matters after the laptop can reach the gateway. Test the local route first.
Why does the gateway disappear after sleep?
Power management, driver resume problems, or a router lease issue can interrupt the adapter after sleep.
What does ipconfig show me?
It shows the adapter address, subnet, DHCP information, DNS servers, and Default Gateway Windows is using.
When should I use Network reset?
Use it after profile, router, DHCP, driver, and IP-stack checks have failed, and only after recording settings that will need to be restored.