Using Terminal

  • Open Mac OS Terminal. To do it from Launchpad just type Terminal in Search bar there. You can also do it in Finder. Go to Applications and open Utilities folder there. Click on Terminal.app there.
  • In Terminal window type "netstat -nr | grep default".
  • Look for your router IP address after "default". See screen below for example

Using Mac OS Network Perferences

  • Open Apple menu at the top left corner.

  • Click on "System Preferences"
  • In network settings dialog select your active connection (one with green circle in front of it) and click on "Advanced..."

  • Select TCP/IP tab and look for a line with "Router" word in it. .

  • This line will have your router IP address. In this case router IP is 192.168.0.1. On this screen you can also see your current IP address (IPv4 line) and your Subnet mask (Subnet line)
  • In the same dialog you can also change your DNS servers to a different ones on DNS tab and change your computer name on the network in WINS tab