Random MAC Address Generator

Generate valid MAC addresses in the locally administered unicast range, safe to use in a lab without clashing with real hardware.

MAC addresses10 generated
  1. 02:67:e2:50:75:08
  2. 06:e9:43:58:29:ba
  3. 0e:2d:97:4b:78:29
  4. 02:43:6a:7e:ea:5e
  5. 02:fc:ed:43:2a:08
  6. 0e:85:be:3f:dc:1f
  7. 0a:37:ac:05:7b:44
  8. 06:43:4a:2d:78:65
  9. 06:b9:9b:83:f8:4b
  10. 0a:e1:9d:99:2b:d0
Runs locally in your browser

About the Random MAC Address Generator

The first byte is always 02, 06, 0a or 0e. Those four values share two properties that matter: the lowest bit is clear, which marks the address as unicast rather than multicast, and the second lowest bit is set, which marks it locally administered. A locally administered address is guaranteed never to collide with a manufacturer assigned identifier, so a lab full of these can never accidentally impersonate real hardware.

The remaining five bytes are random hexadecimal, formatted in the colon separated lowercase style that Linux tools, tcpdump output and most switch configuration files expect. If your system wants hyphens or dot notation, a search and replace on the copied text converts the whole batch in one step.

Typical uses are virtual machine interface configuration, DHCP reservation testing, network simulation and populating an inventory table for a demo. Because the addresses are locally administered, they are also the correct choice when you want a stable identifier for a container or a bridge. Pair them with the Random IP Generator to build complete host records, or feed both into the Random CSV Generator for a full inventory sheet.

How to use

  1. Choose how many MAC addresses your lab or fixture needs.
  2. Press Generate for colon separated lowercase addresses.
  3. Keep No repeats on so no two interfaces share an address.
  4. Copy the list, or replace the colons with hyphens if your tool needs that form.

Common questions

Why does every address start with 02, 06, 0a or 0e?
Those prefixes mark the address as unicast and locally administered, so it cannot clash with a vendor assigned MAC.
Can I use these on a real network?
Yes, that is what the locally administered range is for. Just make sure no two devices on the same segment get the same value.
How do I get uppercase or hyphen format?
Copy the output and use a case converter for uppercase, or a find and replace to swap colons for hyphens.
Is a vendor prefix included?
No, and deliberately so. A real vendor prefix would imply hardware from a company that did not make the interface.