The MAC address (Media Access Control Address, also Media Access Code Address) is the number of a device on a data connection. It is a unique identifier assigned to network interfaces for communications at the data link layer of a network segment. It serves as a hardware address for devices, distinguishing them from one another on a local network. Based on this number, data running through the connection is assigned to the devices. In other words, the MAC address is the hardware address of each individual power adapter, which serves as a unique identifier of the device in a computer network. It is also referred to as a physical address or device address. At Apple, it is also called Ethernet ID, Airport ID or Wi-Fi address.
The transmission media used in computer networks are usually copper cables (twisted-pair cables), fiber optics and radio (WLAN). Bit sequences are sent over the transmission medium in the physical transmission layer, which are joined together to form frames in the next higher layer (backup layer). The MAC address is used to uniquely address computers on the line layer. Every Ethernet, WLAN or Bluetooth network card has such a unique MAC address under which it can be addressed. Although they are effective only in local networks, MAC addresses are usually globally unique and have no structural features that can be used for routing.
The MAC address is also known as a physical address because it is usually programmed into a device by the manufacturer in a fixed and unchangeable way. However, if the operating system and hardware support it, the MAC address can also be changed by the user. Since 2020, randomly assigned temporary MAC addresses have also been used, especially for smartphones. This has been the case with the Android operating system since version 10 and with iOS since version 14. This is intended to prevent users from being tracked for data protection reasons.
---
On a radio channel or a coaxial cable, the data of several devices destined for different receivers travels. Based on the MAC address, the recipient searches for the data intended for their own device. To do this, each data packet begins with the MAC address of the recipient. If the MAC address does not match, the data packet will not be processed. Since the MAC address has been built into the circuit by the manufacturer, the circuit is ready for use immediately after the power is switched on. Reading the medium does not consume any computing time. During the transmission of data packets with an inappropriate MAC address, parts of the receiver can be switched off to save power. With Ethernet, Wi-Fi, and similar network technologies, the MAC address does not control writing (sending) access to the media.

Understanding MAC Address Code
A MAC address is typically represented as a series of six pairs of hexadecimal digits, separated by colons, hyphens, or no separators at all. For example, a MAC address might look like this: 00:1A:2B:3C:4D:5E. Each pair of hexadecimal digits represents 8 bits, making a total of 48 bits for the entire address. Let’s break down a MAC address to understand its components:
- Vendor Prefix: The first three pairs (24 bits) of a MAC address represent the manufacturer or vendor identifier. This portion is assigned by the IEEE Registration Authority to identify the device’s manufacturer. For example, the MAC address
00:1A:2B:XX:XX:XXmay indicate that the device was manufactured by a specific company based on the assigned prefix. - Device Identifier: The remaining three pairs (24 bits) uniquely identify the network interface controller (NIC) within the manufacturer’s devices. This part distinguishes one device from another manufactured by the same company. For example, in the MAC address
00:1A:2B:3C:4D:5E, the last three pairs uniquely identify the specific device.
In the case of Ethernet networks, the MAC address consists of 48 bits or six bytes. The addresses are usually written in hexadecimal.
A byte-byte-byte notation is common, with the individual bytes separated from each other by hyphens or colons, e.g.
00-80-41-ae-fd-7e008041-aefd7e or00:80:41:ae:fd:7e
Less common are information such as
008041aefd7e or0080.41ae.fd7e
However, the order of the characters is not the same for all applications. A distinction is made here between the canonical and the “bit-reversed” representation. The canonical form is preferred for representations.
Importance of MAC Addresses
MAC addresses serve several critical functions in networking:
- Address Resolution Protocol (ARP): MAC addresses are used by the Address Resolution Protocol to map IP addresses to MAC addresses within a local network.
- Switching and Routing: Network switches and routers use MAC addresses to forward data packets to the correct destination within a network.
- Security and Access Control: MAC addresses can be used for network access control, allowing or denying devices based on their unique identifiers.
- Device Identification: MAC addresses help in identifying and tracking devices on a network for troubleshooting, monitoring, and management purposes.
Conclusion
MAC addresses are essential components of networking, providing unique identification for devices connected to a network. Understanding their structure and significance is crucial for effective network management and communication.