How to Find a Gateway IP Address on Any Device or OS

Every device connected to a network communicates through a gateway — typically your router — that routes traffic between your local network and the internet. The gateway's IP address is the numeric label assigned to that router on your local network, and knowing how to find it is one of the most useful basic networking skills you can have. Whether you're troubleshooting a connection, configuring a device manually, or accessing your router's admin panel, the gateway IP is where you start.

What Is a Gateway IP Address?

The default gateway IP is the address your device sends traffic to when it doesn't know where else to direct it — usually when the destination is outside your local network. In most home and small office setups, this is your router.

Common default gateway addresses include:

  • 192.168.1.1
  • 192.168.0.1
  • 10.0.0.1
  • 172.16.0.1

These fall within private IP ranges defined by RFC 1918, meaning they're not routable on the public internet. Your ISP or router manufacturer typically sets a default, but it can be changed by whoever configured the network.

How to Find Your Gateway IP Address by Operating System

🖥️ Windows

The fastest method is through Command Prompt:

  1. Press Windows + R, type cmd, and hit Enter
  2. Type ipconfig and press Enter
  3. Look for the Default Gateway field under your active network adapter

You'll see something like:

If you have both Wi-Fi and Ethernet active, each adapter will have its own section — look at the one that matches your current connection.

Alternatively, navigate to Settings → Network & Internet → your connection → Properties to find the gateway listed under IPv4 settings.

🍎 macOS

  1. Open System Settings (or System Preferences on older macOS versions)
  2. Go to Network, select your active connection (Wi-Fi or Ethernet)
  3. Click Details (or Advanced on older versions) → TCP/IP tab
  4. The Router field shows your gateway IP

You can also use Terminal:

The IP address next to "default" in the output is your gateway.

🐧 Linux

Open a terminal and run:

or

The gateway address appears in the Gateway column next to the 0.0.0.0 destination row.

Android

  1. Go to Settings → Wi-Fi
  2. Tap the network you're connected to (often a gear icon or long-press)
  3. Look for Gateway under network details

On some Android versions or manufacturer skins (Samsung One UI, for example), this information sits under Advanced or requires tapping an IP settings dropdown and switching from DHCP to Static — which reveals the gateway field without actually changing anything, as long as you cancel instead of saving.

iOS and iPadOS

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

That address is your gateway.

Finding the Gateway Through Your Router Directly

If you can access another device on the same network, or if you already know your general IP range, you can often guess the gateway — it's almost always the .1 address on the subnet. If your device's IP is 192.168.1.45, the gateway is very likely 192.168.1.1.

You can confirm by typing that address into a browser's address bar. If your router's admin login page appears, that's your gateway.

Gateway IP in Environments That Complicate Things

Not all network setups are straightforward. Several factors change how gateway information appears or behaves:

ScenarioWhat Changes
VPN activeA virtual gateway may override your physical router's address
Multiple network adaptersEach adapter (Wi-Fi, Ethernet, virtual) may show a different gateway
Corporate or enterprise networksGateway may be a managed switch or firewall, not a consumer router
Mobile hotspotYour phone assigns gateway addresses dynamically — often in the 172.20.x.x range
Static IP configurationGateway must be entered manually and can be misconfigured
IPv6 networksA separate default gateway exists for IPv6 traffic alongside IPv4

In VPN scenarios especially, the gateway you see may route traffic through a tunnel endpoint rather than directly to your physical router — which matters if you're trying to access router admin settings.

When You Need the Gateway IP and When You Don't

Finding your gateway is necessary when:

  • Manually configuring a static IP on a device that doesn't use DHCP
  • Accessing your router's admin interface to change Wi-Fi passwords, port forwarding rules, or DNS settings
  • Diagnosing network connectivity issues — pinging the gateway is a standard first step to determine whether problems are local or upstream
  • Setting up network devices like printers, smart home hubs, or security cameras that require manual network configuration

For most day-to-day use, your device handles gateway routing automatically through DHCP — the protocol that assigns IP addresses and gateway information without any manual input. You only need to find the gateway when something in that automatic process breaks down or when you need more control over your network setup.

The method that works best for you depends on which operating system you're running, how your network is structured, and whether you're dealing with a simple home router or a more complex environment with VPNs, enterprise equipment, or multiple subnets in play.