将克隆的eth3和eth4改为eth0和eth1
将克隆的eth3和eth4改为eth0和eth1
1.vim ifcfg-eth0 和 ifcfg-eth1
DEVICE=eth0
HWADDR=00:0C:29:D6:B7:0E(原来eth3的MAC地址)
BOOTPROTO=static
IPADDR=10.0.0.1
NETMASK=255.0.0.0
DEVICE=eth1
HWADDR=00:0C:29:D6:B7:04(原来eth4的MAC地址)
BOOTPROTO=static
IPADDR=172.16.0.2
NETMASK=255.255.0.0
2.查看网卡驱动程序
3.卸载网卡
modprobe -r e1000(由上面得出)
4.重新加载驱动
modprobe e1000(由第2步得出)
原文地址:https://www.cnblogs.com/lqynkdcwy/p/9537953.html