Skip to tool
ecech.
🌐 Network & IP

MAC Address Formats, and the Bit That Tells You It Is Randomised

Convert between colon, dash, Cisco and bare formats, and read the two bits that say whether an address is multicast or a randomised one no vendor ever owned.

Every format

Type

Assignment

OUI — vendor prefix

Device portion

First byte, bit by bit

valid for a virtual interface, and guaranteed not to clash with real hardware
Advertisement

How the calculation works

The first byte carries two flags, and six ordinary bits 000 000 1 0 bit 1 locally administered bit 0 multicast A phone joining your network sets the locally-administered bit, which is why the vendor lookup finds nothing.

How to Use This Tool

Paste an address in any notation. You get every other notation, plus what the two flag bits say about it.

Why there are four formats

They are the same 48 bits with different punctuation, and which one you see depends on who wrote the tool:

  • Colons — Linux, macOS, most standards documents and packet captures.
  • Hyphens — Windows, and the IEEE's own printed form.
  • Dot-separated groups of four — Cisco equipment.
  • No separators — logs, config files, anywhere the punctuation was inconvenient.

Case carries no meaning either, though tools disagree on which they prefer. Any comparison between addresses should normalise both before checking, or you get false mismatches on formatting alone.

The two bits worth reading

Bit 0 — unicast or multicast. Set means the frame is for a group rather than one device. Broadcast, FF:FF:FF:FF:FF:FF, is the extreme case. You will not see a multicast address as a device's own MAC.

Bit 1 — globally unique or locally administered. Clear means the manufacturer was assigned this range by the IEEE and it should be unique worldwide. Set means someone made it up locally, which is legitimate and increasingly common.

The practical tell: the second hex digit. If it is 2, 6, A or E, the address is locally administered.

Read the second character 00:1A:2B… 0, 1, 4, 5, 8, 9, C, D real hardware, vendor assigned 02:1A:2B… 2, 6, A, E locally administered or randomised A vendor lookup on the second kind returns nothing, because nobody was ever assigned it.
One character answers the question people usually open a lookup site for.

Randomised MAC addresses

Phones and laptops now generate a fresh MAC for each network they join, specifically so that a shop or airport cannot track the same device across visits. Those addresses set the locally-administered bit, which has two consequences worth knowing:

  • Vendor lookup returns nothing — not a gap in the database, but an address that was never assigned to anyone.
  • MAC-based allow-lists stop working, because the device arrives as a different address each time. This surprises a lot of home network setups, and the fix is to turn off randomisation for that specific network on the device.

Which is a reasonable moment to note that MAC filtering was never a security measure. Addresses are sent unencrypted in every frame and can be changed in software in one command, so anyone who can see your network can copy an address off it.

Making up your own

If you need a MAC for a virtual machine or container, set the locally-administered bit and clear the multicast bit — the generator above does this. That guarantees it cannot collide with any hardware address the IEEE has assigned, which is exactly what the bit exists for.

Advertisement

Frequently Asked Questions

Why are MAC addresses written in different formats?
They are the same 48 bits with different punctuation. Colons are used by Linux, macOS and most standards; hyphens by Windows; dot-separated groups of four by Cisco; and no separators in logs. Case carries no meaning either, so comparisons should normalise before checking.
What does a locally administered MAC address mean?
That nobody was assigned it — it was generated locally rather than by a manufacturer with an IEEE allocation. The tell is the second hex character being 2, 6, A or E. Virtual machines, containers and randomised phone addresses all use these.
Why does my vendor lookup return nothing?
Almost always because the address is randomised. Phones and laptops generate a fresh MAC per network to prevent tracking, and those set the locally-administered bit, so no vendor ever owned the address. The database is not missing an entry — there is nothing to find.
Why does my device get a different MAC each time?
MAC randomisation, which is on by default on modern phones and laptops. It exists so that a shop or airport cannot recognise the same device across visits. It also breaks MAC-based allow-lists, and the fix is to disable randomisation for that specific network on the device.
Is MAC address filtering good security?
No. Addresses travel unencrypted in every frame, so anyone within range can read one, and changing a MAC takes a single command. It stops casual connection attempts and nothing more — treat it as a convenience feature rather than a control.
How do I create a MAC address for a virtual machine?
Set the locally-administered bit and clear the multicast bit, which means making the second hex character 2, 6, A or E. That guarantees no collision with hardware the IEEE has assigned. The generator above produces one.
What is the OUI?
The first three bytes, which identify the organisation the range was assigned to. Looking it up tells you the manufacturer — but only for globally unique addresses, since a locally administered one has no owner to look up.

Related tools in Network & IP

Browse all Network & IP tools
The person who builds ecech., at the desk where the tools are written.

Made by one person

ecech. is not a content farm. Every tool here is written and checked by hand, one at a time, by someone who wanted the tool to exist and could not find a version that showed its working.

No accounts and no sign-in, and nothing you type reaches a server — every calculation on this page runs inside your browser. The ads are served by Google and do set their own cookies, which is set out in full on the privacy page. More about the site.