Three Network modes (host-only, Bridged, and NAT) and host-onlybridged

Source: Internet
Author: User

Three Network modes (host-only, Bridged, and NAT) and host-onlybridged

See from: http://www.cnblogs.com/hehexiaoxia/p/4042583.html

After the virtual machine is installed, two virtual NICs are added. The VMnet1 Nic is connected to the Host-only network, and the VMnet8 Nic is connected to the NAT network.

 

  • Bridged Mode

In this mode, the NIC of the VM is directly connected to the LAN of the physical machine.

If you want to create a virtual server in the LAN to provide network services for LAN users, you should select the bridge mode.

 

  • Host-only mode

Corresponds to the VMnet1 LAN in VMware. The NIC of the VM and the virtual Nic of the physical machine are in the LAN. Therefore, virtual machines are isolated from the real network, but they can communicate with each other.

If you want to perform some special network debugging, you can select the Host-only mode.

 

  • NAT Mode

 

Corresponds to the VMnet8 LAN in VMware. In NAT mode, a virtual machine can access the public network through the network of the host machine through the NAT (Network Address Translation) function.

If you want a physical machine to access the Internet through a vro, it is a public IP address. In this case, the NAT mode should be used to allow virtual machines to access the Internet.

 

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.