If you’re having local area network problems or need to configure port forwarding, you’ve got to log into your router to remedy things. To that, you need to be able to find your router’s IP address. Here’s how to do it in Apple’s OS X.
First, launch System Preferences from the Dock.
The System Preferences Window opens. Under the Internet & Wireless column, hit the Network icon.
Next, select the network interface your Mac uses. Here I chose Ethernet. The IP address of your router displays here.
If you click Advanced, you’ll find the router IP address under TCP/IP. Here you’ll also find additional information about the connection if you need it.
If you don’t want to click through the GUI, just use the Terminal. Launch the Terminal and type: netstat –nr | grep default then hit Enter. The router’s IP address will be listed below the command.
Now open your default browser. Type the IP address into the address bar.
Log in. Time to start configuring settings.