问题描述
1 | Could not connect 'Ethernet0' to virtual network '/dev/vmnet0'. |
解决办法
-
使用sudo vmware-networks –start查看是否能够启动网络
1
2
3
4
5
6
7
8$ sudo vmware-networks --start
Started Bridge networking on vmnet0
Failed to enable hostonly virtual adapter on vmnet1
Failed to start DHCP service on vmnet1
Failed to start NAT service on vmnet8
Failed to enable hostonly virtual adapter on vmnet8
Failed to start DHCP service on vmnet8
Failed to start some/all services -
使用命令sudo modprobe vmnet
1
$ sudo modprobe vmnet
-
重新启动网络成功
1
2
3
4
5
6
7
8$ sudo vmware-networks --start
Started Bridge networking on vmnet0
Enabled hostonly virtual adapter on vmnet1
Started DHCP service on vmnet1
Started NAT service on vmnet8
Enabled hostonly virtual adapter on vmnet8
Started DHCP service on vmnet8
Started all configured services on all networks -
VMware成功启动