What is a MAC address?
A MAC address is the 48-bit number of a network card. It tells Ethernet or Wi-Fi which device receives a frame on one link, while the IP address says which host the data is for.

MAC address
A MAC (Media Access Control) address is a 48-bit number assigned to a network interface, such as your Wi-Fi card or Ethernet port. It is written as 12 hexadecimal digits. In the common assignment the first 24 bits are the OUI (Organizationally Unique Identifier), handed out by the IEEE Registration Authority, and the vendor sets the last 24 bits. That is why the first half usually tells you who made the card: 3C:58:C2 belongs to Intel, A4:2B:B0 to TP-Link. “Usually” matters, because smaller blocks use longer prefixes, and randomized or locally administered addresses carry no vendor code at all.
The factory address is not permanent. The operating system can override it, for example with ip link set dev wlp2s0 address <new-mac> on Linux, and it then uses a locally administered address. Modern phones go further and randomize the address per Wi-Fi network. Android 10 and higher does this by default, persistent per network. iOS 14 and later ships Private Wi-Fi Address on by default. Since iOS 18 it is Fixed on WPA2 or stronger networks and Rotating, every two weeks, on weaker or open ones. The point is that one phone no longer shows the same fixed address on every network it joins.
What a MAC address actually does
Ethernet and Wi-Fi do not deliver packets. They deliver frames, and every frame carries a source and a destination MAC address. The IP address says which host the data is for. The MAC address says which network card receives it on the current link. So when your laptop wants to reach a website at 203.0.113.10, it does not look for the website’s MAC. It needs the MAC of its router, typically at 192.168.1.1, because the router is the next stop on the local link. On IPv4 that lookup is done by ARP (Address Resolution Protocol), and IPv6 uses Neighbor Discovery instead.
How ARP gets the packet onto the link
- Check the ARP cache first. The laptop keeps a table of IP-to-MAC entries. If the router’s IP is already there, no request is needed. While a lookup is still running,
ip neigh show 192.168.1.1printsINCOMPLETE. - Broadcast the ARP request. With no entry, the laptop sends a broadcast to every station on the link: who has 192.168.1.1?
- Receive the unicast reply. The router answers directly to the laptop with its MAC address, and the laptop stores it in the cache.
- Wrap the packet in a frame. The laptop puts the IP packet inside a frame whose destination MAC is the router’s, and sends it.
The router then strips that frame, looks up the destination IP in its routing table, and builds a new frame for the next link. Some ISP links such as PPP, DOCSIS, or MPLS do not use MAC addresses at all, so the router builds whatever header the next link needs. Your MAC stays behind on the first link.
A MAC address is not an internet address
People often believe websites can see their MAC address and track them across the internet. They can’t, because the frame header carrying your MAC is replaced at the first router. With NAT the website sees the router’s public IP, not your MAC. Two edge cases exist: IPv6 addresses built with the older EUI-64 method embed the MAC, though modern systems default to privacy or stable-opaque addresses, and apps or captive portals on the same local network can read it. Keep the rule simple: IP gets data to the right host, MAC carries it across one link.
What to do
- Look up your own MAC: run
ip linkon Linux, oripconfig /allon Windows, where it appears as Physical Address. - Keep MAC randomization on. On iOS it is called Private Wi-Fi Address, and on Android 10 and higher a randomized MAC is the default.
- Check your ARP cache with
ip neigh showto see which IP maps to which MAC on your link. - Remember the split: use the IP address to find a host, and expect the MAC to change at every link.
Watch it in 60 seconds
