Last updated
Generating a Random MAC Address
Generate a single random valid MAC address for testing:
Settings: Random, locally administered, colon format
Generated: 02:A4:7F:3B:9C:E1
Properties:
Format: Colon-separated (Linux/macOS)
Type: Locally administered (safe for testing)
Unicast: Yes (LSB of first octet = 0)
Globally unique: No (bit 1 of first octet = 1)
Note: Locally administered addresses (bit 1 set) are safe
to use in any network without conflicting with real hardware.
Generating a Vendor-Specific MAC Address
Generate a MAC address that appears to come from a specific manufacturer:
Settings:
OUI prefix: 00:1A:2B (Cisco Systems)
Format: Colon-separated
Count: 1
Generated: 00:1A:2B:7F:3C:A9
OUI: 00:1A:2B → Cisco Systems, Inc.
This address will appear as a Cisco device in network scans.
Use case: Testing software that identifies devices by manufacturer,
or simulating a Cisco device in a network test environment.
Bulk Generation for Virtual Machines
Generate 5 unique MAC addresses for virtual machine network interfaces:
Settings:
Count: 5
Type: Locally administered
Format: Colon-separated
Guarantee uniqueness: Yes
Generated addresses:
1. 02:A4:7F:3B:9C:E1
2. 02:B8:12:4D:7A:F3
3. 02:C3:9E:5F:2B:08
4. 02:D1:6A:8C:4E:77
5. 02:E7:3F:91:5D:B2
All 5 addresses are unique within this set.
Ready for use in VMware, VirtualBox, or Hyper-V configuration.
VMware Virtual Machine Configuration
Generate a MAC address in the format required by VMware:
Settings:
OUI prefix: 00:50:56 (VMware)
Format: Colon-separated
Generated: 00:50:56:A4:7F:3B
VMware .vmx configuration:
ethernet0.present = "TRUE"
ethernet0.addressType = "static"
ethernet0.address = "00:50:56:A4:7F:3B"
Note: VMware-assigned MAC addresses use the 00:50:56 OUI.
Using this prefix ensures the address looks like a legitimate
VMware virtual machine on the network.
Generating Addresses in Different Formats
Generate the same address in all formats for different systems:
Generated base address: 02:A4:7F:3B:9C:E1
All format variants:
─────────────────────────────────────────────────────────────────────
Linux/macOS (colon): 02:A4:7F:3B:9C:E1
Windows (hyphen): 02-A4-7F-3B-9C-E1
Cisco (dot): 02A4.7F3B.9CE1
Raw hex (no separator): 02A47F3B9CE1
Lowercase colon: 02:a4:7f:3b:9c:e1
Generating a Broadcast Address
The broadcast MAC address is used to send frames to all devices on a network segment:
Broadcast MAC Address: FF:FF:FF:FF:FF:FF
Properties:
Type: Broadcast
Scope: All devices on local network segment
Use: ARP requests, DHCP discovery, network announcements
Use in iptables to allow broadcast traffic:
iptables -A INPUT -m mac --mac-source FF:FF:FF:FF:FF:FF -j ACCEPT
Generating IPv4 Multicast MAC Addresses
IPv4 multicast groups map to specific MAC address ranges:
IPv4 Multicast Group: 224.0.0.1 (All Hosts)
Corresponding Multicast MAC:
01:00:5E:00:00:01
Mapping rule:
- First 3 octets: 01:00:5E (fixed for IPv4 multicast)
- Last 3 octets: lower 23 bits of IPv4 multicast address
Examples:
224.0.0.1 → 01:00:5E:00:00:01 (All Hosts)
224.0.0.2 → 01:00:5E:00:00:02 (All Routers)
239.1.2.3 → 01:00:5E:01:02:03 (Custom group)
MAC Address Randomization Testing
Generate locally administered addresses to test applications that handle MAC randomization:
Settings:
Type: Locally administered (simulates OS randomization)
Count: 3
Format: Colon-separated
Generated (simulating randomized MACs from a mobile device):
02:A4:7F:3B:9C:E1 (first connection)
02:B8:12:4D:7A:F3 (second connection, different random MAC)
02:C3:9E:5F:2B:08 (third connection, different random MAC)
Locally administered bit: Set (bit 1 of first octet = 1)
02 = 0000 0010 → bit 1 is set → locally administered
Use case: Test that your network access control system
handles devices that use MAC randomization correctly,
rather than assuming a device always uses the same MAC.
Generating for Network Simulation
Generate 10 MAC addresses for a network simulation with specific vendor distribution:
Settings:
5 addresses with OUI 00:1A:2B (Cisco) — simulating switches/routers
3 addresses with OUI 3C:22:FB (Apple) — simulating workstations
2 addresses with OUI 00:50:56 (VMware) — simulating VMs
Generated:
Cisco devices:
00:1A:2B:A1:B2:C3
00:1A:2B:D4:E5:F6
00:1A:2B:07:18:29
00:1A:2B:3A:4B:5C
00:1A:2B:6D:7E:8F
Apple devices:
3C:22:FB:11:22:33
3C:22:FB:44:55:66
3C:22:FB:77:88:99
VMware VMs:
00:50:56:AA:BB:CC
00:50:56:DD:EE:FF