What Is a Default Gateway? How to Find It on Any Device

by Tommy N. Updated Apr 23, 2026

Your default gateway is the unsung hero of your home network — it's the address your devices use to reach the internet and everything beyond your local network. Whether you're troubleshooting a dropped connection or configuring a new device, understanding what a default gateway is and how to find it on any device is a fundamental networking skill every user should have.

Diagram showing how a default gateway connects devices on a home network to the internet
Figure 1 — What Is a Default Gateway? How to Find It on Any Device

In this guide you'll learn exactly what a default gateway does, why it matters for your internet connection, and step-by-step instructions for finding your gateway address on Windows, macOS, Linux, Android, and iOS. If you've ever wondered about your router's role in all of this, our primer on what an IP address is and our guide to finding your router's IP address are great companions to this article.

What Is a Default Gateway? How to Find It on Any Device — complete visual guide showing gateway discovery on Windows, Mac, iOS, and Android
Figure 2 — What Is a Default Gateway? How to Find It on Any Device at a Glance

What Is a Default Gateway and How Does It Work?

A default gateway is a network device — almost always your router — that acts as the access point between your local network (LAN) and external networks like the internet. When your laptop wants to load a webpage, it first checks whether the destination IP address lives on your local network. If it doesn't, it sends the traffic to the default gateway, which then forwards it along toward its destination. Without a valid default gateway, your device can talk to other devices on the same Wi-Fi or Ethernet network, but it can't reach anything outside of it.

In technical terms, the default gateway is defined by an IP address that your device stores in its routing table. This entry says, in effect, "for any traffic destined for an unknown or external network, send it here." On most home networks, this IP address is something like 192.168.1.1 or 192.168.0.1 — the private IP address of your router's LAN interface. Your router then performs Network Address Translation (NAT), swapping your private IP for the public IP assigned by your ISP before sending packets out to the internet.

The default gateway address is typically assigned automatically by your router via DHCP (Dynamic Host Configuration Protocol). When your device connects to the network, it broadcasts a request, the router responds with an IP address, subnet mask, DNS server addresses, and the default gateway — all in one handshake. This is why most people never need to think about their gateway: it gets configured silently in the background every time a device joins the network. You can learn more about this automatic assignment process in our DHCP guide.

It's worth distinguishing the default gateway from your public IP address. Your gateway is a private address visible only inside your home network, while your public IP is what the outside world sees. Multiple devices on the same network — your phone, laptop, smart TV, and game console — all share the same default gateway (your router), but each gets a unique private IP. The router keeps track of which internal device requested which external data and routes the responses back correctly.

How to Find Your Default Gateway on Any Device

Finding your default gateway takes only a few steps regardless of operating system — here's exactly how to do it on the five most common platforms.

  1. Windows (Command Prompt) — Press Win + R, type cmd, and press Enter to open a Command Prompt window. Type ipconfig and press Enter. Look for the network adapter you're using (Wi-Fi or Ethernet) and find the line labeled Default Gateway — the IP address on that line is your gateway. On most home networks this will be 192.168.1.1 or 192.168.0.1.
  2. macOS (System Settings or Terminal) — On macOS Ventura or later, open System Settings → Network, click your active connection, then click Details and select the TCP/IP tab. Your gateway is shown in the Router field. Alternatively, open Terminal and run netstat -nr | grep default — the IP address in the first result row is your default gateway.
  3. Linux (Terminal) — Open a terminal and run ip route show or the older route -n command. Look for the line beginning with default via — the IP address immediately following those words is your default gateway. Most desktop Linux distributions also expose this in the network settings GUI under the IPv4 tab of your active connection.
  4. Android — Go to Settings → Wi-Fi, then tap the gear or info icon next to your connected network. Scroll down to find the Gateway field. On some Android skins (Samsung One UI, for example), you may need to tap View More or switch IP settings to Static temporarily to reveal the gateway field — just cancel without saving if you do that.
  5. iPhone & iPad (iOS / iPadOS) — Open Settings → Wi-Fi and tap the blue info icon (i) next to your connected network. Scroll down to the IPv4 Address section and look for the Router field — that IP address is your default gateway. Note that iOS displays the gateway under the Router label, not "Default Gateway," so don't be confused by the naming difference.

Default Gateway Addresses by Router Brand

Most consumer routers use one of a handful of standard default gateway addresses. The table below lists the most common defaults so you can quickly identify your gateway or access your router's admin panel.

Router BrandDefault GatewayAdmin URLNotes
Netgear192.168.1.1http://192.168.1.1 or routerlogin.netSome newer models use 192.168.0.1
Linksys192.168.1.1http://192.168.1.1 or myrouter.localVelop mesh nodes may differ
ASUS192.168.1.1http://router.asus.comAiMesh nodes keep the same gateway
TP-Link192.168.0.1http://tplinkwifi.netOlder models may use 192.168.1.1
D-Link192.168.0.1http://192.168.0.1 or dlinkrouter.localSome ISP-issued models vary
Xfinity / Comcast10.0.0.1http://10.0.0.1Gateway/modem combo units
AT&T (BGW)192.168.1.254http://192.168.1.254BGW210 & BGW320 models

Quick Tip: Use Your Gateway to Access Your Router Admin Panel

Once you know your default gateway address, you can type it directly into any browser's address bar to reach your router's administration interface. From there you can change your Wi-Fi password, update firmware, set up a guest network, and more. If you've never logged in before, check our router default password guide to find the factory credentials for your model.

Troubleshooting Default Gateway Problems

