[Networking] Virtual PC network settings (networking)

Source: Internet
Author: User

If the network is enabled in a VPC, there are three optional Network modes. Each network has the following features:

1. Local Mode:

All virtual machines running on the host machine (non-Virtual Machine) can access each other. The host machine and virtual machine cannot access each other.

2. shared network mode (NAT ):

If the NAT mode is enabled on the virtual machine, the virtual machine can access the Internet. You can also add the same default gateway and DNS as the host machine.

Nat usually requires two NICs on this virtual machine. the first one is used for Nat. the other is used for intranet connection. intranet connection is equivalent to a local virtual machine. after "Routing and Remote Access" is configured on the Virtual Machine with two NICs enabled, other virtual machines can access the public network through the Virtual Machine with Nat configured. in short, Nat is a port connecting to the host machine.

3. Simulate the NIC mode of the host machine:

This is the simplest mode for a VM to access the Internet. The principle is that there is a physical Nic on the VM, which is equivalent to another computer connected to the network of the host, and the host is on the same network. as long as the IP address and host machine are in the same network segment, the DNS/Default Gateway configuration is the same as that of the host machine, and the host machine can access each other.

Auto: http://www.cnblogs.com/Rayleigh/archive/2009/06/28/1512791.html


If the network is enabled in a VPC, there are three optional Network modes. Each network has the following features:

1. Local Mode:

All virtual machines running on the host machine (non-Virtual Machine) can access each other. The host machine and virtual machine cannot access each other.

2. shared network mode (NAT ):

If the NAT mode is enabled on the virtual machine, the virtual machine can access the Internet. You can also add the same default gateway and DNS as the host machine.

Nat usually requires two NICs on this virtual machine. the first one is used for Nat. the other is used for intranet connection. intranet connection is equivalent to a local virtual machine. after "Routing and Remote Access" is configured on the Virtual Machine with two NICs enabled, other virtual machines can access the public network through the Virtual Machine with Nat configured. in short, Nat is a port connecting to the host machine.

3. Simulate the NIC mode of the host machine:

This is the simplest mode for a VM to access the Internet. The principle is that there is a physical Nic on the VM, which is equivalent to another computer connected to the network of the host, and the host is on the same network. as long as the IP address and host machine are in the same network segment, the DNS/Default Gateway configuration is the same as that of the host machine, and the host machine can access each other.

Auto: http://www.cnblogs.com/Rayleigh/archive/2009/06/28/1512791.html

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.