Default Gateway
Default Network Gateway
The IP address of your router — the device that receives all traffic destined outside your local network and forwards it toward the internet.
When your device wants to send a packet to an address outside the local subnet, it consults its routing table. If no specific route matches, the packet goes to the default gateway — usually your router at 192.168.1.1 or 192.168.0.1. The router then handles forwarding the packet further toward its destination.
What the default gateway does
The default gateway is the exit point for traffic that is not destined for the local network. When your device sends a packet, it first checks whether the destination IP address is on the same subnet. If the destination falls within your local subnet (e.g., another device at 192.168.1.x when you are on 192.168.1.0/24), the packet is delivered directly using ARP. If the destination is outside the subnet — any internet address, a remote office, anything else — the packet is forwarded to the default gateway, which takes responsibility for routing it further. Without a configured default gateway, your device can communicate with local devices but nothing on the internet.
How the routing decision is made
Every device maintains a routing table — a list of known routes with associated metrics. When a packet needs to be sent, the OS performs a longest-prefix match against the routing table. The default route (0.0.0.0/0) matches every destination and has the lowest precedence — it is only used when no more specific route matches. More specific routes (e.g., a static route to 10.10.0.0/16 via a VPN gateway) take priority over the default route for matching prefixes. The default gateway IP is the "next hop" for the default route entry.
How devices learn their default gateway
In most home and office networks, the default gateway is assigned automatically via DHCP Option 3. When your device requests an IP address from the DHCP server (your router), the DHCP offer includes not just the assigned IP and subnet mask but also the gateway IP and DNS servers. The device installs the gateway IP into its routing table as the default route automatically. On networks with static IP configuration, the gateway must be entered manually in the network adapter settings. If the gateway field is left blank on a static IP configuration, the device will have local connectivity only.
Typical default gateway addresses
Router manufacturers ship their devices with common default LAN IP addresses that become the default gateway for all clients:
- 192.168.1.1 — used by most Netgear, TP-Link, and many other consumer routers
- 192.168.0.1 — used by many D-Link, Linksys, and older routers
- 10.0.0.1 — used by Apple Airport routers and some ISP-supplied gateways
- 192.168.2.1 — used by some Belkin and Cisco routers
- 10.0.0.138 / 192.168.100.1 — common on ISP-supplied cable modems in bridge mode
The gateway address is also typically the address you enter in a browser to reach the router's admin interface.
How to find your default gateway on each OS
| OS | Command / Location | What to look for |
|---|---|---|
| Windows | ipconfig in Command Prompt | "Default Gateway" under the active adapter |
| macOS | netstat -nr | grep default or ip route get 8.8.8.8 | First result, "via" address |
| Linux | ip route show default | "via X.X.X.X" on the default route line |
| iOS | Settings → Wi-Fi → tap network name | Router field in the IP address section |
| Android | Settings → Wi-Fi → long-press network → Manage | Gateway field (may require switching to static IP view) |
What happens when the default gateway is unreachable
If the default gateway stops responding, the result depends on the traffic type. Local network traffic — printing, NAS access, pinging other devices on the same subnet — continues to work because it does not pass through the gateway. All internet-bound traffic fails immediately: websites refuse to load, cloud services time out, and DNS queries sent to external resolvers (like 8.8.8.8) go unanswered. The device typically still shows "Connected" in the Wi-Fi indicator because the wireless association and local IP are intact. The symptom looks identical to an ISP outage from the user's perspective, which is why pinging the gateway IP first is a critical diagnostic step.
Multiple gateways and static routes
A device can have multiple routes installed simultaneously, each with a metric (cost) that determines preference. The route with the lowest metric wins when multiple routes could handle the same destination. This is how dual-WAN routers provide automatic failover: the primary ISP link is configured as the default route with a low metric; the backup link has a higher metric and is only used if the primary gateway becomes unreachable. Static routes add specific non-default routes — for example, directing traffic to 10.10.0.0/16 via a VPN gateway at 192.168.1.5, while all other internet traffic still goes to the default gateway at 192.168.1.1. This is called split tunnelling in VPN contexts.
Frequently Asked Questions
What is my default gateway address?
Run ipconfig on Windows or ip route show default on Linux. For most home networks it is 192.168.1.1 or 192.168.0.1 — this is also the address you type into a browser to access your router's admin panel.
What happens if the default gateway is wrong?
Traffic cannot leave your local network. Websites will not load and external services will be unreachable — it looks like "no internet" even though your device shows it is connected to Wi-Fi.
Can I have more than one default gateway?
A device uses one at a time, but you can configure multiple routes with different metrics. If the primary gateway fails, the OS falls back to the next — this is how dual-WAN routers provide automatic internet failover.