centos配置双网卡Device does not seem to be present

前端之家收集整理的这篇文章主要介绍了centos配置双网卡Device does not seem to be present前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

复制一份网卡配置信息文件

cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1

重新配置ifcfg-eth1

vi/etc/sysconfig/network-scripts/ifcfg-eth1

修改配置信息

修改DEVICE="eth0"为DEVICE="eth1"
可删掉uuid、物理地址

内部网络配置: DEVICE=eth1 #HWADDR=00:0C:29:AF:DD:74 TYPE=Ethernet #UUID=14728ed6-ce8a-4c88-bd86-62d334013caf ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=static #GATEWAY=192.168.1.1 IPADDR=192.168.0.158 NETMASK=255.255.255.0

猜你在找的CentOS相关文章