MAC Address
Definition
A MAC Address (Media Access Control Address) is a unique hardware identifier assigned to a network interface card (NIC).
What Problem It Solves
MAC addresses solve physical delivery on local networks (LANs). While IP addresses route packets across global networks, the MAC address acts as a permanent, hardware-locked identifier that ensures local switches deliver packets to the correct physical network card.
What Happens If Not Used
Without MAC addresses, devices on a local network would not have a physical coordinate to target, making it impossible to resolve IP addresses to local hardware interfaces and causing packet delivery failures.
Easy Wording
It is the permanent ID card of your network device (like a fingerprint, which never changes).
Layman Example
Think:
IP Address
=
House Address (Can Change)
MAC Address
=
Fingerprint (Never Changes)
Example:
Today:
WiFi A
IP: 192.168.1.10
Tomorrow:
WiFi B
IP: 10.0.0.15
But:
MAC: 00:1A:2B:3C:4D:5E
stays same.
Technical Example
Laptop wants internet.
First:
Laptop knows:
Router IP: 192.168.1.1
But it needs:
Router MAC: ??
So Laptop sends:
Who owns 192.168.1.1 ?
Router replies:
I own it.
MAC: AA:BB:CC:DD:EE:FF
Laptop stores:
IP 192.168.1.1 -> MAC AA:BB:CC:DD:EE:FF
and sends packets to router.