A MAC address is the 48-bit hardware identifier carried by every network interface, written as six hexadecimal octets. This generator produces correctly formatted random MAC addresses with the separator, case, and control-bit options you need for network testing, mock device inventories, and configuration scripts.
How it works
Six random octets are generated, then the first octet is adjusted to set the two control bits correctly:
first octet bit 0 (0x01) = I/G bit : 0 = unicast, 1 = multicast
first octet bit 1 (0x02) = U/L bit : 0 = universal (OUI), 1 = locally administered
When you ask for a locally-administered address the tool ORs 0x02 into the first octet so
the U/L bit is set; for a universal address it clears that bit. Likewise the I/G bit is set
or cleared for multicast or unicast. The six octets are then joined using your chosen
separator and case.
Tips and notes
For throwaway test addresses, keep the locally-administered bit on so they live in the private range and can never collide with a real vendor-assigned address. Match the separator to your platform — colons for Linux and macOS, hyphens for Windows, dotted triplets for Cisco IOS. If you need a deterministic set for repeatable tests, generate once and store the list rather than regenerating, since each batch is random.