ipconfig for Mac (2021) | How to Find IP Address on a Mac Terminal

You are here: Home / How To / ipconfig for Mac | How to Find IP Address on a Mac

By David Leave a Comment

ipconfig for Mac: In this post, You can learn about what is ipconfig and how to use ipconfig on a Mac to find your Local/Internal IP Address or Public/External IP Address.

ipconfig for Mac

An ipconfig is a command tool that enables networking and is used to control network connection as well as Domain name settings, Dynamic Host Configuration Protocol, current TCP/IP networks on your computer device.

ipconfig for Mac - How to Find IP Address on a Mac

It is used to configure your IP address which is very vital for network set-up and file sharing. In window devices, it is known as ipconfig while in Mac devices it is ifconfig.

How to Find Local/Internal IP Address on a Mac

Local IP Address or Internal IP Address is the number assigned to a network equipped piece of hardware by which other devices identify it. Follow the steps below:

  • Find the Mac “System Preference” from the Menu option on your device.
  • Click on the option “Network“.

Mac System Preference - Network

  • On the right of your screen, your IP address would be shown.

IP Address Mac

Your IP address would be shown in a format that looks like this: x.x.x.x

How to Find Local/Internal IP Address via the Mac OS X Terminal

There is also a technical approach to your ipconfig, which is through Mac OS X Terminal. It is a faster option for technical-minded people. Follow the steps below:

  • Launch the Terminal which is located in utilities under applications.
  • Type in the command:
  • 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

In this case, Your IP address is 192.168.0.100 It always comes in this format and is always found between inet and netmask which guarantees you an accuracy determining which of the numbers is your IP address.

Another command that can be used is:

Which is only accessible using a wireless connection. This command does not support all Mac versions, so the prior is more reliable.

How to Find Public/External IP Address in Mac OS X

Public IP address or External IP address is an address assigned to you by your ISP (Internet service provider) that the Internet and all other computers outside your local network use to identify you.

One of the easiest ways to find your Public/External IP Address is just by type “what is my IP address” on google or visit whatismyipaddress.com this website or other similar web and checking there.

Find Public/External IP Address via the Mac OS X Terminal:

curl ipecho.net/plain ; echo

or

Conclusion

With ease and pace you can get your ipconfig done on your Mac device, which is otherwise known as ifconfig on Mac,  so do not get confused or alerted if you see something like ifconfig.

Reader Interactions

Leave a Reply

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