Find your router's default gateway IP address

router
wi-fi

#1

It’s necessary to know your router’s LAN IP address. When you first bought your router, you visited this IP address to configure your router.

It should look something like http://192.168.1.1 depending on th type of router. You can find your internal IP address using the following steps:

Windows

Open Command Prompt and type the following command:
ipconfig | findstr /i "Gateway"

You should see something like this:
C:\Documents and Settings\administrator>ipconfig | findstr /i "Gateway"
Default Gateway . . . . . . . . . : 192.168.1.1

Linux:

Open a Terminal and type the following command:
ip route | grep default

Your output will be something like this:
joe$ ip route | grep default
default via 192.168.1.1 dev eth0 proto static

Mac OS X:

Open the Terminal.app and type the following command:
netstat -nr | grep default

You will see something like this:
joe$ netstat -nr | grep default
default 192.168.1.1 UGSc 50 46 en1

All the above examples show that the default gateway IP address is 192.168.1.1.


#2

But this shows only the IPv6 address for me. How do I get the router’s IPv4 instead?


#3

You could ignore the parameters and simply use ipconfig. Or if you prefer a different approach, you can right click on your connection from your Network and Sharing Center and click on Details… to view the same details you’d see with ipconfig. Something like this!