How To Find IP Address on Mac?

Knowing that the IP address of your Mac is important for setting up a network or sharing files, here is your IP address on Mac OS X; a simple way through the graphical interface and a more technical approach with the command line. These methods will remain same no matter you are connecte via Ethernet or wireless.

It works the same way in all versions of OS X on all Macs.

How to find the IP address on a Mac

You can find any Mac IP address or IP address in the Mac Preferences Network Settings screen:

  • In the Apple menu, select “System Preferences.”
  • Click on the “Network” preference panel
  • You can see your IP address on the right side of the panel.
  • Your IP address is the number that appears in the list. In the previous box, it is 192.168.0.100.

We will now examine the command line for Mac OS X:

Find your IP address through the Mac OS X terminal.

Here is how to find the IP address of your Mac via the terminal, which is often the most important.

Start the terminal located in / Applications / Utilities /

Write the following command:

ifconfig |
grep inet

You will see something that looks like this:

inet6 :: 1 prefix 128
inet6 fe80 :: 1% lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 net mask 0xff000000
inet6 fe80 :: fa1e: dfff: feea: d544% in1 prefixlen 64 scopeid 0x5
inet 192.168.0.100 network mask 0xffffff00 transmission 192.168.0.255

Your IP address is usually close to the last “inet” entry and, in this case, 192.168.0.100, but it will not be 127.0.0.1 because this is the return loop address of your machine. Since you cannot ignore 127.0.0.1, it will be your IP address which will be the other IP between “inet” and “netmask”

The other command-line option is to use:

ipconfig
getifaddr en1

which only reports the en1 IP address (usually wireless). You can also change it to en0 for cabling / Ethernet. I’ve heard that ipconfig is not compatible with all versions of Mac OS X, so I did not recommend it as a first priority. However, using ipconfig, you can also configure your IP address from the command line.

Find your external IP address in Mac OS X.

Your external IP address is what is transmitted to the world rather than your local network (for example, behind a wireless router). It’s easier to find a this suing a terminal command:

curl
ipecho.net/plain ; echo

or

curl whatismyip.org

This will be give your IP address. This is how you can find your IP address when you are using a mac OS. Hope this article helps you all.

Leave a Reply

Your email address will not be published. Required fields are marked *