← Back to Main Calculator

Free Online MAC Address Generator & Bulk OUI Tool

Generate up to 1,000 random MAC addresses instantly with a custom OUI prefix, vendor presets for VMware, Docker, VirtualBox, Hyper-V, Cisco, Apple, and Raspberry Pi, U/L and I/G bit control, IPv6 EUI-64 conversion, and one-click export. Runs 100% in your browser.

Format
Letter Case
U/L Bit — Universally vs. Locally Administered
I/G Bit — Unicast vs. Multicast

All generation happens locally in your browser — nothing is uploaded.

MAC Address Anatomy

Hover the diagram to inspect the OUI prefix, NIC portion, and the U/L and I/G bits of a 48-bit physical address.

bits of the first octet →bit 7 (MSB)bit 6bit 5bit 4bit 3bit 2U/L bit (bit 1): 1 = locally administered (LAA), 0 = globally unique (UAA)I/G bit (bit 0): 1 = multicast, 0 = unicast10U/LI/GOctet 1 — carries the U/L and I/G bitsOctet 2Octet 3005056Octet 4 — NIC specificOctet 5 — NIC specificOctet 6 — NIC specific123456:::::OUI prefix — bytes 1–3 (vendor)NIC portion — bytes 4–6 (device)U/L bit = 1 → locally administered (LAA)I/G bit = 0 → unicast MAC
MAC Address Generator Guide

What is a MAC Address and How Does it Work?

A Media Access Control (MAC) address, also known as a physical address or hardware address, is a 48-bit identifier assigned to every network interface card (NIC) manufactured in the world. It is written as 12 hexadecimal characters split into six octets, for example 00:50:56:12:34:56. The IEEE 802 standard defines how these addresses are structured: the first three octets form the Organizationally Unique Identifier (OUI prefix), a block assigned to a specific manufacturer, while the last three octets are the NIC-specific portion chosen by the vendor. Because every NIC ships with a globally unique combination, Layer 2 networks can guarantee that no two interfaces collide on the same segment.

A random MAC address generator is invaluable whenever you need addresses that are not tied to physical hardware: lab simulators such as GNS3 and EVE-NG, virtual machines, container networks, penetration testing, privacy research, and MAC randomization experiments. Instead of inventing addresses by hand or cloning existing hardware addresses, our MAC address generator online produces valid, correctly structured addresses in bulk and can pin the OUI prefix so every address starts with the manufacturer of your choice. Any address this tool creates can also be renamed a fake MAC address or dummy MAC generator output — handy when you need to test how an access point or DHCP server treats spoofed clients.

What Is a Random MAC Address Generator Used For?

Network administrators and engineers use random MAC generation for MAC address filtering tests, DHCP reservation testing, wireless access control lists, and inventory simulations. Virtualization admins commonly need to generate MAC addresses for VMware, VirtualBox, and Hyper-V guests, because each virtual adapter must have a unique address on the vSwitch or virtual network. All three platforms reserve well-known OUI blocks: VMware uses 00:50:56, VirtualBox uses 08:00:27, and Microsoft Hyper-V uses 00:15:5D. The vendor presets in this tool let you generate MAC addresses for VMware or any other platform with the correct prefix instantly, eliminating address collisions that stall VM migrations and snapshots.

MAC Address Formats: Cisco, Linux, and Windows Standard Notation

The same 48-bit address can be printed in several notations, and the choice depends on the operating system or platform consuming the value. Microsoft Windows displays the physical address with hyphen separators (00-50-56-12-34-56), while Linux and macOS use colon separators (00:50:56:12:34:56). Cisco IOS and many network appliances collapse the value into three dotted groups (0050.5612.3456), which is why this tool doubles as a Cisco MAC address generator — paste the dotted output straight into mac-address commands on switches and routers. Raw (unseparated) and space-separated notation are also supported.

Case matters less than consistency: hexadecimal digits A–F can appear in upper or lower case and network systems treat both identically. The case toggle in this generator lets you switch between UPPERCASE (matching Cisco and Windows output) and lowercase (matching Linux and many Python tooling outputs) so generated data drops into configuration files, playbooks, and automation scripts without manual reformatting. Combined with the custom prefix and suffix pinning inputs, this makes the tool fully suitable as a bulk MAC address generator for Ansible inventories, IPAM seeding, and YAML/JSON configuration templates.

Locally Administered vs. Globally Unique (OUI) MAC Addresses

Bit 1 of the first octet — called the U/L bit — tells you whether a MAC address is a universally administered address (UAA) or a locally administered address (LAA). When the U/L bit is 0, the address is a UAA: the OUI prefix was assigned by the IEEE to a hardware vendor and the address is globally unique. When the U/L bit is 1, the address is an LAA: software, a hypervisor, or an administrator assigned it locally, and the OUI prefix is not authoritative. A locally administered MAC address generator simply sets this bit on every random address it produces.

LAAs are everywhere in modern networking. Docker container MAC addresses on the default bridge network follow the 02:42:xx:xx:xx:xx pattern — an LAA whose first octet 02 encodes the locally administered bit. Windows and macOS privacy features randomize Wi-Fi MAC addresses using LAAs so that no real manufacturer prefix leaks tracking information. Network labs and virtual environments rely on the same trick, and the U/L bit toggle in this tool reproduces it: switch to LAA to generate addresses that are legal for VMs, containers, and spoofing tests, or keep UAA for addresses that look like real burned-in NIC hardware.

