Knowing the IP address of the default gateway (usually a router) on a home or business network is important information to successfully troubleshoot a network problem or gain access to the router's web-based management. In most cases, the default gateway IP address is the private IP address assigned to the router. This is the address that the router uses to communicate with a local home network.
Instructions in this article apply to all versions of Windows, including Windows 10 through Windows XP. There are also directions for macOS, Linux, Android, and iOS.
How to Find Your Default Gateway IP Address in Windows
The default gateway IP address is stored in the Windows network settings, and it shouldn't take more than a few minutes to locate it.
These instructions find the default gateway IP address on wired and wireless home and small business networks. Larger networks, with more than a single router and simple network hubs, may have more than one gateway and more complicated routing.
Open Control Panel, accessible from the Start menu in most versions of Windows.
To shorten this process on Windows 10 or Windows 8.1, press WIN+X to open the Power User menu, and select Network Connections. Then, skip to Step 4 (Windows 10) or Step 5 (Windows 8).
Select Network and Internet. In Windows XP, click Network and Internet Connections.
If the Control Panel view is set to Large icons, Small icons, or Classic View, select Network and Sharing Center, then go to Step 4. In Windows XP, click Network Connections and skip to Step 5.
In the Network and Internet window, select Network and Sharing Center. In Windows XP, click Network Connections and skip to Step 5.
Select Change adapter options. In Windows 8 and 7, click Change adapter settings. In Windows Vista, click Manage network connections.
Locate the network connection for the default gateway IP. On most Windows computers, a wired network connection is labeled as Ethernet or Local Area Connection, a wireless network connection is labeled as Wi-Fi or Wireless Network Connection.
Windows can connect to multiple networks at the same time, so there may be several connections. If the network connection is working, exclude any connection that is not connected or disabled. To determine which connection to use, go to Details view and note the information in the Connectivity column.
Double-click the network connection to open a status dialog box.
If Properties, Devices and Printers, another window, or a notification appears, the network connection does not have a status, meaning it's not connected to a network or the internet. Go to Step 5 and look for a different connection.
Select Details. In Windows XP, go to the Support tab, then click Details.
In the Property column, locate IPv4 Default Gateway, IPv6 Default Gateway, or Default Gateway, depending on the network type.
The default gateway IP address being used by Windows appears in the Value column.
If no IP address is listed, the connection you chose in Step 5 may not be the one Windows is using to connect to the internet. Go back to Step 5 and choose another connection.
Make a note of the IP address. You can now use it to troubleshoot a connection problem, to access the router, or perform other tasks.
How to Find Your Default Gateway IP Address Via IPCONFIG
The ipconfig command is a quick way to find the default gateway IP address. Use this method if you're experienced working with commands in Windows.
Open Command Prompt.
Enter ipconfig and press Enter.
Go to the Default Gateway entry to find the IP address.
Here's an example result where the default gateway for the Ethernet connection is listed as 192.168.202.2.
...Ethernet adapter Ethernet:Connection-specific DNS Suffix . :Link-local IPv6 Address . . . . . : fe80::29a0:8d37:e56d:40a7%3IPv4 Address. . . . . . . . . . . : 192.168.202.146Subnet Mask . . . . . . . . . . . : 255.255.255.0Default Gateway . . . . . . . . . : 192.168.202.2...
If this is too much information, enter
ipconfig | findstr "Default Gateway"
. This trims down the data that's returned in the
window. However, this method is only helpful if you have one active connection since multiple connections would show the default gateways with no more context on what connection they apply to.
How to Find Your Default Gateway on a Mac or Linux PC
On macOS, there are two ways to find the default gateway: through a graphical program and using the command line.
The easiest way is through System Preferences. Click Network, choose the network connection you're using, then click Advanced. Click the TCP/IP tab and locate the IP address next to Router.
Another way is to use the netstat command. Open a terminal, type this, and then press Enter:
netstat -nr | grep default
To display the default gateway IP on most Linux-based computers, enter this in a terminal window:
ip route | grep default
How to Locate the Default Gateway on iPhone or Android
The easiest way to locate the default gateway on an iOS or Android phone or tablet, is to use the What's My Router IP? website. It probes the network for the default gateway from a web browser, so it works on desktop computers, too. Go to the website and look for your router's local (private) IP.
This isn't the best way to find the default gateway but it works quickly and usually returns the correct IP address. However, if the IP address it shows is incorrect, the "right" method is to use the networking settings built-in to the device.
On an iPhone or iPad, go to Settings > Wi-Fi and tap the small (i) next to the network you're connected to. Next to Router is the default gateway.
Directions for Android depends on the version. See TuneComp's website for specific details, or try these general steps: swipe down from the top of the screen and press-and-hold the Wi-Fi icon, tap the settings icon next to the network, go to Advanced, and then read the address next to Gateway.
Use Default IP Address Assigned by Router Maker
Unless you've changed the router's IP address, or your computer connects directly to a modem to access the internet, the default gateway IP address used by your computer and other devices will never change.
If you can't locate the default gateway, use the default IP address assigned by your router maker, which probably hasn't changed. Check out our updated Linksys default password list, D-Link default password list, Cisco default password list, and NETGEAR default password list to find the default password for your router.