The VMware NAT host and Virtual Machine access the Internet together, and set a fixed IP address for the Virtual Machine to prevent IP address conversion restart (method tutorial), vmwarenat
After the attempt (the host has wireless Internet access and the virtual machine has accessed the Internet through NAT), I will add the details of the original article:
1. the gateway and DNS of VMware Network Adapter VMnet8 can be set to the same;
2. The system prompts that the gateway and DNS are not in the same CIDR block.
3. the DNS of the virtual machine can be the same as that of the gateway.
The technology was rigorous, So I restarted the host without shutting down the Virtual Machine. After I restarted the host, I found that the virtual machine could not access the Internet, and the mania followed (MMP, MLGB, CNM)
The final steps are as follows:
1. Select and confirm the Internet shared connection of the wireless network connection.
2. Set Wireless Network Connection Sharing (the VMware Network Adapter VMnet8 gateway is cleared). Refer to the introduction.
3. Set the gateway of VMware Network Adapter VMnet8 as a wireless IP Address
4. Test the virtual Internet access. OK!