Monday 23 March 2015

How to change MAC address in linux

 
To change the mac address in RHEL,Centos or any linux based operating system please follow these steps:-

 Steps for changing MAC address temporarily

 step1:- First turn off the network interface 
 step2:- Change the desired MAC address but which should be hexadecimal format XX:XX:XX:XX:XX:XX
 step3:- Turn on the network interface
 step4:- Check the status of the MAC address
 
 # ifconfig eth0 down
 # ifconfig eth0 hw ether 00:11:09:9B:83:C8
 # ifconfig eth0 up
 # ifconfig eth0 |grep HWaddr

No comments:

Post a Comment