Your Guide to How To Find Your Default Gateway

What You Get:

Free Guide

Free, helpful information about Internet & Networking and related How To Find Your Default Gateway topics.

Helpful Information

Get clear and easy-to-understand details about How To Find Your Default Gateway topics and resources.

Personalized Offers

Answer a few optional questions to receive offers or information related to Internet & Networking. The survey is optional and not required to access your free guide.

How to Find Your Default Gateway on Any Device

Your default gateway is the IP address of the router or modem that connects your local network to the internet. Every device on your network uses it as the "exit point" — a traffic director that forwards data between your home or office network and the wider web. Knowing how to find it matters when you're troubleshooting a connection, configuring network settings, or accessing your router's admin panel.

Here's how to locate it across every major platform, plus what the address actually tells you.

What Is a Default Gateway, Exactly?

When your device sends a request — say, loading a webpage — it first checks whether the destination is on your local network. If it isn't, traffic gets forwarded to the default gateway, which then routes it outward. In most home setups, this is your router, and the gateway address is typically something like 192.168.1.1 or 192.168.0.1.

The address itself is a private IPv4 address assigned within a standard range. Your ISP-provided modem-router combo, a standalone router, or even a network switch with routing capability can all serve as the gateway depending on your setup.

How to Find Your Default Gateway on Windows 🖥️

Using Command Prompt (all Windows versions):

  1. Press Windows + R, type cmd, and hit Enter
  2. Type ipconfig and press Enter
  3. Look for Default Gateway under your active network adapter (Ethernet or Wi-Fi)

The value next to "Default Gateway" is the address you need.

Using Settings (Windows 10/11):

  1. Go to Settings → Network & Internet
  2. Click your active connection (Wi-Fi or Ethernet)
  3. Select Hardware properties or View connection properties
  4. Scroll to find IPv4 DNS server or gateway details listed under network properties

The ipconfig method is faster and works reliably across all Windows versions.

How to Find Your Default Gateway on macOS

Using Terminal:

  1. Open Terminal (Applications → Utilities → Terminal)
  2. Type netstat -nr | grep default and press Enter
  3. The IP address in the first result row is your default gateway

Using System Settings:

  1. Open System Settings (or System Preferences on older macOS)
  2. Go to Network
  3. Select your active connection
  4. Click Details (or Advanced on older versions) → TCP/IP
  5. The Router field shows your default gateway

How to Find Your Default Gateway on Linux 🐧

Open a terminal and run one of the following:

  • ip route | grep default — shows the gateway address after "via"
  • netstat -nr — lists routing table with gateway in the "Gateway" column
  • route -n — similar output, useful on older distributions

The result will look something like: default via 192.168.1.1 dev eth0

The address following "via" is your gateway.

How to Find Your Default Gateway on iPhone or iPad

  1. Go to Settings → Wi-Fi
  2. Tap the icon next to your connected network
  3. Scroll down to the Router field

This displays the gateway IP for the network you're currently connected to. Note that this only appears for Wi-Fi — iOS doesn't expose gateway details for cellular connections in the same way.

How to Find Your Default Gateway on Android

Android varies by manufacturer and OS version, but the general path is:

  1. Go to Settings → Network & Internet (or Connections)
  2. Tap Wi-Fi, then tap and hold or tap the gear icon next to your network
  3. Look for Gateway or expand Advanced settings

Some Android skins (Samsung One UI, for example) show this under IP settings when you switch from DHCP to Static — the gateway field becomes visible even if you don't change anything. Not all Android versions surface this information the same way.

Common Default Gateway Addresses

AddressCommon Use Case
192.168.1.1Most home routers (Linksys, many others)
192.168.0.1Common alternative for home routers
10.0.0.1Some cable gateways and Apple routers
192.168.2.1Certain Belkin and Cisco routers
10.0.0.2 or 172.x.x.xEnterprise or custom network configurations

These are the typical defaults, not guarantees — network administrators can assign any valid IP as a gateway.

Why the Address Varies Between Users

Several factors determine which gateway address applies to your situation:

  • Router manufacturer defaults — each brand ships with a preconfigured address
  • ISP-assigned equipment — ISPs sometimes lock or pre-configure gateway addresses on their hardware
  • Manual network configuration — IT administrators on business or institutional networks often use non-standard ranges
  • Multiple network adapters — if your device has both Ethernet and Wi-Fi active, each may show a different gateway
  • VPN software — an active VPN can add a virtual gateway that routes traffic differently than your physical router

A device connected via VPN, for example, may show a gateway address that points to a virtual adapter rather than your actual router. The gateway shown in your network settings reflects the active path for that specific adapter — not necessarily your physical hardware.

What You Can Do With the Gateway Address

Once you have it, you can typically type it directly into a browser's address bar to access your router's admin interface — where you can change Wi-Fi passwords, view connected devices, configure port forwarding, and more. Access depends on whether your router requires login credentials (most do) and whether remote management is enabled.

The address is also essential when manually setting a static IP, configuring DNS settings, or diagnosing why a device can't reach the internet despite being connected to Wi-Fi.

What you find — and what you can do with it — depends significantly on how your network is set up, who manages it, and what kind of device you're working with.