🖧
🌐
📡
💻
⚡
🔌

MAC Address Generator

Generate random MAC addresses for virtual machines, labs and testing. Choose locally or universally administered, use one of 29 vendor prefixes or your own, create up to 100 at once, and check any MAC address.

5 MAC Formats
29 Vendor Prefixes
Up to 100 at Once
Virtual Machines Network Testing Format Conversion DHCP Configuration MAC Checker
Generated on our server • Nothing saved
Powered by orbit2x.com

Generate MAC Addresses

Format
Address type

Applies to random prefixes. A vendor or custom prefix is used exactly as given.

First 3 octets (6 hex digits). Overrides the vendor choice.

Generating…

Check a MAC Address

Paste any MAC address to check it's well formed, see whether it's unicast or multicast and locally or universally administered, and convert it to the other formats.

Vendor MAC Address Prefixes

The first three octets of a factory-assigned MAC address are the OUI (Organizationally Unique Identifier), which the IEEE Registration Authority assigns to manufacturers. Most large manufacturers own many OUIs; the table shows one example for each of the 29 vendors this tool can use.

Prefixes were checked against the IEEE registry as published in Wireshark's manufacturer database, except 52:54:00 (QEMU/KVM), which is a locally administered convention rather than a registered OUI.

3Com

00:01:02

3Com Corporation

Computer networking manufacturer

Amazon

00:FC:8B

Amazon Technologies Inc.

Cloud computing and consumer electronics

Apple

00:1B:63

Apple Inc.

Consumer electronics and computer manufacturer

ASUS

00:1F:C6

ASUSTeK Computer Inc.

Computer hardware manufacturer

Broadcom

00:10:18

Broadcom Corporation

Semiconductor manufacturer

Cisco

00:1E:14

Cisco Systems, Inc.

Networking equipment manufacturer

D-Link

00:1B:11

D-Link Corporation

Networking equipment manufacturer

Dell

00:14:22

Dell Inc.

Computer hardware manufacturer

Google

3C:5A:B4

Google, Inc.

Internet services and hardware

HP

00:1F:29

Hewlett Packard

Computer and printer manufacturer

Huawei

00:18:82

Huawei Technologies Co., Ltd.

Telecommunications equipment manufacturer

Hyper-V

00:15:5D

Microsoft Corporation

Prefix Microsoft Hyper-V uses for virtual machines

IBM

00:04:AC

International Business Machines Corp.

Technology and consulting corporation

Intel

00:15:17

Intel Corporation

Semiconductor chip manufacturer

Juniper

00:1F:12

Juniper Networks

Networking equipment manufacturer

Lenovo

20:76:93

Lenovo (Beijing) Limited

Computer manufacturer

LG

00:1C:62

LG Electronics Inc.

Consumer electronics manufacturer

Microsoft

00:50:F2

Microsoft Corporation

Software and hardware manufacturer

Motorola

00:62:01

Motorola Mobility LLC, a Lenovo Company

Telecommunications equipment manufacturer

Netgear

00:1B:2F

NETGEAR Inc.

Networking equipment manufacturer

Nintendo

00:09:BF

Nintendo Co., Ltd.

Gaming console manufacturer

QEMU/KVM

52:54:00

QEMU/KVM (convention, not an IEEE assignment)

Locally administered prefix QEMU, KVM and libvirt use by default

52:54:00 isn't registered with the IEEE; it's a locally administered prefix that QEMU uses by convention.

Samsung

00:12:FB

Samsung Electronics Co., Ltd.

Consumer electronics manufacturer

Sony

00:1D:BA

Sony Corporation

Consumer electronics manufacturer

TP-Link

00:27:19

TP-LINK Technologies Co., Ltd.

Networking equipment manufacturer

VirtualBox

08:00:27

PCS Systemtechnik GmbH

Prefix Oracle VirtualBox uses for virtual network adapters

VMware

00:50:56

VMware, Inc.

Virtualization software

VMware only accepts manual addresses from 00:50:56:00:00:00 to 00:50:56:3F:FF:FF, so the fourth octet is kept between 00 and 3F.

Xen

00:16:3E

Xensource, Inc.

Prefix used for Xen virtual machines

Xerox

00:00:01

Xerox Corporation

Document technology company

Using a vendor prefix responsibly

A vendor prefix makes an address look like it came from that manufacturer. That's useful for testing software that treats vendors differently, or for matching what a hypervisor expects, but don't use another vendor's prefix in devices you ship, and don't use generated addresses to impersonate other devices or get around network controls you aren't authorised to test. For everything else, a locally administered address is the better choice.

What This MAC Address Generator Does

A MAC address is the 48-bit hardware address a network interface uses on the local network, usually written as six pairs of hex digits such as 02:00:00:12:34:56. This tool generates random MAC addresses for virtual machines, containers, test labs and software that needs sample addresses, and it can check and convert any MAC address you paste in.

Addresses are generated with a cryptographically secure random number generator. Each batch of up to 100 contains no duplicates, but separate runs aren't checked against each other or against devices on your network.

How to Generate a MAC Address

  1. Choose a format: colon, hyphen, Cisco dot notation, plain or space-separated. The result also shows every other format.
  2. Choose an address type. Leave it on locally administered unless you need something else (see below).
  3. Optionally pick a vendor prefix or type your own, for example 00:50:56 for VMware or 52:54:00 for QEMU/KVM.
  4. Tick "Generate several at once" for up to 100 unique addresses, which you can copy or download as a .txt file.
  5. Click Generate, or press Ctrl+Enter (⌘+Enter on a Mac).

Which Address Type Should I Use?

Two bits in the first octet decide what kind of address it is. The lowest bit is I/G: 0 for an individual (unicast) address, 1 for a group (multicast) address. The next bit is U/L: 0 for a universally administered address assigned from a manufacturer's OUI, 1 for a locally administered address chosen by software or an administrator.

