Anjali Krishna K
|
Dynamically Changing the MAC-ID of the ethernet interface
|
Anjali Krishna K
05/15/2023 4:14 AM
post122264
|
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?
|
|
|