It is well know that through the ip
and ifconfig
commands it is possible to change a MAC address temporarily, meaning the change will not persist across host reboots.
But what if you would like to change your MAC address in a more permanent fashion? Is there a way to, through software, permanently change your network interface card's MAC address?
It turns out the answer is yes, and the tool to do so is called ethtool
.
Ethtool comes pre-installed on many stock distributions of Linux, but can also be installed from your package manager of choice if necessary.