MAC address (Media Access Control address)

Definition: What is a MAC address?

The MAC address (Media Access Control Address) is a unique identifier assigned to a device’s network interface. It is used to uniquely identify hardware within a local network and to enable data exchange between devices. MAC addresses operate at the Data Link Layer (Layer 2) of the OSI model and are used especially in Ethernet and Wi-Fi networks. They are part of the network hardware, for example in network cards, Wi-Fi modules, or integrated communication chips.

As a rule, the MAC address is assigned by the manufacturer of the network interface and permanently stored in the device. In some cases, however, it can be changed by software or generated randomly, for example for privacy reasons on mobile devices.

Synonyms / related terms:

  • Hardware address
  • physical address
  • Ethernet address
  • MAC ID

Characteristics: What distinguishes a MAC address?

  • Unique identification of a network device
  • Hard-coded in the network interface
  • Operates on Layer 2 of the OSI model
  • Primarily used in Ethernet and Wi-Fi networks
  • Assigned by the hardware manufacturer
  • Consists of six bytes in hexadecimal notation
  • Can be changed or randomized in software in certain cases
  • Used by network devices such as switches to forward data

Important key figures / data

  • Length: 48 bits (6 bytes)
  • Representation: hexadecimal notation
  • Example: 00-4A-61-7B-35-8C
  • First 3 bytes: manufacturer identifier (OUI)
  • Last 3 bytes: individual device identifier

Functionality: How does a MAC address work?

MAC addresses enable unique communication between devices within a local network.

  • Device receives a MAC address
    The network interface of a device is assigned a unique hardware address.
  • Data packets contain the destination address
    When a device sends data, the MAC address of the target device is integrated into the data packet.
  • Network devices analyze the address
    Switches or other network devices check the destination address of the packet.
  • Targeted forwarding of data
    The network device forwards the data packet exclusively to the corresponding port.
  • Recipient processes the packet
    The target device recognizes its MAC address and processes the received data.

Areas of use: Where is a MAC address used?

MAC addresses are a fundamental component of network communication.

  • Ethernet networks– communication between computers, servers, and network hardware
  • Wi-Fi networks– identification of devices in the wireless network
  • Network administration– device management and access control
  • Security mechanisms– MAC filtering and access restrictions
  • IoT devices– unique identification of connected devices
  • Industrial networks– communication between controllers, sensors, and machines

Differences from Similar Technologies

Feature MAC Address IP Address
Layer Data Link Layer (OSI Layer 2) Network Layer (OSI Layer 3)
Function Hardware identification in the local network Logical addressing in the network
Assignment Manufacturer of the network interface Network administrator or DHCP
Changeability Usually fixed, but partially changeable Dynamically or statically configurable
Area of use Local networks Local networks and the Internet
Example 00-4A-61-7B-35-8C 192.168.1.10

Deep Dives: Topic explored holistically

"

  • Manufacturer Identifier (OUI)

The first three bytes of a MAC address form the so-called Organizationally Unique Identifier (OUI). This identifier is assigned to manufacturers of network hardware and enables the identification of a device’s manufacturer.

  • MAC address filtering in networks

Network administrators can use MAC addresses to control access to networks. In so-called MAC whitelist or blacklist configurations, only certain devices are allowed to access the network.

  • Privacy and MAC randomization

Modern operating systems and mobile devices often use MAC randomization to make tracking more difficult. In this process, a temporary MAC address is generated when connecting to Wi-Fi networks.

  • Role in the ARP protocol

In local networks, the MAC address works closely with the IP address. The ARP protocol (Address Resolution Protocol) is used to translate an IP address into the corresponding MAC address."

Advantages and Disadvantages

Advantages

  • Unique identification of network devices
  • Foundation of local network communication
  • Supports targeted data forwarding by switches
  • Can be used for network security and access control
  • Standardized and globally consistent

Disadvantages

  • MAC addresses can sometimes be manipulated
  • MAC filters offer only limited security
  • Not suitable for Internet communication without additional protocols
  • Devices can have multiple MAC addresses (e.g., Wi-Fi and Ethernet)

Examples from practice

  • WLAN access control: Routers allow only devices with specific MAC addresses to access the network.
  • Switch networks: Network switches forward data packets selectively based on the MAC address.
  • IoT device management: Smart home devices are identified by their MAC address.
  • Network diagnostics: Administrators analyze devices using their hardware address.
  • Industrial networks: Machine controls use MAC addresses for communication within production networks.

Related Terms

  • IP address: Logical network address for communication within networks and the internet.
  • Ethernet: Standard technology for wired local area networks.
  • ARP (Address Resolution Protocol): Protocol for mapping IP and MAC addresses.
  • Switch: Network device that forwards data packets based on MAC addresses.
  • Network interface: Hardware component for connecting a device to a network.
38