How to change your network MAC address on Ubuntu

sudo ifconfig eth0 down” #bring down the network card

sudo ifconfig eth0 inet hw ether xx:xx:xx:xx:xx:xx up” #change the MAC and bring it back up

where “eth0” is the network adapter you wish to change its MAC and “xx:xx:xx:xx:xx:xx” is the 6 groups of numbers each composed of two hexadecimal numbers.


For more info on MAC addresses, check this link and for the source, I got it from here, thanks to suki 🙂

About SoCRaT

Cybersecurity Master's Student, Systems Engineer, OSS & Linux Geek
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

1 Response to How to change your network MAC address on Ubuntu

  1. Anjii says:

    Hey, that post leaves me feelnig foolish. Kudos to you!

    Like

Leave a comment