Virtual machines: VMware? Workstation Pro
ubuntu:14.04
Problem Description: After the computer from the company to open Ubuntu, open the self-brought Firefox browser, display connection is not online, terminal ping also shows unkown
Workaround:
1. Open the virtual "edit" option and select "Virtual Network Editor"
2. Choose VMnet8 (I don't know why VMnet8 is so magical, if you don't have to create another number, just ignore it), click "Change Settings" in the lower right corner.
3. At the same time, open DOS under Windows, enter Iponfig/all, and see the address of the virtual network adapter is 192.168.40.1
And then configure
1 at 192.168.40.0,
2 starting address is 192.168.40.128, End address is 192.168.40.254 (note: As long as the fourth bit between 0~254)
3 Gateways to 192.168.40.2
And then click OK.
When you turn on Ubuntu, watch the network connection ID in the upper right corner
Click to select Wired Connection 1 (I did not click on this item once, and then never even got it)
And then you can surf the Internet.
VMware virtual machine under Ubuntu connection not online solution