When you want to change your Wi-Fi password, set up port forwarding, or resolve network issues, how do you determine the default gateway IP address of your router? The default gateway IP address is the key. I'll show you how to find it in a few simple ways.
Method 1: Search through Windows system
1. Open the command prompt
Press Win + R, enter cmd and press Enter
Or search "cmd" or "Command Prompt" in the Start menu
2. Enter the query command
In the opened command prompt window, enter the following command: "ipconfig" + "enter".
3. Check the default gateway
In the displayed information, find the network adapter you are currently connected to (usually Ethernet or Wi-Fi), and then look for the "Default Gateway" line. The IP address of your router is displayed next to it.
Method 2: Search through macOS system
1. Open System Preferences
Click the Apple icon in the upper left corner of the screen
Select "System Preferences"
2. Enter Network Settings
Click the "Network" icon
Select the network connection you are currently using (the one with a green dot in the list on the left)
3. Check the router address
Click the "Advanced" button in the lower right corner
Select the "TCP/IP" tab
The IP address of your default gateway is displayed next to "Router"
Method 3: Search through Linux system
1. Open the terminal
Use the shortcut keys Ctrl + Alt + T
Or find the terminal in the application menu
2. Enter the query command
Enter the following command in the terminal: "ip route | grep default" or "route -n"
3. Check the default gateway
In the output, find the IP address after "default via" or "0.0.0.0" is your default gateway
Method 4: Search through mobile devices (iOS/Android)
iOS devices:
1. Enter "Settings" > "Wi-Fi"
2. Tap the (i) icon next to the currently connected Wi-Fi network
3. Check the IP address in the "Router" field
Android devices:
1. Go to "Settings" > "Network & Internet" > "Wi-Fi"
2. Long press or tap the currently connected Wi-Fi network
3. Select "Manage network settings" or "Modify network"
4. Check the IP address displayed in the "Gateway" field