MAC Address Generator: OUI Prefixes, Locally Administered Bit and Bulk Output

Open Tool MAC Address Generator

Three parts of a MAC address

The first three bytes are the OUI, assigned by IEEE to vendors: 00:50:56 for VMware, 08:00:27 for VirtualBox, 52:54:00 for QEMU/KVM. The last three are numbered by the vendor, so an address starting 00:50:56 is almost certainly a virtual NIC. The generator's job is to produce a plausible address that conflicts with nothing real, and the key is setting the locally administered bit.

Steps

  1. Pick a prefix: random locally administered, Intel 00:1A:22, VMware 00:50:56, VirtualBox 08:00:27, QEMU/KVM 52:54:00, Cisco 00:00:0C, or custom.
  2. With custom selected, enter six hex digits in the custom OUI field, no colons.
  3. Set the count for bulk generation, useful for test fixtures and load tests.
  4. Choose output format — colons, hyphens or dotted — and upper or lower case.
  5. Click Generate, then Download as text or CSV, or Clear to reset.

Why the default is locally administered

Locally administered addresses have the next-to-lowest bit of the first byte set, so common forms begin 02, 06, 0a or 0e. They cannot collide with vendor hardware because the standard reserves that space for local use. A random tail bolted onto 00:1A:22 could in theory duplicate a real Intel NIC, and although the odds are tiny, a duplicate in one broadcast domain flaps switch MAC tables and misdirects traffic, which is expensive to diagnose. For testing, use the local range.

Good and bad uses

Good: virtualization labs, network device simulation, MAC filter rule tests, sample data for logs and monitoring, bulk registration tests. Bad: impersonating another device to pass a MAC allowlist, borrowing a neighbour's network or dodging billing. That is a compliance problem rather than a technical one, since many network terms of service forbid forged MAC access. Also keep generated values out of production asset records, where they pollute the inventory.

⏫︎