What are default gateway issues and how can they be resolved?
A wrong or missing default gateway lets local communication work but blocks traffic to remote networks; verify with ipconfig (Windows) or show ip route (router, look for the default route).
Default Gateway Issues:
What is the default gateway? The closest networking device (router interface) that belongs to the same network as the end device and can forward traffic to other networks.
Impact of incorrect default gateway:
- Device will not be able to communicate with devices in remote networks
- Local network communication still works
- Only traffic destined for other networks is affected
Common causes:
- Misconfiguration (manual assignment)
- DHCP problems (if automatic assignment)
Verification commands:
| Device | Command |
|---|---|
| Windows | ipconfig |
| Cisco Router | show ip route |
On a router: The default route (known as gateway of last resort) is the route used when the destination address doesn't match any other routes in the routing table.
Key insight: Similar to IPv4 addressing issues, default gateway problems can be related to misconfiguration or DHCP problems. Always verify the default gateway is correct and reachable.
Go deeper:
Wikipedia — Default gateway — why a wrong gateway blocks remote traffic while local communication still works, and how the gateway of last resort is chosen.