This video explains MAC address for beginners.
A MAC or Media Access Control address is a unique identifier assigned to devices when they connect to a network.
Think of it as a name tag for each device, such as a phone or laptop, that helps identify it locally on a network.
A MAC address is a series of 12 hexadecimal digits. In other words, numbers 0 to 9 and letters A to F.
It is usually shown in six pairs separated by colons or hyphens. For example: 00:1A:2B:3C:4D:5E.
Each device that can join a network has one or more MAC addresses built into its hardware.
This can specifically be found in its network card, otherwise called a Network Interface Controller, or NIC. This address is unique worldwide.
The first half of the MAC address identifies the manufacturer of the device. The second half is a unique number assigned by the manufacturer.
This combination ensures no two devices share the same MAC address.
MAC addresses operate at a network’s local level. When devices communicate inside a local network, such as a home’s Wi-Fi or office Ethernet, data is directed by using MAC addresses to reach the correct device.
When data is sent across a network, it’s packed in packets. Each packet contains the MAC address of the device it’s intended for. It’s like sending mail to a particular house.
MAC addresses are different from IP addresses, which are used for internet communication.
MAC addresses stay the same and are used within the local network, while IP addresses can change depending on the network connected.
Routers use a table (called an ARP cache) that links IP addresses to MAC addresses. This helps them correctly send data to each device.
If a router doesn’t know a device’s MAC address, it asks all devices on the network, and the correct device responds.
Here is an example to help you understand MAC addresses better. Imagine a party where everyone wears a unique name tag. When the host sends a message to "Alice," only Alice receives it.
Similarly, in a network, data is sent to the device with the matching MAC address.
Statistically, the MAC address space uses 48 bits, allowing for about 281 trillion unique MAC addresses worldwide.
This vast number prevents address duplication and helps networks manage millions of devices reliably.