1、vi /etc/udev/rules.d/70-persistent-net.rule
删掉eth0網卡,将eht1網卡更名為eth0
2、vi /etc/sysconfig/network-scripts/ifcfg-eth0
删掉網卡的實體位址HWADDR和UUID,更改 IPADDR 為新的IP
3、reboot
轉載于:https://www.cnblogs.com/helloemk/p/8888766.html
1、vi /etc/udev/rules.d/70-persistent-net.rule
删掉eth0網卡,将eht1網卡更名為eth0
2、vi /etc/sysconfig/network-scripts/ifcfg-eth0
删掉網卡的實體位址HWADDR和UUID,更改 IPADDR 為新的IP
3、reboot
轉載于:https://www.cnblogs.com/helloemk/p/8888766.html