Every physical interface of a computer has an associated MAC address which is a unique identifier. A MAC address is different from an IP address and is used for network access control and monitoring of network connectivity, such as applying MAC filtering on your Internet router to only allow specific machines to connect to the internet via your router. However, in order to do any of this you need to know the computers MAC address. This article explains how to find the MAC address of your MAC OS X machine.
How to find the MAC address in Mac OS X
In order to find the MAC address of your network card, do the following:
- From the Apple menu, Open System Preferences
- Now go to “Network”.
- From Network, select your active network connection. This would be displayed in the left menu (Wi-Fi, Ethernet, etc).
- Now select “Advanced” in the lower right corner.
- You’ll should now see “Wi-Fi Address” at the bottom of the window, next to which is a set of hexadecimal characters. These characters are your Mac OS X’s MAC address for the network connection.
How to list all network hardware MAC addresses in Mac OS X
In order to list the MAC addresses of all the network hardware on a Mac running OS X, run the following command in the
This would return something as follows. The “Ethernet Address” is the MAC address of each interface.
Hardware Port: Bluetooth DUN Device: Bluetooth-Modem Ethernet Address: db:26:cd:41:c3:79 Hardware Port: Ethernet Device: en0 Ethernet Address: 21:d3:91:bb:11:bd Hardware Port: FireWire Device: fw0 Ethernet Address: c6:18:ed:fa:ff:15:db:51 Hardware Port: Wi-Fi Device: en1 Ethernet Address: f2:8b:fc:ae:bb:f5