Centos 7 环境下将修改后的MAC地址永久保存的正确的步骤如下:
#ifconfig eth0 down
#vim /etc/sysconfig/network-scripts/ifcfg-eth0
修改其中的"HWADDR=xx:xx:xx:xx:xx:xx"为"MACADDR=xx:xx:xx:xx:xx:xx"
#ifconfig eth0 up
#systemctl start network
2021-11-19 20:16:44
Centos 7 环境下将修改后的MAC地址永久保存的正确的步骤如下:
#ifconfig eth0 down
#vim /etc/sysconfig/network-scripts/ifcfg-eth0
修改其中的"HWADDR=xx:xx:xx:xx:xx:xx"为"MACADDR=xx:xx:xx:xx:xx:xx"
#ifconfig eth0 up
#systemctl start network