Virtual systems and the MAC addresses they invent
A virtual machine has no network card of its own, so the hypervisor makes up an address. Each product draws from its own range, which is how you can spot a VM in an ARP table.
Published
A virtual machine needs a MAC address like any other computer, but it has no factory to burn one in. The hypervisor generates one when the virtual network card is created and stores it in the VM’s configuration file. Each product uses its own prefix.
The usual prefixes
| Hypervisor | Default prefix |
|---|---|
| VMware (generated) | 00:0c:29 |
| VMware (manually set) | 00:50:56 |
| VirtualBox | 08:00:27 |
| Parallels Desktop | 00:1c:42 |
| Microsoft Hyper-V | 00:15:5d |
| Xen | 00:16:3e |
| QEMU / KVM | 52:54:00 |
Most of these are blocks registered with the IEEE, so the local bit is clear and they look like ordinary hardware. QEMU’s 52:54:00 is the exception: its first byte has the local bit set, which the checker will point out.
Why this is useful
When an address in a switch table or DHCP log starts with one of these prefixes, you are almost certainly looking at a virtual machine, and the physical host is on the same switch port. That narrows a search a great deal.
Where it goes wrong
- Cloned VMs. Copy a VM’s files and you may copy its MAC address too. Two machines with the same address on one network will fight over it, and both will lose connectivity intermittently. Most hypervisors ask whether a VM was “moved” or “copied” for exactly this reason.
- Bridged mode on Wi-Fi. Many access points accept only one MAC address per associated client, so bridged guests behind a laptop’s Wi-Fi card may not get through at all.
- Hand-picked addresses. Nothing stops an administrator setting any address on a virtual NIC. A prefix is a strong hint, never proof.
More on why addresses are a software setting: spoofing and virtual interfaces.