How to change MAC address in Linux

To change mac address in linux: follow the steps below:

Use the following commands:

  1. Bring down the interface: "ifconfig eth0 down".
  2.  Enter new MAC address: "ifconfig eth0 hw ether 00:00:00:AA:AA:AA".
  3.  Bring up the interface: "ifconfig eth0 up".

In above example mac address in linux has been successfully changed to "00:00:00:AA:AA:AA".

About CMA
We are a website dedicated to providing quality articles.