MAC Addressing and Network Uniqueness
From the ITCTA curriculum
TL;DR
MAC addresses are unique hardware identifiers embedded in network interfaces, ensuring every device on a local network can be distinguished. They're crucial for local communication and help manage network access and security. While globally unique, MAC addresses can be changed (spoofed) for various reasons.
1. The Mental Model
Think of a MAC address as your network card's permanent, unique serial number. Just like every car has a unique Vehicle Identification Number (VIN), every network-capable device has a MAC address that identifies it on a local network.
2. The Core Material
A MAC (Media Access Control) address is a physical hardware address that uniquely identifies a network interface controller (NIC) on a local network segment. It's often called the "physical address" or "hardware address."
Structure of a MAC Address

Photo by Isabella Mendes on Pexels
MAC addresses are 48-bit (6-byte) values, usually displayed as six pairs of hexadecimal characters separated by hyphens or colons (e.g., 00-1A-2B-3C-4D-5E or 00:1A:2B:3C:4D:5E).
The 48 bits are divided into two main parts:
1. Organizationally Unique Identifier (OUI): The first 24 bits (the first three pairs of hex characters) identify the manufacturer of the NIC. The IEEE assigns these prefixes.
2. Network Interface Controller (NIC) Specific Identifier: The last 24 bits (the last three pairs of hex characters) are assigned by the manufacturer and are unique to that specific NIC.
This structure is designed to ensure global uniqueness, as long as manufacturers follow the rules.
MAC Address Uniqueness

Photo by Кирилл Абрамов on Pexels
The combination of the OUI and the NIC-specific identifier makes each MAC address theoretically unique worldwide. This uniqueness is vital for several reasons:
- Local Network Communication: Devices on the same local network use MAC addresses to send data directly to each other. For example, when your computer wants to send data to your printer, it uses the printer's MAC address after resolving it from an IP address using ARP (Address Resolution Protocol).
- Network Access Control: Many Wi-Fi networks use MAC address filtering to allow or deny specific devices access.
- DHCP (Dynamic Host Configuration Protocol): DHCP servers use MAC addresses to assign IP addresses to devices, often ensuring a device always gets the same IP.
MAC Address vs. IP Address

Photo by Sean Patrick on Pexels
It's important not to confuse MAC addresses with IP addresses:
* MAC Address: Operates at Layer 2 (Data Link Layer) of the OSI model. Used for local communication within a segment. It's a hardware address.
* IP Address: Operates at Layer 3 (Network Layer). Used for communication across different networks (the internet). It's a logical address.
When data travels from your computer to a website, your computer uses the MAC address to talk to your router, but the IP address to specify the ultimate destination on the internet.
MAC Address Spoofing

Photo by Isabella Mendes on Pexels
While MAC addresses are hardware-embedded, they can be changed or "spoofed" in software. This means a device can pretend to have a different MAC address than its actual one. People might do this for:
* Privacy: To avoid being tracked by their hardware address.
* Bypassing Filters: To gain access to a network that uses MAC filtering if they know an allowed MAC address.
* Troubleshooting: To mimic a known working device.
However, spoofing doesn't change the actual hardware address, only what the operating system reports.
graph TD
A["Device Manufacturer"] --> B["Requests OUI Block (first 24 bits)"]
B --> C["IEEE (Assigns OUI)"]
C --> D["Manufacturer Programs OUI into NIC"]
D --> E["Manufacturer Assigns Unique NIC ID (last 24 bits)"]
E --> F["NIC with Unique MAC Address"]
F --> G["Device on Local Network"]
G --> H{"ARP Resolution?"}
H -- "Yes" --> I["MAC Address Lookup"]
H -- "No" --> G
I --> J["Direct Device-to-Device Communication"]
3. Worked Example
Let's say your laptop has a Wi-Fi card. You want to find its MAC address on Windows.
- Open Command Prompt (type
cmdin the search bar and hit Enter). - Type
ipconfig /alland press Enter. - Scroll down to the section for your Wi-Fi adapter (e.g., "Wireless LAN adapter Wi-Fi").
- Look for "Physical Address." It will show a sequence like
00-1A-C2-3F-98-D0.
In this example, 00-1A-C2 would be the OUI, identifying the manufacturer (in this case, it might be a specific Intel or Broadcom chip). 3F-98-D0 would be the unique identifier assigned by that manufacturer to your specific Wi-Fi card. If you had an Ethernet card, it would have a different MAC address, even on the same laptop.
4. Key Takeaways
- A MAC address is a 48-bit hardware identifier for a network interface card (NIC).
- It's structured into an Organizationally Unique Identifier (OUI) and a NIC-specific identifier.
- MAC addresses are designed to be globally unique, assigned by the IEEE and manufacturers.
- They are essential for local network communication and functions like ARP, DHCP, and MAC filtering.
- MAC addresses operate at Layer 2 (Data Link Layer) of the OSI model.
- Unlike IP addresses, MAC addresses generally don't change as a device moves between networks.
Common Mistakes to Avoid:
* Confusing MAC addresses with IP addresses; they serve different purposes at different network layers.
* Assuming MAC addresses are permanently fixed and cannot be changed (spoofed) by software.
* Believing that MAC address filtering alone provides strong network security (it's easily bypassed).
* Thinking a single device has only one MAC address; it has one for each network interface (e.g., Wi-Fi, Ethernet).
5. Now Try It
On your own computer (Windows, macOS, or Linux), open your command line interface. Find the MAC addresses for all active network adapters. Pay attention to the format and try to identify the OUI for each. See if you can tell which adapters belong to which manufacturers by looking up the OUI online (e.g., 00-1A-2B OUI lookup). Success looks like you identifying at least two different MAC addresses (one for Wi-Fi and one for Ethernet if available) and correctly identifying their OUI parts.
Frequently asked about MAC Addressing and Network Uniqueness
More from ITCTA
Get the full ITCTA curriculum
Clone the complete plan to your dashboard for unlimited AI-generated notes, practice quizzes, and a personalised revision schedule.
Save this course free