How to find your default gateway: Find your router's IP address on all devices

The need to urgently access your home router settings often arises at the most inopportune moment: you need to change your Wi-Fi password, open ports for a game, or set up parental controls. The first step in this process is always searching for default gatewayThis address, a set of numbers, serves as the "door" to your router's administrative panel, where you control your entire local network.

Many users mistakenly believe that this address is always the same and equal to the standard value, but in reality it can be changed by the provider or the previous owner of the equipment. Understanding that Where can I find the Wi-Fi gateway? On a specific device, be it a Windows laptop, MacBook, or smartphone, knowing how to set up a network is a basic skill for any modern internet user. Without this knowledge, further fine-tuning of the network becomes impossible.

In this article, we'll explore all possible methods for obtaining this information, from looking at the device's labels to using the command line. We'll cover the nuances for different operating systems and explain why standard addresses may sometimes fail, requiring a more in-depth analysis of network parameters.

What is a default gateway and why is it needed?

In computer networking terminology default gateway A default gateway is a network node to which data packets are sent if their destination is not within the local network. Simply put, it's the intermediary between your computer and the rest of the internet. At home, this gateway is almost always a Wi-Fi router or modem, which connects your devices to the provider's global network.

The gateway address is the IP address of the router itself on the local network. When you enter this address in a browser, you access the device's web interface directly, bypassing the internet connection. This allows you to make configuration changes even without access to the global network, as long as the local connection is maintained. Without this address, you won't be able to manage it. Network SSID, WPA2/WPA3 security settings, or DHCP functions.

⚠️ Note: The default gateway address may differ from the address your ISP uses for remote equipment management. Don't confuse the local IP (usually starting with 192.168) with the external IP address visible to websites on the internet.

There are several standard address ranges that equipment manufacturers use by default. These are most often addresses from reserved private ranges. Understanding the structure of these addresses can help you navigate the problem if the standard input method doesn't work the first time. Below is a table of the most common gateway addresses for popular brands:

Router brand Standard IP address Alternative address
TP-Link, D-Link 192.168.0.1 192.168.1.1
ASUS, Netgear 192.168.1.1 10.0.0.1
Xiaomi, Huawei 192.168.31.1 192.168.100.1
Zyxel, Tenda 192.168.0.1 192.168.10.1
📊 What is your current main router?
TP-Link
ASUS
Xiaomi
Provider (from Rostelecom/Beeline, etc.)
Another

How to find the gateway on a Windows computer

The Windows operating system provides several convenient tools for viewing network information. The fastest and most reliable method, which works on all versions of Windows from XP to Windows 11, is using the command line. This method eliminates errors associated with different menu layouts in versions with a graphical interface.

To get started, press the key combination Win + R, in the window that appears, enter cmd and press Enter. In the black window that opens, enter the command ipconfig and press Enter again. The system will display an extensive list of parameters, but you are interested in the line Main gateway (or Default Gateway). The digital code listed next to this item is your router's address.

☑️ Checking network settings in Windows

Completed: 0 / 5

If you prefer a graphical interface, you can find the gateway through the network settings. Right-click the Wi-Fi or wired connection icon in the system tray (near the clock) and select "Network & Internet settings." Next, go to "Change adapter settings," double-click the active connection, and click "Details." In the window that opens, find the line Default Gateway IPv4.

Sometimes users encounter a situation where the gateway field displays an address 0.0.0.0 or the field is empty. This indicates that the device did not receive the correct settings from the router, possibly due to a DHCP server failure. In this case, simply restarting the network adapter or the router itself often resolves the issue, restoring correct address assignment.

Finding the gateway address on macOS and Linux

Apple computer users can also quickly find the information they need using built-in utilities. In macOS, this is done through System Preferences. Go to the Apple menu (the apple in the upper left corner), select "System Preferences," then "Network." After selecting your active connection (Wi-Fi or Ethernet), click "Details" or "Advanced," then go to the TCP/IP tab. The required address will be listed in the line Router.

For those who prefer the Terminal, the command looks different in macOS than in Windows. Open the Terminal app and enter netstat -nr | grep defaultThe system will display a line starting with "default," followed by the gateway's IP address. This method is especially convenient when you need to quickly copy the address without unnecessary mouse clicks.

On Linux-based operating systems like Ubuntu or Debian, the process is also extremely simplified for advanced users. Open a terminal and use the command ip route | grep default or outdated but still working route -nIn the command output, look for a line with the label default via — the numbers following it are the address you are looking for.

What to do if the address does not open?

