macchanger
TLDR
Show MAC addresses
$ macchanger -s eth0
Set random MAC$ macchanger -r eth0
Random with BIA flag$ macchanger -r -b eth0
Set specific MAC$ macchanger -m XX:XX:XX:XX:XX:XX eth0
List vendors$ macchanger -l
Reset to permanent$ macchanger -p eth0
SYNOPSIS
macchanger [OPTIONS] interface
DESCRIPTION
macchanger manipulates the MAC address of network interfaces. It can set random addresses, vendor-specific addresses, or restore the original hardware address. Useful for privacy, testing, and network troubleshooting.
PARAMETERS
-s, --show
Show current and permanent MAC addresses-r, --random
Set a completely random MAC address-b, --bia
Pretend to be a burned-in address (vendor bit)-m, --mac address
Set a specific MAC address-p, --permanent
Reset to the permanent hardware MAC-l, --list
Print known vendor MAC prefixes-a, --another
Set random vendor MAC of same kind-A
Set random vendor MAC of any kind
CAVEATS
The interface must be down before changing MAC on most systems. Changes are not persistent across reboots. Some networks detect and block MAC address changes.
HISTORY
macchanger is a GNU utility for MAC address manipulation, commonly used for privacy and network testing.


