克隆后手动设置IP启动网卡报错

来源:互联网 发布:java字符流写入文件 编辑:程序博客网 时间:2024/06/03 01:14

Redhat 6.4 克隆虚拟机

1. 克隆后的虚拟机手动设置ip地址,启动网卡 报如下错误:

Bringing <wbr>up <wbr>interface <wbr>eth0: <wbr>Error: <wbr>No <wbr>suitable <wbr>device <wbr>found: <wbr>no <wbr>device <wbr>found <wbr>for <wbr>connection <wbr>'Sys

2. # ifconfig eth0 up 提示如下错误信息

Bringing <wbr>up <wbr>interface <wbr>eth0: <wbr>Error: <wbr>No <wbr>suitable <wbr>device <wbr>found: <wbr>no <wbr>device <wbr>found <wbr>for <wbr>connection <wbr>'Sys

解决方法:

1. 进入/etc/sysconfig/network-scripts/目录,查看ifcfg-eth0的配置信息,没有错误!

Bringing <wbr>up <wbr>interface <wbr>eth0: <wbr>Error: <wbr>No <wbr>suitable <wbr>device <wbr>found: <wbr>no <wbr>device <wbr>found <wbr>for <wbr>connection <wbr>'Sys
2. 查看/etc/udev/rules.d/70-persistent-net.rules,将其的MAC信息与ifcfg-eth0进行对比,发现也没有错

Bringing <wbr>up <wbr>interface <wbr>eth0: <wbr>Error: <wbr>No <wbr>suitable <wbr>device <wbr>found: <wbr>no <wbr>device <wbr>found <wbr>for <wbr>connection <wbr>'Sys

3. 用ifconfig -a,发现没有eth0的任何信息,却有eth1的信息,故可能系统没有识别到eth0Bringing <wbr>up <wbr>interface <wbr>eth0: <wbr>Error: <wbr>No <wbr>suitable <wbr>device <wbr>found: <wbr>no <wbr>device <wbr>found <wbr>for <wbr>connection <wbr>'Sys
4. 进入/etc/sysconfig/network-scripts/目录,执行以下命令:

Bringing <wbr>up <wbr>interface <wbr>eth0: <wbr>Error: <wbr>No <wbr>suitable <wbr>device <wbr>found: <wbr>no <wbr>device <wbr>found <wbr>for <wbr>connection <wbr>'Sys
5. 查看/etc/udev/rules.d/70-persistent-net.rules中eth1的MAC信息,将其与ifcfg-eth1中的MAC信息一致Bringing <wbr>up <wbr>interface <wbr>eth0: <wbr>Error: <wbr>No <wbr>suitable <wbr>device <wbr>found: <wbr>no <wbr>device <wbr>found <wbr>for <wbr>connection <wbr>'Sys

Bringing <wbr>up <wbr>interface <wbr>eth0: <wbr>Error: <wbr>No <wbr>suitable <wbr>device <wbr>found: <wbr>no <wbr>device <wbr>found <wbr>for <wbr>connection <wbr>'Sys

6. 重启网络 # service network restart 解决问题

Bringing <wbr>up <wbr>interface <wbr>eth0: <wbr>Error: <wbr>No <wbr>suitable <wbr>device <wbr>found: <wbr>no <wbr>device <wbr>found <wbr>for <wbr>connection <wbr>'Sys

Bringing <wbr>up <wbr>interface <wbr>eth0: <wbr>Error: <wbr>No <wbr>suitable <wbr>device <wbr>found: <wbr>no <wbr>device <wbr>found <wbr>for <wbr>connection <wbr>'Sys

0 0
原创粉丝点击