Win10 VMware ubantu16.04 Solution to the Problem of VM access failure, win10ubantu16.04
Ubantu1604 the VM could not access the internet. After two or three days of failure, the VM did a good job and kept a souvenir! Hope to help you!
After VMware is installed and running, three virtual networks, VMnet0, VMnet1, and vmnet8. VMnet0 is in the bridging mode. If the Virtual Machine chooses this network, the ip address of the virtual machine should be in the same network segment as the host. VMnet8 shares the Internet with the host.
Share the online network of the host with vmnet8.
To view the VMnet8 status of a virtual network, you must enable DHCP.
Open VMnet8 and remember the IP address 192.168.226.128 -- 192.168.226.254 that it can allocate. Note that the third digit 226 is different in different environments. The gateway address is 192.168.226.2.
When the ubantu virtual machine is disabled, configure the network and select VMnet8.
Open the/etc/network/interfaces file and configure it as needed. Set the ip address to the static address 192.168.226.220. Note that "dns-nameserver" must be set; otherwise, an error will occur.
Done!