How to Find IP Address on Mac – Internal or External IP Address

How to Find IP Address on Mac – Knowing the IP address of your Mac is vital to set up a network or exchange data, here are two alternative methods of locating your IP address in Mac OS X; a simple route via the GUI and a more advanced method to the command line. Whether you are connecting via ethernet or wireless, both approaches should be the same.

How to Find IP Address on Mac – Internal or External IP Address

This functions exactly the same with all Mac OS X models on all Macs.

How to Find the IP Address on a Mac

how to find ip address on mac

You will locate any Macs I d or Internet address from the setup panel of the Mac System Preferences Network: take “User Preferences” from the Apple guide.

Tap on the preferences pane for “Network.”

As seen in the screenshot below, your IP address should be clear to the right: your IP address is the number given, in the above case it is 192.168.0.100.

Now we’re going to discuss the more advanced ways you should use the Mac OS X command line to get your IP address: locate your IP address from the Mac OS X terminal.

This is how to locate your Mac’s IP address via the Terminal, which is also the easiest route for anyone with a more advanced bent.

  1. Launch the Terminal located in /Applications/Utilities/.
  2. Type the following command: ifconfig |grep inet
  3. You will see something that looks like this: inet6::1 prefixlen 128.
  4. inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1.
  5. inet 127.0.0.1 netmask 0xff000000.
  6. inet6 fe80::fa1e:dfff:feea:d544%en1 prefixlen 64 scopeid 0x5.
  7. inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255.

The IP address is typically similar to the last ‘inet’ entry which in this example is 192.168.0.100, an IP address is also in x.x.x.x format, so that will never be 127.0.0.1 since it is the loopback address to the computers. Since you should still forget 127.0.0.1, this means that the other Path between’ inet’ and’ netmask’ should be your Internet address.

The other Command-line Option is to Use

ipconfig getifaddr en1

Which only records your IP address en1 (generally wireless). For wired / ethernet you can even adjust this to en0. I’ve learned that ipconfig isn’t available in all Mac OS X releases so I didn’t consider that as a first option. You may therefore also configure the IP address from the command line using ipconfig.

Find your External Public IP Address in Mac OS X

Your actual IP address is what is being transmitted to the planet and not to the local network (for starters, behind a wireless router).

You can quickly locate your external IP address by heading to a website such as Google and entering “what is my IP address” or accessing websites such as “whatismyipaddress.com” and searching there.

This is easiest to find through a Terminal command a well:

curl ipecho.net/plain; echo

or

curl whatismyip.org

This will send back the external IP address immediately. We protected the order in the past when we find your external IP address.

Read More:

Conclusion

For more information on how to find an IP address on Mac, go to google and search for the same.

Categories Mac

Leave a Comment