How to find your router’s default gateway IP address?

LearnTips LearnTips How to find your router’s default gateway IP address?

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1534
    Santhosh Kumar D
    Keymaster
    @santhosh

    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.

    #1536
    Ragu
    Moderator
    @raguraman-m

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

    #1540
    Ken
    Moderator
    @karthikeyankc

    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!
    find-your-routers-default-gateway-IP-address

Viewing 3 posts - 1 through 3 (of 3 total)