Find a Router IP Address in Mac OS X

Oct 5, 2011 - 3 Comments

Finding a Routers IP Address in Mac OS X

The easiest way to retrieve a routers IP address is by going through System Preferences. This is much the same way that you get your Macs IP address, but the router IP is a few steps further in preference menus.

  • Open System Preferences from the Apple  menu
  • Click on “Network” preferences under the ‘Internet & Wireless’ section
  • Select “Wi-Fi” or whatever network interface you are connected through and click on the “Advanced” button in the lower right corner
  • Click on the “TCP/IP” tab from the top choices
  • The routers IP address is the numerical address next to “Router:” and will look something like: 192.168.1.1

Finding a routers IP address in Mac OS X

Ideally the router IP would be included in the detailed network data shown when option-clicking on the Wi-Fi menu since it fits in line with troubleshooting, but it’s not exactly hard to click through system prefs either.

Note: the above method retrieves the routers IP in relation to the LAN, not in relation to the internet. If you are looking for an external IP address as seen by the internet, you can get that by typing the following into the command line:

curl whatismyip.org

This will report back the IP of either your Mac or your router as it would be accessible from the internet and outside world, which is different than the router IP you use to connect locally.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Paul Horowitz in Mac OS X, Tips & Tricks

3 Comments

» Comments RSS Feed

  1. hauk says:

    A little complicated – why not use netstat via Terminal App?

    netstat -nr | grep default

  2. Emil Wall says:

    In terminal: route get default | grep gateway

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates