answersLogoWhite

0

Find your IP Address via the Mac OS X TerminalThis 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 but it will never be 127.0.0.1 because that is your machines loopback address. Because you can always ignore 127.0.0.1, this guarantees that your IP address will be the other IP between 'inet' and 'netmask'

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. I have heard ipconfig is not supported in all versions of Mac OS X so I did not recommend this as the first choice. However, using ipconfig you can also set your IP address from the command line.

Find your External IP Address in Mac OS XYour external IP address is what is broadcast to the world rather than your local network (behind a wireless router, for instance). This is easiest to find through a Terminal command a well:

curl whatismyip.org This will instantly report back your external IP address. We covered this command when finding your external IP address in the past.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What function does Address Resolution Protocol ARP perform?

Converts IP address to Media Access Control (MAC) Address.


What is the different between mac address and ip address?

MAC address is fixed to the hardware device (for example a network card) and can not be changed. IP address is assignable. The default IP address for a device can be computed by converting the four right-most numbers of the MAC address from hex to decimal.The MAC address refers to the physical address assigned by the Network Interface Card manufacturer. Example - 10.03.d5.f3.45.fc , where are an Internet Protocol address is given to a computer when it gets connected to the network. Its divided into four parts , separated by fullstops.


How do you tell who is connection to your wireless access point?

You need to check log files while logged in to your access point.


What is the unique number called that identifies a computer connected to the internet called?

The Number that Identifies all computers connected to a Network with Internet Access is called the I.P. Address. If you search Google for "IP Address" it will come up with something that says "Your Public IP Address is ..." (... will be where your IP address is)


What is Mac binding?

Computers with a specified MAC address can only send and receive information with the IP address it is bound to. To use MAC address binding, you must associate an IP address on the specified interface with a MAC address.


How do you find your ip address on a mac?

Just search "My Ip Address". Its as easy as that!


When and where can use the IP-address and the MAC-address?

802.11 use MAC addresses, which are the same as IP addresses in some networks


Is a ip address flat or hierarchical?

MAC addresses are flat.


What logs might reveal the IP address and MAC address within the local network?

Use ip\mac scanner: http://trogonsoftware/trogon-mac-scanner.html


What does IP use to find the MAC address for a given IP address on the local sudnet?

ARP


What is another name for a logical address?

Mac address.


How do you restrict one device from accessing WiFi without IP address?

Restricting by IP address doesn't make much sense, since the WiFi device will assign IP addresses more or less randomly (using a system called DHCP). That means that the IP address of the device won't be the same every time they try to access the device.It makes much more sense to restrict access by MAC address; in principle this one doesn't change, though it IS possible to forge the MAC address of a device.