安装vmware 时 虚拟机机网络连接状态的转换 一:在连接虚拟机网卡的时候包如下错误 Could not connect Ethernet0 to virtual network "/dev/vmnet8". More information can be found in the VMware.log file.
Failed to connect virtual device Ethernet0 在网上找了一下资料主要是因为vmware的虚拟网卡模块没有加载。vmware 关于网络的命令 [iyunv@pospweb ~]# vmware-networks -h
vmware-networks version: 0.1
Usage: vmware-networks [--verbose | -v] <option>
Use exactly one of these commands:
--postinstall <component-name>,<old-version>,<new-version>
--migrate-network-settings <location of settings file>
--install-host-policy [<subnet>,<dhcp=0|1>]
--uninstall-host-policy
--start
--stop
--status
Additional options:
--help | -h
--version
hehgde
start vmware虚拟网卡
[iyunv@pospweb ~]# vmware-networks --start
Started Bridge networking on vmnet0
Failed to start DHCP service on vmnet1
Failed to enable hostonly virtual adapter on vmnet1
Failed to start DHCP service on vmnet8
Failed to start NAT service on vmnet8
Failed to enable hostonly virtual adapter on vmnet8
Started Network detection service
Failed to start some/all services
启动不起来主要是vmware虚拟网卡的模块没有加载
加载模块
[iyunv@pospweb ~]# modprobe vmnet
启动虚拟网卡
[iyunv@pospweb ~]# vmware-networks --start
Started Bridge networking on vmnet0
Started DHCP service on vmnet1
Enabled hostonly virtual adapter on vmnet1
Started DHCP service on vmnet8
Started NAT service on vmnet8
Enabled hostonly virtual adapter on vmnet8
Started Network detection service
Started all configured services on all networks
版权声明:本文为博主原创文章,未经博主允许不得转载。