Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Dynamically Changing the MAC-ID of the ethernet interface: (1 Item)
   
Dynamically Changing the MAC-ID of the ethernet interface  
I am trying to change the MAC id of my ethernet interface using the below command.

ifconfig eth0 link xx:xx:xx:00:00:08 active

I got the output like 

eth0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1466
        capabilities rx=1f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM>
        capabilities tx=7f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM,TSO4,TSO6>
        enabled rx=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
        enabled tx=27<IP4CSUM,TCP4CSUM,UDP4CSUM,TSO4>
        address: xx:xx:xx:00:00:08
        link xx:xx:xx:00:00:07
     
But the ping is not happening with the latest MAC -ID and this MAC-ID is not persistent between reboots. 

What would be the reason for not getting the ping to work?

How can I retain the new MAC-ID even after a reboot?