By Hally | Last Updated
This tutorial shows how to get IP address and MAC address on Mac.
The IP address is four-part numbers with up to three digits in each part. A string of numbers is used to mark a computer on the network, such as 192.168.1.1. It is unique on the local area network.
MAC address is a 12-digit code which is used to confirm the location of a device on the network. It is unique because it set from the factory.
Here are two ways you can refer to:
Step 1: Click on the Apple icon at the top-left corner and select System Preferences from the drop-down.
Step 2: In the pop-up window, locate to Network and click on it.
Step 3: Choose your network connection in the left pane. Then the IP address of your Mac computer is listed on the right pane. To get the MAC address, you need to click the "Advanced" button.
Step 4: Switch to the Hardware tab, you can see the MAC Address as the image below.
Step 1: Click on Terminal from the Dock at the bottom of the screen.
Step 2: Type the command "ifconfig -l" to list your network.
Step 3: Confirm which is the target connection then input "ifconfig en0" and press Enter on the keyboard. The IP address is next to the inet while your MAC address is listing behind the ether.
Related Articles: