How to configure vmwarevm and enable the access of both the host and the host

Source: Internet
Author: User

1. Set the host Nic
Disable VMnet1 for the VM, enable VMnet8 for the VM, set VMnet8 to automatically obtain the IP address, and automatically obtain the DNS server (or use the IP address 192.168.98.1, subnet mask 255.255.0, gateway and DNS server are not required ). Select "Local Connection", right-click "properties", and click "Internet Connection Sharing.

2. Set the guest OS Nic
Set the "local connection" of the guest operating system in your virtual machine to automatically obtain IP addresses and DNS servers.

3. Set the Internet access mode for the guest operating system
Right-click the virtual machine operating system you want to set (because there are more than one virtual machine), select "set", select "Ethernet" in "hardware", change the network connection on the Right To NAT, and click OK.

4. Set Virtual Machine Network Parameters
Click "edit" in the menu bar and select "Virtual Network Settings ". Select the "DHCP" tab, enable the DHCP service, and click "start"-application. Select the "NAT" tab and enable the "NAT" function in the same way.

5. enable host-related services
The two most important services must be enabled: VMware DHCP Service and VMware NAT Service. The procedure is as follows: Start --- set -- Control Panel --- management tools --- Service to ensure that the VMware DHCP Service and VMware NAT Service have been started.

6. Review
If you still cannot access the Internet, follow these steps to check again. Some settings may be changed by the system and must be manually repaired.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.