1) 背景:
centos 6.8 默认两块网卡:
- eth0:10.0.0.8/24
- eth1:172.16.1.8/24
现在在 vmware workstation 上面把虚机的 eth0 删除, 只保留 eth1
2) 启动网卡报错:
Determining if ip address 172.16.1.8 is already in use for device eth1...
- [root@web01 ~]# ifdown eth1
- [root@web01 ~]# ifup eth1
Determining if ip address 172.16.1.8 is already in use for device eth1...
[root@web01 ~]#
3) 解决方法:
发现配置文件中 ifcfg-eth0 和 ifcfg-eth1 都还在, 只是网卡的编号变了.
把配置文件里面的信息和网卡对应起来就可以使用网卡了.
待完善..........
来源: http://www.bubuko.com/infodetail-2638317.html