How to Change Media Access Control address ( MAC ) On linux

Change MAC Address in Linux

 

# ifconfig [interface name] down
# ifconfig [interface name] hw ether [new MAC address] # ifconfig [interface name] up

 

Example:

 

# ifconfig eth0 down
# ifconfig eth0 hw ether 1A:2B:3C:4F:5E:9F
# ifconfig eth0 up

 

Leave a Reply

Your email address will not be published. Required fields are marked *

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