Xin Xing analyzes several networking modes in VMware, and Xin Xing analyzes vmware networking
The first is the bridge mode, that is, the bridge mode. In this mode, the operating system virtualized by VMware is like an independent host in the LAN. It can access any machine in the network, however, we need more than one IP address, and we need to manually configure the IP address subnet mask for the virtual system, and also need to be in the same network segment as the host machine, so that the virtual system can communicate with the host machine. If we want to use VMware to create a virtual server in the LAN to provide network services for the LAN, we should select the bridge mode.
The nat mode, that is, the 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 information of the Virtual System in Internet NAT mode in the virtual machine system. It is provided by the DHCP server of the VMnet8 (NAT) virtual network, manual modification is not allowed. Therefore, the virtual system cannot communicate with other real hosts in the Local Area Network. The biggest advantage of using the NAT mode is that the virtual system is very easy to access the Internet, and we do not need any other configuration, you only need the host machine to access the Internet. If we want to use VMware to install a new virtual system, we can directly access the Internet without manual configuration in the virtual system. We recommend that you use the NAT mode.
For the Host-Only mode, that is, the host mode, in some special network debugging environments, we need to separate the real environment from the virtual environment, then we can use the Host-only mode, at this time, all virtual systems can communicate with each other, but the virtual system and the real network are separated.