How to Change MAC Address in Linux?
Many times we do things over our network which gets us banned or suspended from the network. Common reasons might include massive torrent downloads, bypassing protections, erratic logins as multiple users etc. These situations are quite annoying.

Basically, in windows your identity on the network is your IP address, your computer name and your MAC address. For Linux it is just the IP address and the MAC address.
So all you need to do, is change your IP address, your MAC address and hop back in. The IP address can be changed from a GUI, but there is no GUI to change the MAC address. Here is an easy way to change your MAC address from the terminal in four easy steps.
- Key in
sudo ifconfig eth0Here eth0 is my ethernet network controller. This command displays the hardware information of your ethernet controller. - Next, enter
sudo ifconfig eth0 down,this command turns off your ethernet. - Now, change your MAC address with
sudo ifconfig eth0 hw ether AA:MA:CA:DD:RE:SSHere replace “AA:MA:CA:DD:RE:SS” with a valid mac address. - Finally, turn back your ethernet on by entering
sudo ifconfig eth0 up
That is all. You are back on the network.
Comment Using Facebook
4 Responses to this Article | Share your Opinions/Comments
We moderate comments to prevent spam. Moderation is done within few hours. Please try and stay on topic and refrain from using abusive language. If you think there is a problem with this post, please email the post author or send us an email at tips@techie-buzz.com with the URL and the problem you see and we will rectify it as soon as we can.


i dont know how to use linux and mac but, thanks for this info. Might experience some linux or mac someday so this is helpful
sure. The same can be done on windows as well if you need it.
I read that the mac address can also be changed using just the ip command from the cml. It would be issued link ip link show eth0 to display the mac address.
Then shutting it down with ip link set dev eth0 down.
Changing the mac ip link set dev eth0 address XX:XX:XX:XX:XX:XX
Restarting it ip link set dev eth0 up