What is a Default Gateway?

A default gateway is the IP address of the router that connects your local network to the internet. Learn how it works, why every device needs one, and how to find yours.

ip-fundamentals

When your laptop needs to load a webpage, it faces an immediate question: where do I send this request? The website is not on your local network, so your laptop cannot deliver the data directly. It needs a middleman: a device that knows how to reach the outside world.

That middleman is your default gateway.

What a Default Gateway Actually Does

The default gateway is the IP address of the router that connects your local network to the internet. Every device on your network (phones, laptops, smart TVs, printers) is configured with this default gateway address. It tells them: “If you need to reach anything outside this network, send it here.”

The word “default” is key. Your device might know how to reach certain local addresses directly. But for everything else (every website, every cloud service, every server on the internet), it falls back to the default route. And that default route points to the default gateway.

In almost every home network, the default gateway is the router’s LAN IP address. The router sits between your local devices and your ISP’s network, forwarding traffic in both directions.

How the Default Gateway Works with Routing

The default gateway is where your device sends all non-local traffic. When your device wants to reach an address, it first checks: is the destination on my local network? It figures this out using its own IP address and subnet mask. If your device is 192.168.1.100 with a subnet mask of 255.255.255.0, anything in the 192.168.1.x range is local. Your device sends those packets directly.

For everything else (and that means virtually all internet traffic), the device forwards the packet to the default gateway. The router then consults its own routing table, which has much more information about how to reach different networks. In a home setup, the router typically has one simple instruction: send everything to the ISP’s next router. That router knows how to reach more networks, and so on, until the packet arrives at its destination.

This chain of hops is how data crosses the internet. But your device only needs to know one thing: the default gateway address. The router handles everything from there.

Common Default Gateway Addresses

The default gateway address your router uses depends on the manufacturer. If you have never changed yours, it is almost certainly one of these:

Gateway AddressCommon Brands
192.168.1.1TP-Link, ASUS, Netgear, Linksys, Cisco
192.168.0.1D-Link, Netgear, Belkin, some TP-Link models
10.0.0.1Apple (AirPort), Xfinity, some AT&T gateways
192.168.1.254Some BT, TalkTalk, Huawei routers
192.168.100.1Some fibre ONTs and cable modems

The default gateway address is not random. It is typically the first or last usable address in the subnet. When a router uses the 192.168.1.x range, it often takes 192.168.1.1 as its default gateway and assigns addresses from 192.168.1.2 onward to connected devices.

How DHCP Assigns the Default Gateway

Your default gateway was configured automatically. You never had to type it in. DHCP handles it.

When your device joins a network, it sends a DHCP request. The router responds with a bundle of network settings: an IP address for the device, a subnet mask, DNS server addresses, and the default gateway. All four arrive together in a single DHCP response.

This is why everything works when you connect to Wi-Fi. Your device receives all the configuration it needs (including the default gateway) to communicate on the local network and reach the internet.

If you set a static IP on a device (bypassing DHCP), you must specify the default gateway manually. Miss this step, and the device can talk to other machines on the local network but cannot reach the internet.

How to Find Your Default Gateway

Finding your default gateway takes seconds on any platform.

Windows: Open Command Prompt (press Win+R, type cmd, hit Enter) and run:

ipconfig

Look for “Default Gateway” under your active network connection. You will see an address like 192.168.1.1.

macOS: Open Terminal and run:

netstat -rn | grep default

The second column shows your default gateway IP.

Linux: Open Terminal and run:

ip route | grep default

The output shows default via 192.168.1.1 dev eth0 or similar, where the address after “via” is your default gateway.

iPhone: Go to Settings > Wi-Fi, tap the info icon next to your connected network, and look for “Router.”

Android: Go to Settings > Network > Wi-Fi, tap your connected network, and look for “Gateway.”

Once you know the default gateway address, you can type it into a browser to access your router’s admin panel and manage your network settings. For a step-by-step walkthrough, see our guide to finding your router IP address.

What Happens When the Default Gateway is Unreachable

If the default gateway goes down, the symptoms are specific and recognisable.

You lose all internet access. Websites will not load. Streaming stops. Cloud apps disconnect. But local network features may still work. You might still reach a network printer, shared folders on another computer, or cast to a smart TV.

The error messages vary. Windows often shows “No internet access” with a yellow triangle on the network icon. macOS displays “No internet connection” in the Wi-Fi menu. Browsers show DNS errors or timeout messages.

Common causes of an unreachable default gateway:

  • Router is powered off or crashed. Check the lights and restart it.
  • Wi-Fi disconnected. Your device lost the wireless connection.
  • Wrong IP configuration. You set a static IP with the wrong default gateway address.
  • Network cable unplugged. For wired connections, check the cable.
  • IP conflict. Another device claimed the same IP as the router (rare but possible).

The quickest fix is usually restarting the router. If that does not work, try releasing and renewing your DHCP lease (on Windows: ipconfig /release followed by ipconfig /renew). This forces your device to get fresh network settings, including a new default gateway assignment, from the router.

Default Gateway vs Router vs Modem

These terms overlap but mean different things. The default gateway is not a device. It is an IP address.

A router is a physical device. The default gateway is the router’s IP address on the local network side. Every router has at least two IP addresses: one facing the internet (its public/WAN IP) and one facing your devices (its local/LAN IP). The LAN IP is the default gateway.

A modem is a separate device that converts your ISP’s signal into Ethernet. Many ISPs now provide a combined modem-router (sometimes called a gateway device, which adds to the confusion). In that case, the combo unit acts as both your modem and your default gateway.

The key takeaway: the default gateway is the address your devices use to reach the router. It is one specific configuration value that makes internet access possible.

Frequently Asked Questions

What is a default gateway in simple terms?

A default gateway is the IP address of the router on your local network. It acts as the exit door for all traffic that needs to leave your network and reach the internet. Every device connected to your network is configured with this address so it knows where to send outbound requests.

How do I find my default gateway?

On Windows, open Command Prompt and type 'ipconfig' and look for Default Gateway. On macOS, open Terminal and type 'netstat -rn | grep default'. On Linux, type 'ip route | grep default'. On mobile devices, check the Wi-Fi connection details in Settings. The most common default gateways are 192.168.1.1, 192.168.0.1, and 10.0.0.1.

Is the default gateway the same as the router IP?

Yes, in a typical home network. The default gateway address is the IP address of your router on the local network side. It is the address you type into a browser to access the router admin panel. Common examples are 192.168.1.1 and 192.168.0.1.

What happens if the default gateway is unreachable?

If your device cannot reach the default gateway, you lose internet access. Local network communication (like accessing a network printer or shared files) may still work, but nothing can leave the network. Common causes include the router being powered off, a Wi-Fi disconnection, or a misconfigured IP address.

Can I change my default gateway?

You can change which IP address your device uses as its default gateway by setting a static IP configuration instead of using DHCP. However, the gateway address must point to a functioning router on your network. Changing it to a wrong address will break your internet connection.