[Go] Virtual machine how the VMware3 network mode (bridging, Nat, Host-only) works

Source: Internet
Author: User
Tags virtual environment

Introduction to VMware Network configuration in 1:3 different network modes

After installing the virtual machine, you can see more than two NICs in the network connection:


Where VMnet1 is the network interface of the virtual machine host-only mode, VMNET8 is the NAT mode network interface, which will be described in detail later

Select the virtual machine network mode method as follows, click on the edit virtual machines settings:

Then select Ethernet in the Hardware tab and have the following four single options in the left network connection frame:

1. Bridged (bridging mode)


In bridging mode, VMware Virtual operating system is like a separate host in the LAN, it can access any machine in the network but you need more than one IP address, and you need to manually configure the virtual system IP address subnet mask, but also with the host machine in the same network segment, So that the virtual system can communicate with the host machine

If you want to use VMware to create a new virtual server within the LAN, to provide network services for LAN users, you should choose Bridging mode

2. NAT (network address translation mode)


Using NAT mode is to let the virtual system with NAT (Network address translation) function, through the host machine on the network to access the public network that is, the use of NAT mode can be implemented in the virtual system access to the Internet NAT mode of the virtual system TCP/IP configuration information is by VMnet8 (NAT) The virtual network of the DHCP server provided, can not be manually modified, so the virtual system will not be able to communicate with other real hosts in this LAN NAT mode the biggest advantage is that the virtual system access to the Internet is very simple, you do not need to do any other configuration, only the host machine can access the Internet to

If you want to use VMware to install a new virtual system, you can directly access the Internet without any manual configuration in the virtual system, it is recommended that you use NAT mode

3. Host-only (host mode)


In some special network debugging environment, the need to isolate the real environment and virtual environment, then you can adopt host-only mode in host-only mode, all virtual systems can communicate with each other, but the virtual system and the real network is isolated can take advantage of Windows XP has its own Internet Connection Sharing (actually a simple route NAT) to allow the virtual machine to access the virtual system's TCP/IP configuration information (such as IP address gateway address DNS server, etc.) through the host's real network card, all by VMnet1 (host-only) The virtual network's DHCP server is dynamically allocated.

If you want to use VMware to create a virtual system that is isolated from other machines in the network, you can choose Host-only mode for some special network debugging work.

Above, is the virtual machine VMware 3 kinds of network mode (bridge, Nat, host-only) work principle.

[Go] Virtual machine how the VMware3 network mode (bridging, Nat, Host-only) works

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.