Working principle of VMware3 network modes (bridging, nat, and Host-only)

Source: Internet
Author: User

Working principle of VMware3 network modes (bridging, nat, and Host-only)
Details on VMware network configuration 1: Introduction to three network modes after a virtual machine is installed, two NICs are added to the network connection: VMnet1 is the network interface in Host-only mode of the virtual machine, VMnet8 is a network interface in NAT mode. The following describes how to select a virtual machine network mode. Click Edit virtual machine settings, and then select Ethernet in the Hardware tab, the Network connection framework on the left has the following four single options: 1. in the bridge mode, the VMware Virtual Operating System is like an independent host in the LAN. It can access any machine in the network, but you need more than one IP address, in addition, you must manually configure the IP address subnet mask for the virtual system, and the subnet mask must be in the same network segment as the host machine, in this way, the virtual system can communicate with the host machine. If you want to use VMware to create a virtual server in the LAN to provide network services for LAN users, you should select a bridge mode. Type 2. NAT (network address translation mode) enables the virtual system to use the NAT (Network Address Translation) function to access the public network through the network where the host machine is located. That is, in NAT mode, you can access the TCP/IP configuration information of the Virtual System in Internet-based NAT mode. It is provided by the DHCP server of the VMnet8 (NAT) virtual network, the virtual system cannot be manually modified, so it cannot communicate with other real hosts in the Local Area Network. The biggest advantage of the NAT mode is that the virtual system is very easy to access the Internet, you do not need to perform any other configuration. You only need the host machine to access the Internet. If you want to use VMware to install a new virtual system, in a virtual system, you can directly access the Internet without manual configuration. We recommend that you use the NAT mode. host-only (Host mode) requires that the real environment and virtual environment be isolated in some special network debugging environments, in this case, you can use the Host-only mode in the Host-only mode. All virtual systems can communicate with each other, but the Virtual System It is isolated from the real network and can be shared using the Internet connection provided in Windows XP (in fact, it is a simple route NAT) to allow virtual machines to access the virtual system through the Host's real network card TCP/IP configuration information (such as the IP address gateway address DNS server), all by VMnet1 (Host-only) DHCP servers in the virtual network are dynamically allocated. If you want to use VMware to create a virtual system isolated from other machines in the network and perform some special network debugging, you can select the Host-only mode. The preceding figure shows the working principle of the three network modes (bridging, nat, and Host-only) of the Virtual Machine VMware.

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.