#vim /etc/sysconfig/network-scripts/ifcfg-eth0 添加"MACADDR=xx:xx:xx:xx:xx:xx" #systemctl restart network 重新启动系统 # reboot