Posts with the tag MAC Address
This process is also known as spoofing.
# generating a random mac: openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//' # ↑ although this doesn't take care of bit 0 and 1 of byte 0 which should be 0. # ( http://en.wikipedia.org/wiki/MAC_address#Address_details ) #...
It's called MAC spoofing.
The commands do achieve it are:
- Bring down the interface and enter a new MAC address
- Bring up the interface
On Ubuntu Linux this can be achieved (for nic
eth1 and a new mac address of
00:14:11:12:34:15) like this:
sudo ifconfig eth1 down hw ether 00:14:11:12:34:15 sudo ifconfig eth1 up