Maybe you’re setting up a new network in your home or just need to get your internal IP address for a different reason. You can access this information faster than you think. And just in case you want to know your external IP address too, we’ve got you covered in this tutorial.
Here’s how to find your internal and external Mac IP addresses.
Find your internal Mac IP address
There are three quick and easy ways to find your Mac’s internal IP address.
Mac IP address in System Preferences
1) Click the Apple icon > System Preferences from the menu bar.
2) Choose Network.
3) If necessary, select your Wi-Fi from the left.
Your IP address will be shown on the right below your connection Status.
Mac IP address in the menu bar
1) Hold down the Option key on your keyboard.
2) Click the Wi-Fi icon in your menu bar while holding the key.
You’ll see your IP address in the grayed-out section of the drop-down below the Wi-Fi you’re connected to currently.
Don’t have the Wi-Fi button in your menu bar, but would like it there? Click the Apple icon > System Preferences from the menu bar and open Network. Mark the checkbox next to Show Wi-Fi status in menu bar.
Mac IP address using Terminal
Open Terminal and copy and paste or type in the following command:
ipconfig getifaddr en0
Your IP address will be shown on the right below the command.
You might also see the following command used if you happen to Google to find your IP address in Terminal. It works as well but gives you extra information you don’t need.
ifconfig |grep inet
Find your external Mac IP address
Since your external IP address is considered “public,” you can find it on the internet two ways. Just make sure you’re using the Mac you want the external IP address for.
Use Google for your IP address
Head to Google and enter “IP address,” “What’s my IP address,” or something similar. You’ll see your external IP address displayed right at the top.
Use What Is My IP Address?
There is also a handy site that answers your question easily. Go to: https://whatismyipaddress.com and your external IP address will be displayed immediately. A similar site you can visit is: https://www.whatsmyip.org.
Wrapping it up
Obtaining your internal and external Mac IP addresses is easy, as you can see. So be sure to bookmark this page for future reference as well.
And take a look at our tutorial section for additional how-tos, tips, and tricks.
This article was originally posted here