将克隆的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.查看网卡驱动程序
![](https://i.imgur.com/BxVnB8I.png)
3.卸载网卡
modprobe -r e1000(由上面得出)
![](https://i.imgur.com/8cAdotS.png)
4.重新加载驱动
modprobe e1000(由第2步得出)
![](https://i.imgur.com/tIE3S9o.png)
posted on
2018-08-26 17:28
圆缘
阅读(
1510)
评论()
编辑
收藏
举报