vmware set virtual machine shared host to access the Internet

Now edit the virtual network and set the virtual network that needs to be used ( the default can also be used)

Then set up the shared Internet access in the host network, note that the sharing is set on the virtual network (such as VMware Network Adapter VMnet8)

At this time, go to the virtual machine to ping to see if you can ping the gateway with the same settings. If it doesn't work, it means that there is a problem with the gateway settings.

Adjust the gateway ip and test it in the virtual machine

If you pass, you can usually access the Internet at this time (provided that your host has a network)

{{o.name}}
{{m.name}}

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=324081127&siteId=291194637