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.
VMware Network Configuration-Introduction to three network modes