MAC address
A MAC address is a unique 48-bit (sometimes 64-bit) hexadecimal address identifying a hardware device by its network interface controller (NIC). Learn how MAC addresses work, how they differ from IP addresses, and why they are not a reliable security control.
What is a MAC address?
A MAC (Media Access Control) address is a hardware identifier assigned to a network interface, such as an Ethernet port or Wi-Fi adapter. It is usually written as six pairs of hexadecimal digits, such as 00:1A:2B:3C:4D:5E. The first half typically identifies the manufacturer, and the second half identifies the specific interface. A device with several network interfaces has several MAC addresses.
How does a MAC address work?
MAC addresses operate at the data link layer (layer 2) of the OSI model, within a single local network segment:
- When a device sends data to another device on the same network, it addresses the frame to the destination's MAC address.
- Switches learn which MAC addresses are reachable on which ports and forward frames only where they need to go.
- To find the MAC address that matches a known IP address, devices use the Address Resolution Protocol (ARP).
When traffic leaves the local network, routers replace the MAC addresses at each hop, while the IP addresses stay the same end to end.
MAC address vs. IP address
A MAC address identifies a network interface on the local segment and is assigned by the manufacturer, although software can change it. An IP address is a logical address used to route traffic between networks and is assigned by the network. Both are needed for a device to communicate.
Why does a MAC address matter?
MAC addresses are useful for inventory, troubleshooting, DHCP reservations, and identifying devices on a network. They are not a strong security control: MAC addresses can be changed or spoofed easily, and many phones and laptops now randomize them on Wi-Fi for privacy. Network access decisions should rely on proper authentication instead.
Frequently asked questions
What is a MAC address?
A MAC address is a unique 48-bit (sometimes 64-bit) hexadecimal address identifying a hardware device by its network interface controller (NIC).
Can a MAC address be changed?
Yes. Although assigned by the manufacturer, it can be changed in software, and many devices randomize their MAC address on wireless networks for privacy.
Is MAC address filtering secure?
Not on its own. Attackers can observe allowed MAC addresses and copy them. Filtering can reduce casual access but should not replace authentication and encryption.
Keep every device's connection details in one place
Centralize remote connections and the credentials behind them in a single platform.
Related terms
IP address
An Internet Protocol (IP) address is a unique number identifying a hardware device that connects to a network.
Read now →Access point
An access point is a device for bridging two networks, most commonly a wireless network and a wired one.
Read now →Reverse Address Resolution Protocol (RARP)
Reverse Address Resolution Protocol (RARP) is a protocol that a computer or device can use to determine its own IP address.
Read now →