Media Access Control (MAC) Address

A MAC address, or Media Access Control address, is a unique hardware address assigned to network interfaces, such as network interface cards (NICs) and Wi-Fi adapters. This address is used for identifying devices on a network at the data link layer of the OSI model. Every network-capable device, whether it’s a computer, smartphone, router, or network printer, has its own MAC address, which is globally unique.

Key characteristics of MAC addresses:


  1. Uniqueness: Each MAC address is globally unique, meaning no two devices should have the same MAC address. This uniqueness is ensured by the IEEE (Institute of Electrical and Electronics Engineers), which oversees the assignment of MAC address blocks to manufacturers.
  2. 48-Bit or 64-Bit Address: A MAC address is typically a 48-bit address (12 hexadecimal characters) or, less commonly, a 64-bit address (16 hexadecimal characters). It is usually represented in a colon or hyphen-separated format, such as “00:1A:2B:3C:4D:5E.”
  3. Organizationally Unique Identifier (OUI): The first half of a MAC address (the first 24 bits in a 48-bit address) represents the OUI, which is assigned to the device manufacturer or organization by the IEEE. The OUI identifies the manufacturer, allowing network administrators to determine the device’s manufacturer based on its MAC address.
  4. Universally Administered and Locally Administered Addresses: MAC addresses can be universally administered or locally administered. Universally administered addresses are assigned by the manufacturer and are unique globally. Locally administered addresses can be set manually by the device user or administrator and are not necessarily unique beyond the local network.
  5. Used in LAN Communication: MAC addresses are primarily used in local area networks (LANs) to control how devices communicate within the same network segment. Routers and switches use MAC addresses to forward data frames within the LAN.
  6. Not Routed Beyond the Local Network: MAC addresses are typically not used for communication beyond the local network. When data packets need to traverse multiple networks, the destination is determined using IP addresses, and MAC addresses are used only for local network communication.
  7. Data Link Layer Address: The MAC address is part of the data link layer (Layer 2) in the OSI model. It is specific to the network interface card and does not change, regardless of the IP address or network location.

MAC addresses play a fundamental role in enabling devices to communicate on a local network by facilitating the forwarding of data frames to the appropriate destination. They are a critical component of Ethernet and Wi-Fi technologies and are essential for network operation and management.