Skip to content

How a MAC address identifies its manufacturer

The first half of a MAC address is an IEEE-assigned OUI that names the manufacturer. Here's how the split works, what MA-L/MA-M/MA-S mean, and when a MAC tells you nothing.

Published on 2 min read

A MAC address is 48 bits, usually written as six hex bytes (AC:DE:48:00:11:22). It splits cleanly in half, and the first half is assigned by the IEEE.

OUI: the first 24 bits

The first three bytes are the Organizationally Unique Identifier (OUI) — a block the IEEE assigns to a manufacturer. AC:DE:48 is Apple; 00:00:0C is Cisco. The last three bytes are chosen by the manufacturer to make each interface unique. So the OUI answers "who made this?" and the remainder answers "which unit?".

MA-L, MA-M, MA-S

Not every assignment is a full 24-bit block. The IEEE sells three sizes:

  • MA-L (large) — a 24-bit OUI, ~16 million addresses. The classic case.
  • MA-M (medium) — 28 bits assigned, leaving the buyer ~1 million addresses.
  • MA-S (small) — 36 bits assigned, ~4096 addresses.

For MA-M and MA-S, the vendor is identified by more than the first three bytes, so a naïve "first 3 bytes" lookup can mis-attribute a small block to the larger registrant it was carved from. A correct lookup checks the longer prefixes first.

Two bits that change everything

The first byte carries two special bits:

  • The least-significant bit is the multicast bit; if set, the frame is multicast, not a real interface address.
  • The second-least-significant bit is the locally-administered (U/L) bit. If set, the address was assigned locally — by software — and is not from any OUI. This is how randomised MAC addresses work on modern phones: they set this bit, so they deliberately map to no manufacturer.

So a MAC identifies its maker only when it is a globally unique address; a locally-administered one tells you nothing but "something chose this." Browse the vendor reference for individual manufacturers.