In today's digital world, accessing the settings of a home or office router is a basic network administration skill. Users often need to change a password, set up parental controls, or forward ports, but all of these actions begin with one key step: finding the gateway address. This IP address serves as the gateway to your equipment's web interface, allowing you to manage all of your local network's settings.
Many beginners encounter difficulties when standard methods fail or the label on the device is worn out. In this article, we'll cover software and hardware methods for determining the default gateway for various operating systems. You'll learn how to use the command line, graphical interfaces, and specialized tools to obtain accurate data about your network configuration.
Knowing where to find your gateway will help you not only with basic setup, but also with diagnosing connection issues. Default Gateway A network host is the node through which your computer connects to the global internet beyond your local network. Without the correct address of this node, stable network operation is impossible, so knowing how to find and check it is critical.
What is a default gateway and why is it needed?
In computer networking terminology default gateway A default gateway is a network node that routes traffic from your local network to external networks, such as the internet. Simply put, it's a "translator" between your device and the rest of the world. If your computer is your home, then the gateway is the gate through which all incoming and outgoing mail passes.
Physically, the role of the gateway is most often performed by Wi-Fi router or your ISP's modem. When you enter a website address in your browser, the request is first sent to the gateway's IP address, which then forwards it further up the ISP chain. On a local network, this address is usually the first or last in the range of addresses being distributed.
⚠️ Warning: If the wrong gateway is specified in the network settings, the device will only be able to communicate with other computers within the local network, but will not be able to access the Internet at all, even if the ISP cable is connected properly.Knowing the gateway address is necessary not only for accessing the network but also for managing the router itself. The web management interface, where passwords and security settings are changed, is accessible via this IP address. For most home networks, these addresses are:
192.168.0.1or192.168.1.1, however they can be changed by the administrator.📊 What access do you have to your router now?There is physical access (I see the sticker)The router is far away or hanging on the wallNeed to find IP from phoneYou need to find the IP address from your computer.Finding a gateway on Windows using the command line
The fastest and most reliable way to find the gateway address in a Windows operating system is to use the command line. This method works on all OS versions, from the ancient Windows XP to the latest Windows 11, and is independent of the graphical interface or language version of the system.
First, you need to open the console. Press the key combination
Win + R, entercmdand press Enter. In the black window that opens, enter the commandipconfigand press Enter. The system will display a list of all network adapters and their current configurations.C:\Users\User> ipconfigEthernet adapter Ethernet:
Media State . . . . . . . . . . . : Media disconnected
Wireless LAN adapter Wi-Fi:
IPv4 Address. . . . . . . . . . . : 192.168.1.45
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1In the resulting list, find the section that corresponds to your active connection (usually "Wireless Network" or "Ethernet"). Line Main gateway (or Default Gateway) contains the IP address being searched for. In the example above, it is
192.168.1.1This is the address you need to enter into your browser's address bar to access the settings.Sometimes there may be multiple active adapters in the list. In this case, select the one with the IPv4 and gateway fields filled in. If you're connected via Wi-Fi, look for the "Wireless LAN" section. If you're connected via cable, look for "Ethernet."
Finding a Router's IP Address on macOS and Linux
Users of Apple computers and Linux-based operating systems can also quickly access the necessary information via the terminal. While the graphical interfaces in these operating systems are well developed, console commands often provide more accurate and comprehensive data about the network infrastructure.
On macOS, open the Terminal app (you can find it through Spotlight by clicking
Cmd + Space). Enter the commandnetstat -nr | grep defaultThis command will filter the routing table and display only the row with the default gateway. The address listed in the second column is your router's IP address.In Linux distributions such as Ubuntu or Debian, you can use the command
ip route | grep defaultor an older, but understandable oneroute -nIn the command output, look for a line that starts withdefault viaor having a flagUGin the flags column. The numerical value after the word via is gateway.An alternative method for macOS is the graphical interface. Go to
System Preferences → NetworkSelect your active connection (Wi-Fi or Ethernet) and click "Advanced" or "Details." Go to the TCP/IP tab, where the desired address will be listed in the "Router" field.Why may addresses differ?
Gateway addresses can be changed by the network administrator. Standard ranges like 192.168.xx are used for private networks, but in the corporate segment or with some providers (for example, Beonline or TPLink in access point mode), the addressing may be completely different, such as 10.0.0.x.
How to find a gateway on Android and iOS smartphones
Mobile devices are often used today as the primary tools for network configuration, especially when a laptop is not at hand. Android and iOS operating systems hide technical information deep within menus, but it can still be found without installing third-party software.
On iPhone or iPad, the process is quite straightforward. Open
Settings → Wi-FiClick on the blue information icon(i)next to your network name. Scroll down to the "IPv4 Address" section. There you'll see the line "Router"—this is your gateway IP address. Tap it to copy it for later use.On Android, the situation is a bit more complicated due to the variety of skins from manufacturers. On stock Android (Pixel, Motorola), you need to go to
Settings → Network & Internet → Wi-Fi, click the gear icon next to the network and select "View all" or expand the "Advanced" menu. The "Gateway" field will display the required IP address.
- 📱 On Samsung One UI: Settings → Connections → Wi-Fi → gear → scroll down to "View more" → Gateway.
- 📱 On Xiaomi MIUI/HyperOS: Settings → Wi-Fi → arrow next to the network → "Network" section → Gateway.
- 📱 On Huawei EMUI: Settings → Wireless & networks → Wi-Fi → network name → Gateway.
If information is hidden or displayed incorrectly in the phone's default settings, you can always use free apps from the store, such as Fing or Network AnalyzerThey show a complete network map, including the IP addresses of all devices, MAC addresses, and, of course, the gateway address.
☑️ Check before logging into the router
Completed: 0 / 4Standard addresses and search via sticker on the body
If software methods are unavailable or the device doesn't obtain an IP address automatically, it's worth inspecting the hardware. Electronics manufacturers almost always provide factory data directly on the device's casing. This is the most reliable method, independent of operating system settings.
Turn the router over and inspect the bottom or back panel. There should be a sticker with technical information. Look for the margins. IP Address, Default Access, Router IP or just a URL like
tplinkwifi.net,my.keenetic.netThe factory login and password are often indicated nearby.
Router brand Standard IP address Domain name Frequent logins TP-Link 192.168.0.1 / 192.168.1.1 tplinkwifi.net admin ASUS 192.168.1.1 router.asus.com admin Zyxel Keenetic 192.168.1.1 my.keenetic.net admin Tenda 192.168.0.1 tendawifi.com admin Xiaomi 192.168.31.1 miwifi.com admin (or no password) It's important to understand that if the router was previously configured by someone else, the default addresses may have been changed. In this case, the sticker will only help with the factory credentials, but not with the current IP address if it has been reassigned. It's also worth considering that some providers (e.g., Rostelecom, MGTS) use modified firmware with their own addresses.
⚠️ Please note: Interfaces and addresses in router firmware may be updated. Providers can also change settings remotely. Always check your contract with your provider or the manufacturer's official website for the latest information.What to do if the gateway is not detected or unavailable
The situation when the team
ipconfigreturns an empty gateway field or an address of the form169.254.x.x, indicates a problem receiving settings from the router. Addresses starting with 169.254 are assigned automatically by the system when the DHCP server (usually the router) doesn't respond. This means there's a physical connection, but no logical contact.The first step in this situation should be a hardware reboot. Unplug the router, wait 10-15 seconds, and then plug it back in. Wait for it to fully boot up (usually 1-2 minutes, until the required indicators light up) and try checking the network settings on your computer again.
If rebooting doesn't help, try resetting your PC's network adapter settings. In Windows, you can do this via
Settings → Network & Internet → Advanced network settings → Network resetThis action will reinstall the network drivers and reset all network settings to factory defaults.In rare cases, the cause may be an IP address conflict, where two devices with the same gateway address are connected to the network (for example, two routers connected with a LAN-to-LAN cable without proper configuration). Check to see if any unnecessary equipment is connected to your network.
Accessing web interface settings and security
Once you've found the gateway IP address, enter it into the address bar of any browser (Chrome, Firefox, Edge). It's important to enter the address in the address bar, not in the search bar. A login page will open, where you'll need to enter your username and password.
If you have never changed your login details, use the combinations from the sticker or the standard ones (often these are
admin/admin). Immediately after the first login highly recommended Change the factory password to a complex and unique one. This will protect your network from unauthorized access and configuration changes by hackers.Within the router interface, you can change not only the Wi-Fi password but also the gateway address itself, if necessary for setting up a complex network. This is usually done in the "Configuration" section.
LANorLocal area networkHowever, changing the gateway address unnecessarily is not recommended, as this will require reconfiguring all connected devices.Modern routers also offer guest network setup. This is a great way to secure your essential data. A guest network creates a separate virtual gateway through which guests can access the internet but cannot see your personal files and printers on the local network.
Forgot your admin password?
If you changed your router password and forgot it, it's impossible to recover. The only solution is to perform a hard reset. To do this, with the router turned on, press and hold the Reset button (usually in the hole) for 10-15 seconds. The router will return to factory settings, and the password will be the one on the sticker.
Frequently Asked Questions (FAQ)
Is it possible to change the gateway IP address on a router?
Yes, you can do this in the LAN settings section of the router's web interface. However, after changing the address, you'll have to reconnect all devices to the network, as the old settings will no longer be valid. Only do this if you understand why you need it (for example, to connect networks).
Why does the browser say "Unable to connect" when entering the gateway IP?
You may be using the wrong protocol (try http:// instead of https:// or vice versa), have a VPN/proxy enabled that redirects local traffic, or your antivirus software is blocking access to the settings page. Try opening the page in incognito mode.
Is a gateway always a router?
In 99% of home cases, yes. However, in complex corporate networks, the gateway may be a dedicated server or firewall, with the router simply acting as an access point. In such cases, it's best to check the gateway address with your system administrator.
How do I find the gateway if I'm not connected to this router's network?
It's impossible to remotely find the gateway IP address of another network without special access. If you're outside the Wi-Fi range and not connected via cable, you won't be able to access the router's settings because your computer can't see the local network.