vmware复制虚拟机出现Error:No suitable device found:no device found for connection 'System eth0'
vmware复制虚拟机出现Error:No suitable device found:no device found for connection 'System eth0'ifconfigvi /etc/sysconfig/network-scripts/ifcfg-eth0service network restart
vmware复制虚拟机出现Error:No suitable device found:no device found for connection 'System eth0'
废话不多说,直接给出解决办法:
1、查看硬件地址
[root@master ~]# ifconfig
eth2 Link encap:Ethernet HWaddr 00:0C:29:89:18:58inet addr:192.168.11.200 Bcast:192.168.11.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe89:1858/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:75 errors:0 dropped:0 overruns:0 frame:0
TX packets:62 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9897 (9.6 KiB) TX bytes:9389 (9.1 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:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
硬件地址是:00:0C:29:89:18:58
2、修改硬件地址
[root@master ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:0C:29:89:18:58
IPV6INIT=yes
NM_CONTROLLED=yes
ONBOOT=yes
TYPE=Ethernet
UUID=a221696a-8443-40a3-8229-f23196e9e06d
IPADDR=192.168.11.200
NETMASK=255.255.255.0
GATEWAY=192.168.11.2
DNS1=192.168.11.2
将HWADDR修改为与ifconfig命令下相同的硬件地址
3、重启网络
[root@master ~]# service network restart
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: Active connection state: activating
Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/2
state: activated
Connection activated [ OK ]
问题解决!
更多推荐
所有评论(0)