The router gateway is primary IP address, through which all devices on your network access the internet and local resources. Without it, it's impossible to log in. web interface router, change settings DHCP, forward ports, or update firmware. But what if you've forgotten this address or never knew it? Spoiler: you can find it in seconds—and we'll show you how to do it on any device.
Many users mistakenly confuse the gateway with DNS server or external IP- the address provided by the provider. In fact, the gateway is internal address of the router on a local network, usually looking like 192.168.0.1, 192.168.1.1 or 10.0.0.1There's no need to look for it in your internet service provider contract: it's preset by the router's factory settings and can only be changed manually.
1. How to find the gateway using the command line (Windows)
The most universal way for users Windows - use command lineIt works on all OS versions, from Windows 7 to Windows 11, and does not require installation of additional programs.
Open the command prompt: press Win + R, enter cmd and press EnterIn the window that appears, run the command:
ipconfig | findstr "Default Gateway"
The system will display a line like this:
Default gateway . . . . . . . . : 192.168.0.1
This is the address you need. If you are connected to the network via Wi-Fi And Ethernet At the same time, two gateways may appear in the results - select the one that corresponds to the active connection.
⚠️ Attention: If instead of the IP address you see 0.0.0.0 or the message "Media is disabled," check the physical connection to the router—the cable or Wi-Fi connection may be broken.
2. Finding a gateway on Mac (macOS)
On computers Apple The procedure is a little different, but no less simple. Open Terminal (find it through Spotlight on request "Terminal" or in the folder Programs → Utilities) and enter:
netstat -nr | grep default
In the response you will see a line like this:
default 192.168.1.1 UGSc 50 0 en0
Number after the word default (in the example - 192.168.1.1) and there is a gateway address. If you are connected to multiple networks (for example, via Wi-Fi And Thunderbolt Ethernet), specify the required interface at the end of the line (en0, en1 etc.).
An alternative method is via the graphical interface:
- Open
System Preferences → Network. - Select the active connection (green dot on the left).
- Click
Advanced → TCP/IP. - Find the line
Router- this is the gateway.
3. Determining the gateway on an Android smartphone
On Android The gateway address can be found out without installing third-party applications, but the path depends on the version of the operating system and the manufacturer's shell (MIUI, One UI, ColorOS etc.). Universal method - through Wi-Fi settings:
Go to Settings → Wi-Fi, tap on your network's name (or click the gear icon next to it). In the window that opens, find the item Additionally, IP settings or Network management (name varies) There will be a line here Gateway or Router with the required IP.
If this method doesn't work, use the app WiFi Analyzer (available in Google Play):
- 📱 Open the app and go to the tab
AP List. - 🔍 Find your network in the list and tap on it.
- 📋 In the section
Router IPthe gateway will be specified.
⚠️ Note: On some devices Samsung With One UI 5.0+ Gateway information is hidden. In this case, use the app Network Info II or connect to the router via Ethernet adapter (if supported).
4. How to find the gateway on iPhone or iPad (iOS)
Apple does not provide direct access to gateway information in the default settings iOS, but there are two ways to get around this limitation.
Method 1: Via Wi-Fi settings (for iOS 14+)
- Open
Settings → Wi-Fi. - Tap on the symbol
inext to the name of your network. - Scroll down to the block
IPv4 address. - Address in line
Router- This is a gateway.
Method 2: Via the app Shortcuts (for all versions)
If the line Router missing (this happens on some mobile operator tariffs), create a shortcut:
- 📱 Open the app Shortcuts (if you don't have it, download it from App Store).
- 🔧 Click
+ → Add Action → Scripting → Execute Shell Command. - 📝 In the command field, enter:
netstat -rn | grep default - ▶️ Run the shortcut - the result will be displayed as
default 192.168.x.x.
Why might the gateway not be displayed on iPhone?
On some corporate or operator networks (such as those in hotels or airports), gateway information is hidden for security reasons. In this case, connect to the router through another device or use Mac/Windows to determine the address.
5. Viewing the gateway in the router's web interface
If you already know logins and password from the router (usually they are indicated on the sticker on the device body), you can access its web interface through browser — without even knowing the gateway! To do this:
- Open your browser and enter one of the standard addresses in the address bar:
192.168.0.1(For TP-Link, D-Link)192.168.1.1(For ASUS, Zyxel)192.168.8.1(For Huawei)my.keenetic.net(For Keenetic)
Status, Local area network or WAN (depending on the router model).Important: On routers Keenetic with firmware NDMS 3.0+ The gateway may appear as 192.168.1.1, even if the device's physical address is different. This is a feature of their cloud interface.
| Manufacturer | Standard gateway | Default login/password |
|---|---|---|
| TP-Link | 192.168.0.1 or 192.168.1.1 |
admin/admin |
| ASUS | 192.168.1.1 |
admin/admin |
| Keenetic | 192.168.1.1 or my.keenetic.net |
admin/1234 (until 2020)admin/[empty] (after 2020) |
| Zyxel | 192.168.1.1 |
admin/1234 |
| Huawei | 192.168.8.1 or 192.168.100.1 |
admin/[password on sticker] |
⚠️ Attention: If the router was previously configured by the provider (for example, Rostelecom or Beeline), the default login/password may have been changed. In this case, please contact support or reset the settings to factory defaults (Reset button for 10 seconds).
6. Alternative methods: via network utilities and programs
If standard methods fail, third-party tools can help. They're useful when you need to quickly scan a network or obtain more detailed information.
For Windows:
- 🔧 Advanced IP Scanner — shows all devices on the network, including the router (the gateway will be first on the list).
- 📊 WireShark — a professional traffic analyzer, but requires operating skills.
- 🛠️ Angry IP Scanner — scans the IP range and identifies active hosts.
For macOS/Linux:
- 🐧 Team
arp -aV Terminal — will show the tableARP, where the gateway will be designated as_gateway. - 📡 LanScan — a utility for scanning a local network (available in App Store).
For Android/iOS:
- 📱 Fing — defines the gateway in the section
Devices(marked with a router icon). - 🔍 Network Analyzer - shows the gateway in the section
LAN.
Make sure your device is connected to Wi-Fi or Ethernet.
Check if the router is turned on (if the indicators are on)
Disable your VPN (it may be masking your real gateway)
Try rebooting your router if the address is not detected-->
7. What to do if the gateway is not detected?
If none of these methods help, the problem may lie in your network settings or the router itself. Here's the solution:
- Check the physical connection:
- 🔌 For Ethernet: Make sure the cable is firmly inserted into the port.
LAN(NotWAN!) router and network card. - 📶 For Wi-Fi: Check that the device is connected to the correct network (sometimes neighboring routers have similar names).
- 🔌 For Ethernet: Make sure the cable is firmly inserted into the port.
- Reset network settings:
- 🪟 On Windows:
Start → Settings → Network & Internet → Network reset. - 🍎 On macOS: delete the network in
System Preferences → Networkand reconnect.
- 🪟 On Windows:
- 🔄 If the router issues IP addresses in a non-standard range (for example,
10.10.10.1), try entering it manually into the browser's address bar. - 🔧 Turn it off
DHCP serveron the router (if it was turned off manually), then turn it back on.
If the problem persists, the router may be in the mode bridge or repeaterIn this case, its gateway is the address main router, to which it is connected.
FAQ: Frequently asked questions about router gateways
Is it possible to change the router gateway?
Yes, but this requires access to the web interface. Go to the section Local Area Network (LAN) and change the field IP addressAfter saving, the router will reboot, and the new address will become the gateway. Attention: If you forget the new IP, access to the settings will be lost until the reset!
Why is my gateway 192.168.100.1 and not 192.168.1.1?
This is normal - some providers (eg. MTS or Third Transport Ring) configure routers in non-standard subnets (192.168.100.x, 10.0.0.x). Also, such an address can be found in routers in the mode bridge or from models Huawei/Sercomm.
What should I do if entering the gateway in my browser opens the provider's page?
This means that the router is operating in the mode PPPoE connections with authorization through a web portal (often Rostelecom or Dom.ru). To access the router settings, add the port to the address. 8080 (For example, 192.168.1.1:8080) or use telnet.
Can a gateway change on its own?
No, unless it's been manually changed in the router settings. However, if the router has been reset to factory settings, the gateway will revert to the default value (e.g. 192.168.1.1).
How can I find out the gateway if the router issues an IP from a different subnet (for example, 10.0.0.x)?
Use the command tracert 8.8.8.8 (V Windows) or traceroute 8.8.8.8 (V macOS/Linux). The first IP in the trace results is the gateway. Alternatively, check the settings DHCP on the device: the gateway will be listed as router.