Unicast vs. Multicast MAC Addresses and the I/G Bit

Bit 0 of the first octet — the I/G bit — determines how the address is used at Layer 2. A unicast MAC address (I/G bit = 0) identifies a single NIC and is used as the destination address for point-to-point frames, which is what source MAC addresses always are. A multicast MAC address (I/G bit = 1) targets a group of receivers: common examples include the IPv4 multicast range 01:00:5E:xx:xx:xx and the IPv6 neighbor discovery range starting at 33:33:xx:xx:xx:xx. The unicast vs multicast MAC generator toggle lets you force either mode, which is useful when testing switch forwarding behavior, IGMP snooping tables, and multicast routing configurations.

How the IPv6 EUI-64 Conversion Works

The EUI-64 format turns a 48-bit MAC address into a 64-bit IPv6 interface identifier. The generator inserts the fixed bytes FF:FE between the third and fourth octets, then flips the U/L bit of the first octet. Link-local addresses combine this identifier with the fe80::/10 prefix. For example, MAC 00:50:56:12:34:56 becomes fe80::250:56ff:fe12:3456 after zero compression. Enable the EUI-64 option on this page to convert each generated MAC address to IPv6 link-local automatically, or use our dedicated EUI-64 calculator for single-address conversions with full hexadecimal expansion.


Frequently Asked Questions
What is a MAC address generator?

A MAC address generator is a tool that creates random 48-bit MAC (Media Access Control) addresses for testing, lab environments, virtualization, privacy, and automation use cases. Each generated address contains 12 hexadecimal characters arranged in six octets. The first three octets form the OUI prefix, which identifies the manufacturer when a real vendor block is used, while the final three octets are the NIC-specific portion. A good random MAC address generator also supports bulk generation, custom prefixes, bit-level control (U/L and I/G bits), and export formats so addresses drop directly into scripts and configuration files.

How many MAC addresses can I generate at once?

This bulk MAC address generator supports 1 to 1,000 addresses in a single click. Most online generators cap output at 50 addresses, which forces repeated round trips for larger projects. Here you can generate an entire lab inventory of 1,000 dummy MAC addresses instantly and export everything as plain text, JSON, CSV, SQL INSERT statements, or YAML — ideal for seeding IPAM databases, Ansible inventories, and test harnesses.

What is an OUI prefix and can I generate a MAC address with a custom vendor prefix?

An OUI prefix is the first three octets (six hexadecimal digits) of a MAC address, allocated by the IEEE Registration Authority to hardware vendors. Yes, you can generate a MAC address with any custom vendor prefix: type the hex directly into the prefix field (e.g. 00:50:56), or use the preset dropdown with VMware, VirtualBox, Hyper-V, Docker, Cisco, Apple, and Raspberry Pi entries. That makes this tool both a MAC address prefix generator and a Cisco MAC address generator, since Cisco's reserved OUI block 00:00:0C is available with one click.

What is the difference between a unicast and a multicast MAC address?

The I/G bit (bit 0 of the first octet) decides. When the I/G bit is 0 the address is unicast: it maps to a single network interface card and appears as the source or destination of normal point-to-point frames. When the I/G bit is 1 the address is multicast: it identifies a group of interfaces, such as IPv4 multicast (01:00:5E...) or IPv6 neighbor discovery (33:33...). The unicast vs multicast MAC generator toggle in this tool sets or clears that bit for you so you can test multicast forwarding, IGMP snooping, and switch flooding behavior with valid addresses.

What is a locally administered MAC address (LAA)?

A locally administered address (LAA) has the U/L bit (bit 1 of the first octet) set to 1, marking it as software-assigned rather than burned into hardware by a manufacturer. Hypervisors and containers rely on LAAs: VMware, VirtualBox, and Hyper-V generate them for virtual adapters, and Docker's default bridge assigns addresses starting with 02:42 (02 = 0000 0010, U/L bit set). The locally administered MAC address generator toggle switches between UAA and LAA, so you can produce fake MAC addresses for privacy testing, MAC randomization research, or VM cloning scenarios where real burned-in identifiers must not be duplicated.

Can I generate a MAC address for VMware, Docker, or a container?

Yes. Pick the VMware (00:50:56), Docker (02:42:AC), or VirtualBox (08:00:27) preset from the vendor dropdown to generate MAC addresses with the correct OUI prefix for each platform. Docker container MAC addresses on the default bridge network follow the 02:42:xx:xx:xx pattern, and container engines also support fixed per-container MAC addresses through their configuration options. The same generated values can be pasted into VMX files, Vagrantfiles, Terraform virtual_machine blocks, and Compose files.

How do I convert a MAC address to an IPv6 EUI-64 address?

Enable the IPv6 EUI-64 option on this page and every generated MAC address gets its corresponding IPv6 link-local address (fe80::...) computed automatically. The conversion inserts the fixed hex bytes FF:FE between octets 3 and 4, flips the U/L bit of the first octet, and zero-compresses the result: MAC 00:50:56:12:34:56 becomes fe80::250:56ff:fe12:3456. For single addresses with full non-compressed output, use our dedicated EUI-64 calculator, which walks through every conversion step in detail.