About Virtual Machine Nat connection to the Internet !!!

Source: Internet
Author: User

Open Virtual Network Editor (START-> VMware), select vmnet8, and Nat setting.

1. the communication between the virtual machine Nat and the host is implemented through the virtual gateway (that is, the NAT service 192.168.164.2), as long as the NAT service virtualizes the gateway, virtual Machine IP addresses and vmnet8 can communicate with each other in the same IP segment;

 

2. The vmnet8 Nic is used to communicate with the host and NAT service, just like the NIC and NAT service of the virtual machine;

 

3. vmnet8 does not need to pass through vmnet0. If your host has two physical NICs, the verification process is very simple. Assume that your physical Nic A is connected to the Internet, and physical Nic B is not connected to any machine, the network connection status is "disconnected". At this time, you enter the virtual network editor and connect the vmnet0 bridge to the network card B. At this time, you enter the Virtual Machine (using NAT) to check whether the network can still be accessed normally.


4. You are on the Internet in the VM. The data stream is:

Virtual Machine NIC-> NAT service-> host physical NIC-> Internet

When you access the host from a VM (such as sharing and then copying it), it is:

Choose Virtual Machine> Virtual Machine Nic> vmnet8> host;

You access the virtual machine from the host. The data flow is from the host-> vmnet8-> Virtual Machine NIC-> virtual machine.

 

 

 

About Virtual Machine Nat connection to the Internet !!!

Related Article

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.