How to find IP address on Mac: computer, terminal

How to find IP address on Mac: computer, terminal

Every device connected to a network has an IP address. It is a unique identifier that locates your computer or Mac on the network. Your Mac connects to the internet through a network or router; which implies that you have a local IP address that identifies the Mac on the local network (router) and a public IP to connect to the internet. This short tutorial explains how to find these addresses on your Mac.

How to find your local IP address on your computer?  

Finding your local IP address is really easy:

  • Head to the Apple menu > System Preferences > Network and then select the connection you are currently using: AirPort (wireless) or Ethernet (wired).
  • If your Mac is connected (Status: Connected) then your local IP address will appear on the top right corner of the menu.

How to find your local IP address using terminal?

  • You can also find your local IP address using the ifconfig command.
  • Click the Application folder > Utilities > Terminal 
  • Then execute the ifconfig command.

How to find your public IP address?

The public IP is provided by your ISP, you can find it in the configuration page of your router:

  • Enter the address (192.168.1.1, 192.168.0.1 or 192.168.2.1) provided in your router's manual in the address bar of your web browser and press Enter.
  • Enter the username and password when prompted. Search for a section named Router/WAN Status, your public IP address (Internet IP Address) is listed there.
Need more help with your Mac? Check out our Forum!
Around the same subject

MacOS