How the second hex digit of the first octet sets the MAC address type
First octetTypeExample
x0, x4, x8, xCUnicast, universally administered (manufacturer-assigned)00:50:56:…
x2, x6, xA, xEUnicast, locally administered (set by software or an admin)02:00:00:…, 52:54:00:…
x1, x5, x9, xDMulticast, universally administered01:00:5E:… (IPv4 multicast)
x3, x7, xB, xFMulticast, locally administered33:33:… (IPv6 multicast)

"x" is any hex digit: only the second digit of the first octet matters for these two bits.

  • Locally administered (the default): the right choice for VMs, containers and labs. These addresses are outside every manufacturer's range, so they can't clash with real hardware, and they're what phones and laptops use for Wi-Fi MAC randomisation.
  • Universally administered: looks like a factory address. With a random prefix it may fall inside an OUI that belongs to a real company, so use it only when software specifically expects one.
  • Multicast: a group address, useful as a destination when testing protocols. A network interface can't use one as its own address.

When you choose a vendor or custom prefix, it's used exactly as given, so the type follows from that prefix. Two addresses are reserved: FF:FF:FF:FF:FF:FF is the broadcast address and 00:00:00:00:00:00 isn't valid for an interface.

MAC Address Formats

All five formats represent the same 48 bits; only the separators differ. Letter case doesn't matter.

  • 00:1A:2B:3C:4D:5E colon: Linux, macOS and most documentation
  • 00-1A-2B-3C-4D-5E hyphen: Windows (ipconfig, getmac) and the IEEE's own notation
  • 001A.2B3C.4D5E dot: Cisco IOS
  • 001A2B3C4D5E plain: VirtualBox, Hyper-V, Windows adapter settings, many databases
  • 00 1A 2B 3C 4D 5E space-separated

How to Set a MAC Address

You'll usually need administrator rights, and the interface may disconnect briefly. Examples use locally administered or hypervisor prefixes.

Linux (iproute2)

sudo ip link set dev eth0 down
sudo ip link set dev eth0 address 02:00:00:12:34:56
sudo ip link set dev eth0 up

Lasts until reboot. Replace eth0 with your interface (list them with ip link).

Linux (NetworkManager, persistent)

nmcli connection modify "Wired connection 1" ethernet.cloned-mac-address 02:00:00:12:34:56
nmcli connection up "Wired connection 1"

For Wi-Fi connections use wifi.cloned-mac-address. The value can also be random or stable.

Windows

Device Manager → Network adapters → your adapter → Properties → Advanced
→ Network Address (or Locally Administered Address) → 020000123456

Enter 12 hex digits without separators. The option's name and availability depend on the driver; many Wi-Fi drivers only accept a locally administered address.

Windows Hyper-V

Set-VMNetworkAdapter -VMName "MyVM" -StaticMacAddress "00155D123456"

Run in PowerShell as administrator while the VM is off.

VMware Workstation (.vmx)

ethernet0.addressType = "static"
ethernet0.address = "00:50:56:12:34:56"

Manual addresses must be between 00:50:56:00:00:00 and 00:50:56:3F:FF:FF. The VMware preset here stays in that range.

VirtualBox

VBoxManage modifyvm "MyVM" --macaddress1 080027123456

12 hex digits without separators; --macaddress2 and so on for other adapters.

QEMU / KVM (libvirt XML)

<interface type='network'>
  <mac address='52:54:00:12:34:56'/>
  <source network='default'/>
</interface>

Edit with virsh edit MyVM.

Docker

docker run --mac-address 02:42:ac:11:00:02 nginx

Applies to containers on bridge and macvlan networks.

macOS

sudo ifconfig en0 ether 02:00:00:12:34:56

Works for many wired interfaces until restart. Recent macOS versions manage Wi-Fi addresses through the Private Wi-Fi Address setting in each network's details and may ignore manual changes.

How Your Input Is Handled

Addresses are generated, checked and converted on Orbit2x's server, and the results are sent back to your browser. Nothing you generate or paste in is saved. See the privacy policy for how the site handles data generally.

Frequently Asked Questions

Can a generated MAC address clash with a real device?

A locally administered address can't clash with a factory-assigned one. It could in theory match another random address, but with 46 random bits the chance is tiny. Universally administered addresses with a random or vendor prefix can match real hardware, which is another reason to prefer locally administered addresses.

How many MAC addresses are possible?

2⁴⁸, or 281,474,976,710,656. One 24-bit OUI covers 2²⁴ = 16,777,216 addresses. The IEEE also assigns smaller blocks: MA-M (28-bit prefix, about 1 million addresses) and MA-S (36-bit prefix, 4,096 addresses).

How do I find my current MAC address?

Windows: getmac or ipconfig /all. Linux: ip link. macOS: ifconfig en0 | grep ether, or the interface's details in System Settings → Network. Phones show it in the Wi-Fi network details, and with private addressing on it's different for each network.

Can a MAC address tell me who made a device?

Only for universally administered addresses: the first three octets identify the OUI holder. The checker on this page recognises the 29 prefixes listed above; a full lookup needs the IEEE registry. Locally administered addresses, including randomised Wi-Fi addresses, don't identify a manufacturer.

Is changing my MAC address legal?

Changing the address of your own device is generally lawful, and operating systems do it themselves for privacy. Using a changed address to impersonate another device or get into a network you aren't allowed on can break the law or the network's terms. This isn't legal advice; check the rules that apply to you.

What's the difference between a MAC address and an IP address?

A MAC address identifies an interface on the local network segment (layer 2) and isn't routed beyond it. An IP address identifies a host across networks (layer 3) and usually changes when the device moves to another network.