Hacking/Tools/Network/Changing Your MAC Address/Other systems

You can use a third-party utility to change the MAC of almost any Ethernet adapter.

Most consumer-grade routers allow for a user-specified MAC address to be given.

AIX:

Original MAC address: entstat -d ent1 | grep "Hardware" Hardware Address: 00:09:6b:be:f8:ed

Using alternate MAC address: chdev -l ent1 -a use_alt_addr=yes -a alt_addr=0x123456789ABC ent1 changed

entstat -d ent1 | grep "Hardware" Hardware Address: 12:34:56:78:9a:bc

Returning original MAC address: chdev -l ent1 -a use_alt_addr=no ent1 changed

entstat -d ent1 | grep "Hardware" Hardware Address: 00:09:6b:be:f8:ed

Under FreeBSD, the MAC address can be changed in a similar way to Linux:



This can be done without needing to take the interface down and back up.

As of OpenBSD 3.8, the MAC address can be changed as follows:



As of version "I'm not sure" and at least 5.3, it can be done within the hostname file, for example /etc/hostname.bge3:



or static:



Changing MAC address without root privileges
There are a number of techniques for changing your MAC address without root privileges on Unix based systems (Linux, BSD, OSX, etc.). This can be done with such techniques as LD_PRELOAD or ptrace.