Configuration of network mode under VM

Source: Internet
Author: User

Because the network configuration of the VM is always forgotten. Special note down.

1. Similarly, turn on the virtual machine's NAT and DHCP service to set the virtual machine's NIC to NAT mode.

2.vmnet8 is automatically acquired by default, and the host's local connection does not have a shared connection.

3. By viewing the Ipconfig on the command line of the host, you can see that the VMnet8 IP is: 192.168.155.1

4. In the Edit menu of the VM, under Edit virtual network, check the NAT Options page and you can see that the gateway IP is 192.168.155.2.

5. You can specify IP in Linux using auto-capture or manual mode.

6. After saving, restart the Network service will be able to surf the internet, and the host and virtual machine can ping the two-way.

Configuration of network mode under VM

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.