What Is a Default Gateway?

Run a Speed Test

Your default gateway is the first router your traffic hits on its way to the internet — every packet leaving your local network goes through it.

The Exit Door for Local Traffic

When your device sends a packet, it first checks whether the destination IP address is on the same local network (subnet) as itself. If the destination is local — another device in your home or office — your device delivers the packet directly using ARP to resolve the destination's MAC address. If the destination is outside your local subnet — anywhere on the internet — your device has no direct way to reach it. It hands the packet to the default gateway instead.

The default gateway is simply the IP address of the router that connects your local network to the wider internet. Every device on your network is configured with this address — either manually (static IP configuration) or automatically via DHCP. On home networks, the default gateway is almost always your Wi-Fi router, typically at 192.168.1.1 or 192.168.0.1.

The word "default" is key. The default gateway is the catch-all: any packet whose destination does not match a more specific route in the device's routing table gets forwarded to the default gateway. The gateway then uses its own routing table — with far more entries, including the full BGP routing table on ISP routers — to forward the packet toward its final destination.

How Your Device Decides Where to Send Packets

Every device maintains a small local routing table. When a packet needs to be sent, the OS performs a longest-prefix match against this table. A typical device routing table has three kinds of entries: the loopback route (127.0.0.0/8 → loopback interface), the local subnet route (e.g., 192.168.1.0/24 → directly connected), and the default route (0.0.0.0/0 → default gateway IP).

The default route (0.0.0.0/0) matches any destination because all IP addresses match a /0 prefix. Since it is the least specific possible route, any more specific route takes priority. Traffic to 192.168.1.50 matches the local subnet route (more specific) and is delivered directly. Traffic to 8.8.8.8 matches only the default route and is forwarded to the default gateway.

On Windows, you can view your routing table with route print. On Linux and macOS, use ip route show or netstat -nr. The default route appears as 0.0.0.0/0 (or just "default") with the gateway IP and the outbound interface.

Finding Your Default Gateway

OSCommand / Location
Windowsipconfig in Command Prompt — look for "Default Gateway"
macOSnetstat -nr | grep default or ip route show default in Terminal
Linuxip route show default or ip route | grep default
iOSSettings > Wi-Fi > tap network name > "Router" field
AndroidSettings > Network & internet > Wi-Fi > tap network > Advanced > Gateway

On any platform, you can also navigate your browser to your router's admin interface — the URL is usually the default gateway address itself (e.g., http://192.168.1.1). The router's status page displays the WAN IP (your public IP from the ISP), the LAN IP (which is your default gateway address), and connected devices.

Common Default Gateway Addresses

Consumer routers ship with a pre-configured LAN IP address that serves as the default gateway for the home network. The most common addresses are 192.168.1.1 (used by many Linksys, Netgear, and TP-Link routers), 192.168.0.1 (used by many D-Link and some Netgear routers), and 10.0.0.1 (used by Apple AirPort and some other devices). Some ISP-provided gateways use 192.168.100.1 or other addresses in the RFC 1918 ranges.

Enterprise networks typically use the first or last usable address in the subnet as the gateway — for example, if the subnet is 10.10.5.0/24, the gateway is usually 10.10.5.1 or 10.10.5.254. This is a convention, not a technical requirement — the gateway can be any address in the subnet that is reachable by the hosts it serves.

What "Default Gateway Is Not Available" Means

Windows reports "Default gateway is not available" when your device cannot reach or has not received a valid gateway address. Common causes include: the router is unreachable or still rebooting; DHCP failed, resulting in an APIPA self-assigned address in the 169.254.0.0/16 range with no valid gateway; a static IP is configured with a blank or incorrect gateway field; or a network driver issue prevents proper DHCP communication.

Troubleshooting steps: first, check whether the router's power and link lights are on. Run ipconfig /release followed by ipconfig /renew in an elevated Command Prompt to force a new DHCP lease. If your IP starts with 169.254, DHCP failed — verify the router is reachable and DHCP is enabled. Restarting the router and your device resolves the majority of cases.

Default Gateway vs DNS Server

These two addresses are often confused because DHCP delivers both simultaneously and they are sometimes the same IP address. The default gateway is where your device sends packets destined for other networks — it is a routing function. The DNS server is where your device sends name resolution queries — it is a lookup function. Your router often acts as both: it forwards internet-bound packets (gateway) and proxies DNS queries to upstream resolvers (DNS server). But they are distinct roles, and on enterprise networks they are frequently separate devices at different IP addresses.

Frequently Asked Questions

What is a default gateway?

A default gateway is the IP address of the router that a device sends all traffic to when the destination is outside the local network. It is the exit door for any packet that needs to leave the local subnet — on home networks, this is your router's LAN IP, typically 192.168.1.1 or 192.168.0.1.

What is the most common default gateway IP?

The most common default gateway addresses for home networks are 192.168.1.1 and 192.168.0.1. Enterprise networks often use the first usable address in their subnet, such as 10.0.0.1. The specific address depends on router manufacturer and network configuration.

How do I find my default gateway?

On Windows, run ipconfig in Command Prompt. On macOS or Linux, run ip route show default in Terminal. On iOS, go to Settings > Wi-Fi > tap your network > Router field. On Android, go to Settings > Network > Wi-Fi > tap the network > Advanced.

What does "default gateway not available" mean?

This Windows error means your device cannot reach or has not received a valid gateway address. Common causes include the router being unreachable, a failed DHCP lease (resulting in a 169.254.x.x address), or a misconfigured static IP. Restarting the router and renewing the DHCP lease resolves most cases.

Can I have multiple default gateways?

Technically yes — operating systems assign a metric (priority) to each default gateway. The lower the metric, the higher the preference. If the primary gateway fails, the OS falls back to a secondary one. In practice, most devices have a single default gateway.

Is the default gateway the same as the router?

On home networks, yes — the default gateway is the LAN IP address of your router. On larger networks, the default gateway might be a dedicated routing appliance, a Layer 3 switch, or a firewall rather than a general-purpose router.

Related Guides

More From This Section