How to find your Local IP Address on MAC OS X

Root Folder
There are two different ways to find your local IP address in Mac OS X.
 
The easiest way is through the GUI and a more technical approach with the command line.
 
These methods will be the same whether you are connected via ethernet or wireless.
 
This is the same in all versions of OS X on all Macs.
 
You can find any Macs IP, or your IP address from the Mac System Preferences Network configuration screen:
 
From the Apple menu pull down “System Preferences”
 
Click on the “Network” preference pane
 
Your IP address will be visible to the right.

This is how to find the IP address of your Mac through the Terminal, this is often the quickest way for those that are more technically inclined.
 
Launch the Terminal located in /Applications/Utilities/
 
Type the following command:
 
ifconfig |grep inet
 
You will see something that looks like this:
 
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::fa1e:dfff:feea:d544%en1 prefixlen 64 scopeid 0x5
inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255
Your IP address is usually next to the last entry of ‘inet’ and in this case is 192.168.0.100, an IP address is always in the format of x.x.x.x
 
The other command line option is to use:
 
ipconfig getifaddr en1
which reports back only your en1 (usually wireless) IP address. You can change this to en0 for wired/ethernet too.

Add Feedback