How to Find Your Internal & External IP Address on a Mac
How to Find Your Internal & External IP Address on a Mac
When your Mac is connected to a network, it is assigned an address on the network called an IP address. The IP address is four sets of digits separated by periods, with up to three digits per set. If the Mac is connected to a local network as well as the internet, then it will have an internal IP address which marks its location on the local network, and an external IP, which is the IP address of your internet connection. Follow this guide to find both.
Quick Steps

Finding Your Internal IP in System Settings

Click the Apple icon on the upper-left corner of the screen. To find your internal (or private) IP address, you can simply look in your Mac’s settings. To get started, open the Mac Apple Apple menu.

Select System Settings. In older versions of macOS, click System Preferences instead.

Click Network. You’ll see this option in the menu bar on the left side of the window. In older versions of macOS, look for Network in the main System Preferences window.

Select your connection. Typically, you will be connected to the network via Wi-Fi (wireless) or Ethernet (wired). The connection you are using will say Connected next to it. Click on your connection to see more information. In older versions of macOS, your IP address will be listed directly beneath your connection status, in smaller print. You’ll see this as soon as you select your connection.

Click Details next to your network. Once you click your connection type, a new menu will open listing your available networks. The one you’re currently connected to will appear at the top. Click the Details button next to it.

Locate your IP address. Near the bottom of the Details menu, you’ll see two headers: one that says IP address and another that says Router. The numbers next to these headers are your Mac’s private IP address and your router’s private IP address, respectively. You can also see your IP address by clicking on the TCP/IP tab on the left side of the Details window. This tab displays additional information too, such as your IPv6 address (a longer IP address that contains a mixture of numbers and letters). For earlier versions of macOS, find your IP address by going to Mac Apple Apple menu > System Preferences > Network > Your Connection > Advanced > TCP/IP. You’ll see your Mac’s IP address next to the IPv4 header and your router’s address next to Router.

Finding Your Internal IP Using the Terminal

Open the Terminal. This can be found in the Utilities section of your Applications folder. You can also find it by clicking the Mac Spotlight Spotlight search icon at the top of your screen and typing in terminal.

Use the ipconfig command. The correct command will depend on whether your connection is wireless (Wi-Fi) or wired (e.g., Ethernet or cable). Wi-Fi connection: Type or copy and paste the command ipconfig getifaddr en0, then press Return. Wired connection: Type or copy and paste ipconfig getifaddr en1 and press Return.

Copy your IP address. Your Mac’s local IP address will be displayed directly below the command you entered.

Finding Your External IP

Google search what is my IP address. You can even just type in “ip address.” One of the first results will be a box displaying your public IP address.

Use an IP lookup website. There are several websites that allow you to easily look up your public IP address. Try a service like Can You See Me or What Is My IP Address to check your external IP address.

Try the ifconfig command in Terminal. Like ipconfig, the ifconfig command will show you your IP address. However, this command shows your public IP rather than your internal or private one. To do it: Launch the Terminal app. Type in curl ifconfig.me and press Return. Copy your public IP address. It may look like an IPv6 address (a long string of numbers and letters in groups separated by colons).

What's your reaction?

Comments

https://ugara.net/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!