When your default gateway is missing, set incorrectly, or unreachable, your device loses internet access even if it shows as "connected" to Wi-Fi. This is one of the most common causes of the frustrating situation where your Wi-Fi signal looks full but pages won't load. The fix usually involves renewing your DHCP lease, restarting your router, or correcting a misconfigured static IP. If you're experiencing consistently slow speeds rather than a full outage, the issue may be upstream — our slow Wi-Fi troubleshooting guide covers the most likely culprits.

Static IP misconfigurations are another frequent culprit. If you've manually set a static IP on your device but entered the wrong gateway address (or left it blank), traffic won't route outside your local network. Always double-check that your manually entered gateway matches the router's LAN IP exactly. When in doubt, switching back to DHCP and letting the router assign everything automatically will resolve most gateway-related issues instantly. Our guide to setting up a static IP walks through the correct values to enter.

  • Run ping 192.168.1.1 (or your gateway IP) in a terminal — if it times out, your router may be offline or unreachable
  • Restart your router and modem by unplugging both for 30 seconds, then powering the modem on first, waiting 60 seconds, then the router
  • Release and renew your IP lease on Windows with ipconfig /release followed by ipconfig /renew
  • Check that your device isn't assigned a static IP with an incorrect or empty gateway field in its network settings
  • If you see 0.0.0.0 or a blank gateway, your device failed to get a DHCP response — try forgetting the Wi-Fi network and reconnecting

Pro Tip: Use our online ping test tool to quickly check whether your router's gateway IP is responding from outside your network, which can help you distinguish between a local configuration issue and a broader ISP outage.

Common Default Gateway Mistakes to Avoid

  • Don't confuse your default gateway with your public IP address — they are different addresses serving completely different purposes
  • Avoid setting two devices on the same network to the same static IP address, which can knock your gateway offline through an IP conflict
  • Don't leave the gateway field blank when configuring a static IP — a missing gateway means no internet access, even if everything else is correct
  • Never change your router's LAN IP (the gateway address) without also updating any devices that have that address hardcoded as a static gateway

Frequently Asked Questions

What is a default gateway in simple terms?

A default gateway is the IP address of your router on your local network — it's the "door" your device uses to send traffic to the internet or any network outside your home. Think of it like the address of a post office: all outgoing mail from your street gets dropped there first before being routed to its final destination. On most home networks, the default gateway is your router's LAN IP address, typically something like 192.168.1.1.

Is the default gateway the same as the router IP address?

Yes, in almost all home network setups the default gateway and your router's local IP address are the same thing. Your router's LAN interface holds that IP address, and it's the device that forwards traffic beyond your local network. You can confirm this by comparing the gateway shown in your network settings with the IP you use to access your router's admin panel — they should match. Learn more in our find your router's IP address guide.

What happens if the default gateway is wrong or missing?

If your default gateway is incorrect or missing, your device can still communicate with other devices on the same local network, but it won't be able to reach the internet or any external network. You'll often see a "No Internet" warning even though your Wi-Fi shows as connected. Fixing it usually means either reconnecting to the network so DHCP can reassign the correct gateway, or correcting the manually entered gateway address in your network settings.

Can two devices on the same network have different default gateways?

Technically yes, but in a standard home network all devices should use the same default gateway (your router). Having devices point to different gateways is only intentional in advanced multi-router or enterprise setups. If you discover a device using a different gateway than all your others, it may have a manually configured static IP with an outdated gateway entry, or it could indicate an unauthorized device acting as a rogue gateway.

How do I change my default gateway?

On most devices, the default gateway is set automatically via DHCP and you don't need to change it manually. If you do need to set a specific gateway (for example, when assigning a static IP), go to your network adapter's IPv4 settings on Windows or macOS and enter the correct gateway IP in the designated field. You can change which IP your router uses as the gateway by logging into the router admin panel and modifying the LAN IP settings — this also changes the gateway address all DHCP clients will receive.

Why does my default gateway show as 0.0.0.0?

A gateway of 0.0.0.0 means your device either failed to receive a valid gateway from the DHCP server, or no gateway has been manually configured. This typically happens when your router is unreachable, the DHCP service on the router isn't responding, or there's an IP address conflict on the network. Try restarting your router, forgetting and rejoining the Wi-Fi network, or running ipconfig /release and ipconfig /renew on Windows to force a fresh DHCP assignment.

Key Takeaways

  • Your default gateway is the IP address of your router's LAN interface — it's the exit point for all traffic leaving your local network
  • On most home networks the gateway is automatically assigned via DHCP; you typically only need to find it when troubleshooting connectivity problems
  • You can find your gateway on Windows with ipconfig, on macOS via System Settings or netstat -nr | grep default, and on mobile devices in the Wi-Fi details screen
  • Common gateway IPs are 192.168.1.1, 192.168.0.1, and 10.0.0.1 depending on your router brand and ISP
  • A missing or incorrect gateway causes "connected but no internet" symptoms and is usually fixed by restarting the router or renewing the DHCP lease

Related Guides

For authoritative networking standards and specifications, refer to the Internet Assigned Numbers Authority (IANA) or IETF RFC documents.

Tommy N.

About Tommy N.

Tommy is the founder of RouterHax and a network engineer with over ten years of experience in home and enterprise networking. He has configured and troubleshot networks ranging from simple home setups to multi-site enterprise deployments, with deep hands-on experience in router configuration, WiFi optimization, and network security. At RouterHax, he oversees editorial direction and covers home networking guides, mesh WiFi system reviews, and practical troubleshooting resources for everyday users.

Promotion for FREE Gifts. Moreover, Free Items here. Disable Ad Blocker to get them all.

Once done, hit any button as below