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 the 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.