How to Change the MAC Address in Ubuntu

Tweaks and Tutorials about various Linux Distributions.
saurabhg
Site Admin
Posts: 51
Joined: Sat Jan 04, 2014 10:35 am
Location: India
Contact:

How to Change the MAC Address in Ubuntu

Unread postby saurabhg » Sun Aug 17, 2014 5:33 pm

Advertisement

MAC, which stands for “Media Access Control,” is a unique address which represents your network interface device. Put simply, it is a unique number for your network interface hardware assigned by its respective manufacturer. In the networking world, IP addresses and MAC addresses work together to move data back and forth. That said, MAC addresses can be changed or spoofed according to your needs.

Aside from acting as a unique address to each network device in your PC (like wired ethernet port, WiFi, etc), MAC serves different other purposes like MAC authentication, address filtering, static IP assignment, device tracking, etc. That said, not every network device supports changing of MAC address. So if your network device doesn’t support changing of MAC address, then you just can’t change it.

1. When it comes to Ubuntu, changing MAC address is even easier than in Windows. To change MAC address in Ubuntu system, select the network icon in the top panel of Ubuntu and select “edit connections” from the list of options.

2. The above action will open the “network connections” dialog box. Select your connection and click on the “edit” button displayed on the right side.

3. This will open another window where you can edit connection settings. Navigate to the “Ethernet” tab and select your network interface under “device MAC address.” Enter your desired MAC address in the empty box next to “cloned MAC address.”

4. Once you have done that, click on the save button to save changes.

That’s all there is to do, and you can confirm the changes using the below command in your terminal.

Code: Select all

ip link ls


Note: The changes we have done to our MAC address in Ubuntu are just temporary. i.e. they will be reset to the original MAC address on every reboot.

Advertisement

Return to “Linux”

Who is online

Users browsing this forum: No registered users and 1 guest

cron