If you entered the correct gateway IP address but the page doesn't load, try the following: 1. Make sure you're connected to the network you're configuring. 2. Check to see if your antivirus software is blocking access to local pages. 3. Try using incognito mode in your browser or a different browser (e.g., Firefox instead of Chrome), as cache or extensions may be interfering with the router interface. 4. Make sure you're using http:// in the address bar, not https://, if your router is older and doesn't support a secure connection for the local panel.

Where to view the gateway on Android and iOS

Mobile devices have become the primary internet access point, and knowing how to find the gateway on your smartphone can be a lifesaver when you don't have a computer at hand. On iOS devices (iPhone, iPad), the information is hidden a bit deeper than you'd like. Go to "Settings," select "Wi-Fi," and tap the blue information icon. (i) next to your network name. Scroll down to the "IP Configuration" (or DHCP) section—it will list the "Router" address.

In the Android world, the situation is a bit more complicated due to the variety of skins from different manufacturers (Samsung, Xiaomi, Realme). On "pure" Android (Pixel, Motorola), you need to go to "Settings" → "Network & Internet" → "Wi-Fi." Tap the gear icon next to your active network, then select "Advanced" or expand the "See more" menu. In the list of options, find the item Gateway.

On Samsung smartphones, the interface may differ: "Settings" → "Connections" → "Wi-Fi." Tap the network name (or the gear icon), then select "View more" at the bottom of the list. The gateway address will be listed there. If you can't find the address using standard tools, you can use third-party network scanner apps, such as Fing or Network Analyzer, which show the entire map of connected devices and gateways.

⚠️ Note: On some Android versions (especially older ones, prior to versions 7-8), the full gateway IP address might not be displayed in the default menu without root access. In such cases, using a third-party app from the Play Market is the only solution without a PC connection.

Physical search and alternative methods

If you can't access the configured device (for example, you forgot the Wi-Fi password and can't connect), the only option is to physically inspect the equipment. Almost every router has a sticker with technical information on the bottom or back panel. Look for the fields IP Address, Default Access, Router IP or just a set of numbers like 192.168.x.x. It also often contains a web address, such as, tplinkwifi.net or my.keenetic.net, which can be entered into the browser instead of numbers.

Another reliable method is to use the command line with the utility tracert (traceroute). This method is good because the first step of tracing to any external resource (for example, google.com) always goes through your gateway. Open the command prompt and enter:

tracert google.com

In the list of displayed nodes, the first line (marked with the number 1) will contain the IP address of your router. This method is universal and works even in complex network configurations where the standard ipconfig may show multiple gateways or incorrect data due to static routes.

Common problems when connecting to the gateway

Even with the correct address, users often encounter errors when attempting to log in. One common issue is an IP address conflict or an incorrect subnet mask. If your computer has a static IP address that is outside the router's network range (for example, if the router has a network 192.168.10.x, and the computer has an address registered 192.168.0.5), the connection will not be established. In this case, you need to switch the network adapter settings to obtain an IP address automatically (DHCP).

It's also worth considering that modern routers may have separate bands for guest networks and the main network. If you're connected to guest Wi-Fi, access to the admin panel (gateway) may be blocked by client isolation security settings. In this case, gateway technically exists, but the control port for your current session is closed.

Firewalls and antivirus software sometimes detect attempts to access local IP addresses as suspicious activity. If the settings page doesn't load, try temporarily disabling the protection or adding the gateway address to the exceptions list. Additionally, some providers use CGNAT technology to hide the real IP address, but this applies to the external address; the local gateway inside the apartment remains accessible according to standard rules.

Is it possible to change the gateway IP address?

Yes, you can change the gateway address (i.e., the IP address of the router itself) in its settings. This is done in the LAN settings section. However, you should do this with caution: after changing the address, all devices will lose connection to the router, and you will have to reconnect using the new IP. This is useful if the address conflicts with the address of another router in a cascaded network.

Why doesn't the address 192.168.1.1 open?

There could be several reasons: the router is using a different address (for example, 192.168.0.1 or 10.0.0.1), you are not connected to that router's network, or a firewall has been triggered. It's also possible that your ISP changed the default addressing scheme during the initial setup of your equipment.

Is a gateway always a Wi-Fi router?

In a home environment, yes, in 99% of cases. However, in corporate networks, the gateway may be a dedicated server or enterprise-class router, and the Wi-Fi access point merely broadcasts the signal. In such cases, the gateway address may be complex and not comply with consumer standards.

How to find out the gateway if the internet is not working?

Internet access isn't required to find a gateway. Simply connect your device to the router (via cable or Wi-Fi), even if the router's red indicator indicates no connection to the ISP. The local network will continue to function.