marc:linux:hacking
This is an old revision of the document!
Spoofing Ethernet Mac address:
using ifconfig:
ifconfig (to find device)
ifconfig eth0 hw ether 00:11:22:33:44:55
using ip:
ip link show interface where interface is the name of the nic
this will give you the mac address: link/ether xx:xx:xx:xx:xx
ip link set dev interface down
ip link set dev interface address 11:22:33:44:55:66
ip link set dev interface up
ip link show interface to check
marc/linux/hacking.1641484546.txt.gz · Last modified: (external edit)
