For details about the network connection methods between vmware and virtualbox, both vmware and virtualbox are good Virtual Machine Software and their network connection methods are basically the same. The following uses vmware as an example to describe that VMWare provides three working modes, these are bridged (bridging mode), NAT (network address translation mode), and host-only (host mode ). To use them properly in network management and maintenance, you should first look at the three working modes at www.2cto.com. 1. bridged (bridging mode) In this mode, VMWare virtualizes an operating system like an independent master machine in the LAN, which can access any machine in the network. In the bridge mode, you need to manually configure the IP address and 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. At the same time, because this virtual system is an independent host system in the LAN, You can manually configure its TCP/IP configuration information to access the Internet through the LAN gateway or router. The relationship between a virtual system in the bridge mode and the host machine is like connecting two computers on the same Hub. If you want them to communicate with each other, You need to configure the IP address and subnet mask for the virtual system. Otherwise, the communication will fail. If you want to use VMWare to create a virtual server in the LAN to provide network services for LAN users, you should select the bridge mode. Www.2cto.com 2. host-only (host mode) in some special network debugging environments, you must isolate the real environment from the virtual environment, then you can adopt the host-only mode. In host-only mode, all virtual systems can communicate with each other, but the virtual system and the real network are isolated. Tip: in host-only mode, the virtual system and the host machine system can communicate with each other, because the two machines are connected through twisted pair wires. In host-only mode, the TCP/IP configuration information of the virtual system (such as the IP address, gateway address, and DNS server) is created 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. 3. NAT (network address translation mode) uses the NAT mode to allow the virtual system to access the public network through the network where the host machine is located through the NAT (Network Address Translation) function. That is to say, you can use the NAT mode to access the Internet in the virtual system. In NAT mode, the TCP/IP configuration information of the virtual system is provided by the DHCP server of the VMnet8 (NAT) Virtual Network and cannot be modified manually, 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 it is very easy for the virtual system to access the Internet. You do not need to configure any other configurations, but only need the host machine to access the Internet. Www.2cto.com 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. We recommend that you use the NAT mode. Tip: The VMnet8 virtual network mentioned above in NAT mode, the VMnet1 Virtual Network in host-only mode, and the VMnet0 Virtual Network in bridged mode, they are all generated based on the automatic configuration of the vmwarevm and do not need to be set by the user. VMnet8 and VMnet1 provide DHCP services, while VMnet0 virtual network does not. Author statdm