A Comprehensive Guide to MAC and IP Addresses
1. MAC Address (Media Access Control)
The MAC Address is the unique physical identifier assigned to a Network Interface
Controller (NIC). It is hard-coded into the device during manufacturing and serves as a
permanent identification tag.
• Format: 48-bit (6 bytes) hexadecimal notation (e.g., 00:1A:2B:3C:4D:5E ).
• OSI Model: Operates at the Data Link Layer (Layer 2).
• Scope: Used strictly for communication within a local network segment (LAN).
2. IP Address (Internet Protocol)
An IP Address is a logical numerical label assigned to each device participating in a
computer network. Unlike the MAC address, an IP address identifies the device's location
on the network and can change when the device moves to a different network.
• IPv4: 32-bit address expressed in dotted-decimal format (e.g., 192.168.1.1 ).
• IPv6: 128-bit address expressed in hexadecimal (e.g., 2001:0db8:85a3::8a2e:
0370:7334 ).
• OSI Model: Operates at the Network Layer (Layer 3).
• Scope: Used for routing data between different networks (Internet).
The Real-Life Analogy:
Think of a MAC Address as a person's Fingerprint—it identifies the individual regardless
of where they are. Think of an IP Address as a Home Address—it tells the post office
where to deliver mail, but it changes if the person moves to a new house.