VMware虛擬機器重啟網路報錯" Error: No suitable device found"
在VMware虛擬機器中克隆CentOS,重啟網路時報錯
[root@localhost ~]# service network restart
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System eth0'.
[FAILED]
[root@localhost ~]# service network restart
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System eth0'.
[FAILED]
檢視網路設定,發現網路卡的MAC地址配置有問題
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="dhcp"
HWADDR="00:0c:29:f5:68:ae"
IPV6INIT="yes"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="08734f61-956d-4d50-b8ca-ef9fd9242f60"
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROT=static
HWADDR="00:0c:29:f5:68:b8"
IPADDR=192.168.174.30
GATEWAY=192.168.174.1
NETMASK=255.255.255.0
ONBOOT=yes
[root@localhost ~]# cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device 0x8086:0x100f (e1000) (custom name provided by external tool)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:f5:68:ae", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x8086:0x100f (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:f5:68:b8", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x8086:0x100f (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:05:7a:9d", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
# PCI device 0x8086:0x100f (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:05:7a:a7", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
重啟虛擬機器後,恢復正常
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="dhcp"
HWADDR="00:0c:29:f5:68:ae"
IPV6INIT="yes"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="08734f61-956d-4d50-b8ca-ef9fd9242f60"
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROT=static
HWADDR="00:0c:29:f5:68:b8"
IPADDR=192.168.174.30
GATEWAY=192.168.174.1
NETMASK=255.255.255.0
ONBOOT=yes
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device 0x8086:0x100f (e1000) (custom name provided by external tool)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:f5:68:ae", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x8086:0x100f (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:f5:68:b8", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x8086:0x100f (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:05:7a:9d", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
# PCI device 0x8086:0x100f (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:05:7a:a7", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"
更改網路卡設定
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="dhcp"
HWADDR="00:0c:29:05:7a:9d"
IPV6INIT="yes"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="08734f61-956d-4d50-b8ca-ef9fd9242f60"
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROT=static
HWADDR="00:0c:29:05:7a:a7"
IPADDR=192.168.174.30
GATEWAY=192.168.174.1
NETMASK=255.255.255.0
ONBOOT=yes
刪除下面配置檔案中的網路卡資訊
[root@localhost ~]# cat /etc/udev/rules.d/70-persistent-net.rules [root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="dhcp"
HWADDR="00:0c:29:05:7a:9d"
IPV6INIT="yes"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="08734f61-956d-4d50-b8ca-ef9fd9242f60"
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROT=static
HWADDR="00:0c:29:05:7a:a7"
IPADDR=192.168.174.30
GATEWAY=192.168.174.1
NETMASK=255.255.255.0
ONBOOT=yes
刪除下面配置檔案中的網路卡資訊
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
重啟虛擬機器後,恢復正常
[root@localhost ~]# reboot
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:05:7A:9D
inet addr:192.168.174.133 Bcast:192.168.174.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe05:7a9d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3445 (3.3 KiB) TX bytes:3147 (3.0 KiB)
eth1 Link encap:Ethernet HWaddr 00:0C:29:05:7A:A7
inet addr:192.168.174.30 Bcast:192.168.174.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe05:7aa7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1696 (1.6 KiB) TX bytes:1045 (1.0 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:720 (720.0 b) TX bytes:720 (720.0 b)
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:05:7A:9D
inet addr:192.168.174.133 Bcast:192.168.174.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe05:7a9d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3445 (3.3 KiB) TX bytes:3147 (3.0 KiB)
eth1 Link encap:Ethernet HWaddr 00:0C:29:05:7A:A7
inet addr:192.168.174.30 Bcast:192.168.174.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe05:7aa7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1696 (1.6 KiB) TX bytes:1045 (1.0 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:720 (720.0 b) TX bytes:720 (720.0 b)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26506993/viewspace-2131757/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- vmware虛擬機器網路中斷虛擬機
- VMware虛擬機器的網路設定虛擬機
- 解決 VMware 建立虛擬機器時 unsuccessful報錯虛擬機
- VMWARE啟動虛機報錯無法開啟檔案
- 使用Vmware搭建虛擬網路
- 虛擬機器網路啟用虛擬機
- 虛擬機器重啟後,計算機名變成了bogon虛擬機計算機Go
- VMWare虛擬機器啟動報錯:“無法開啟核心裝置:\\Global\\vmx86”虛擬機
- vmware開啟虛擬機器就藍屏重啟 vmware虛擬機器藍屏解決方法虛擬機
- vmware虛擬機器三種網路模式詳解虛擬機模式
- VMware 安裝 Centos 7 虛擬機器配置網路CentOS虛擬機
- VMware安裝CentOS虛擬機器與配置網路CentOS虛擬機
- VMWare虛擬機器 網路連線模式介紹虛擬機模式
- VMware虛擬機器網路配置的三種模式虛擬機模式
- 轉帖VMware虛擬機器的網路設定虛擬機
- 虛擬機器VMWARE與其網路配置(包你玩轉虛擬機器)(轉)虛擬機
- 主機網路連線到VMware虛擬機器的方法虛擬機
- iOS上傳App Store報錯:no suitable application records were foundiOSAPPUI
- VMware虛擬機器三種網路模式詳解(轉)虛擬機模式
- VMware虛擬機器三種網路設定詳解虛擬機
- VMware虛擬機器虛擬機
- VMware 開啟虛擬機器電源時提示"內部錯誤"虛擬機
- Vmware虛擬機器連線外網虛擬機
- As 除錯 no target device found除錯dev
- HP虛擬機器重分配記憶體虛擬機記憶體
- vm虛擬機器啟動 報511錯誤虛擬機
- VMware虛擬機器下網路連線的三種模式虛擬機模式
- VMware虛擬機器直連物理網路的兩種方式虛擬機
- vmware開啟虛擬機器就藍色畫面重啟 vmware虛擬機器藍色畫面解決方法虛擬機
- Vmware中的虛擬網路 ( by quqi99 )
- VCenter克隆虛擬機器報錯msg.snapshot.error-QUIESCINGERROR虛擬機ErrorUI
- VMware在windows自啟動,並開啟虛擬機器Windows虛擬機
- VMware虛擬機器錯誤提示:鎖定檔案失敗打不開磁碟未能啟動虛擬機器虛擬機
- 解決ntp的錯誤 no server suitable for synchronization foundServerUI
- Vmware10如何開啟vmware11建立的虛擬機器虛擬機
- VMware Workstation中Linux虛擬機器克隆後的網路配置Linux虛擬機
- (轉)介紹三種vmware虛擬機器網路設定方法虛擬機
- 理解VMware虛擬機器下網路連線的三種模式虛擬機模式