Change MAC address on a Linux based system

Robert Leong -

 

Change the MAC address of a particular port on a Linux based system.

Go to /etc/sysconfig/network-scripts/ and update the appropriate ifcfg file.

If HWADDR exists, comment it out:

#HWADDR=00:25:90:04:d1:b4

Add MACADDR with the desired MAC address:

MACADDR=00:25:90:30:1D:34

External reference:
https://en.wikibooks.org/wiki/Changing_Your_MAC_Address/Linux

Internal reference: ZD #30934

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.