How to Change MAC an Address on Ubuntu Linux

Laptop on table with keyboard and mouse
Laptop on table with keyboard and mouse

MAC addresses are the unique numbers assigned to every network card installed on computers and other devices. It should be unique across vendors and systems.

If you’re reading this post, you probably know something about systems’ MAC addresses.

This brief tutorial will show students and new users an easy way to change the Ubuntu system’s MAC addresses. There are many reasons one might want to change a system MAC address. A common one is to give a system a new identity on a given network.

I resolved a bizarre issue a few years back by changing the system MAC address. I was troubleshooting a system that kept coming up on a network with duplicate IPs from the DHCP server. I researched¬†but couldn’t see anything that was causing the issues.

I went through the usual sysadmin tricks to get the system up with a different IP but to no avail. So I ended up resolving the issue was to changing its MAC address, and the DHCP server assigned a different IP, which then fixed the problems.

So, changing the system MAC address might help if you find yourself in a similar situation.

To change a Ubuntu system MAC address, follow the steps below:

First, install MAC address change package

First, you must install the MAC address changer package on the system you’re changing its MAC address. You can install the package by running the commands below.

sudo apt-get install macchanger-gtk

Change the systems’ MAC address

To change the machine’s MAC address, run the commands below

sudo macchanger-gtk

That will open the MAC changer tool. The package is a front-end MAC address changer. It also lets you view your current MAC address. To change the current one, select the Option and the network interface you wish to change.

Then click Change MAC.

ubuntu mac address changer

Doing that will change the system’s MAC address and show you the new one.

ubuntu mac address changer

That’s it! Enjoy, and I hope you come back soon.

You may also like the post below:

Posted by
Richard

I love computers; maybe way too much. What I learned I try to share at geekrewind.com.

1 Comment

  1. thanks it worked for me i’m using ubuntu 17.10

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: