Skip to content
UniKit

Random MAC Address

Generate well-formed MAC addresses (1–1000) from a reproducible seeded PRNG: six colon-separated hex groups with the multicast bit cleared and a switchable locally administered bit, plus the seed actually used.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

How many MAC addresses

MAC list

One MAC per line; the same seed always gives the same batch.

Enter a count to see the result

Count: 0 · Seed: 0 · Local bit: set

What this tool does

  • Create a few well-formed MAC addresses for DHCP, 802.1X or MAC allow-list tests without hand-writing them or mistyping the separators.
  • Note the seed and reproduce exactly the same device list on another machine or in a later session.
  • Simulate a locally administered interface: bit 1 of the first byte is set by default and the multicast bit is always cleared, following the IEEE 802 flag conventions.

Example

Input

2

Output

3e:5e:81:b4:0c:5e
c6:8e:04:a3:40:6c

Default seed 1 with two addresses. The seed is the "Seed" field next to the input and starts at 1; "New batch" picks another seed and the list changes with it. The stats line under the result shows the seed actually used.

Frequently asked questions

Can I use these MACs on a real NIC?

You can write them into a test device, but they are locally administered (bit 1 of the first byte is set) and otherwise random; real MACs are assigned by the IEEE to vendors, so no device should impersonate another vendor OUI. The tool only guarantees the format and the flag bits.

Is this cryptographically random?

No. The numbers come from a 32-bit linear congruential generator (x = 1664525x + 1013904223 mod 2^32) so that one seed always yields one batch of test data. Use a system random source when you need unpredictability.

What is the "locally administered bit" switch?

IEEE 802 defines bit 1 of the first byte as the locally administered flag and bit 0 as the multicast flag. With the switch on (the default) bit 1 is 1, so the second hex digit of the first byte is 2, 6, A or E; turning it off clears that bit. The multicast bit is always cleared either way.

Which notation is supported?

Only six lower-case hex groups separated by colons (aa:bb:cc:dd:ee:ff). For a 12-digit string or upper case, use the MAC format converter on this site; this tool does not switch notation.

Keywords:802.1X

Related tools