User Tools

Site Tools


networking:linux:spoof_mac_addr

Spoof a MAC Address

Linux

Edit /etc/rc.local and add a couple of lines at the bottom.

Specify your own desired MAC address instead of the one shown.

vim /etc/rc.local

ifconfig eth0 down hw ether 00:07:E9:DA:56:EB
ifconfig eth0 up

Source the file and check your work:

/etc/rc.local

ifconfig | more
networking/linux/spoof_mac_addr.txt · Last modified: 2011/11/08 11:02 by gcooper