MAC Addresses
You'll learn the unique 48-bit hardware identifier that distinguishes every network interface card on a local network.
What Is a MAC Address?
A MAC (Media Access Control) address is a permanent, globally unique identifier burned into every network interface card (NIC) at manufacturing time. Think of it like a serial number on your network hardware—while IP addresses can change as devices move between networks, the MAC address stays with the physical device.
Structure and Format
A MAC address is 48 bits long, typically written as six pairs of hexadecimal digits separated by colons or hyphens:
00:1A:2B:3C:4D:5E
or
00-1A-2B-3C-4D-5E
The address has two main parts:
- First 24 bits (3 bytes): Organizationally Unique Identifier (OUI), assigned to the manufacturer
- Last 24 bits (3 bytes): Device-specific identifier assigned by the manufacturer
For example, in 00:1A:2B:3C:4D:5E, 00:1A:2B identifies the manufacturer (say, Intel or Cisco), while 3C:4D:5E uniquely identifies that specific card.
Why MAC Addresses Matter
At Layer 2 (Data Link), devices on the same local network use MAC addresses to deliver frames to the correct recipient. When your computer sends an Ethernet frame, it must know both:
- Destination IP (where to route the packet across networks)
- Destination MAC (which physical device on this network segment to hand it to)
Switches maintain MAC address tables to forward frames efficiently, only sending data to the port where the destination device is connected.
Key Takeaway: MAC addresses are 48-bit hardware identifiers uniquely assigned to network interfaces, enabling Layer 2 communication by identifying physical devices on a local network segment.