How to find the MAC address in Mac OS X

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:

  1. From the Apple menu, Open System Preferences
  2. Now go to “Network”.
  3. From Network, select your active network connection. This would be displayed in the left menu (Wi-Fi, Ethernet, etc).
  4. Now select “Advanced” in the lower right corner.
  5. 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.

You should note that the MAC address is called “Wi-Fi Address” in OS X 10.7 Lion, whereas it was called “Airport Address” in Mac OS X 10.6 Snow Leopard and before.

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 Terminal:

 networksetup -listallhardwareports

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

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>