Bridged networking (Bridging Mode)
In this mode, the Virtual Operating System of VMware is like an independent host 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, After configuring the gateway and DNS address, you can access the Internet through the LAN gateway or router.
Network Address Translation (NAT Mode)
The Nat mode enables the virtual system to use the NAT (Network Address Translation) function to access the public network through the network of the host machine. That is to say, you can use the NAT mode to access the Internet in a 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 simple for a virtual system to access the Internet. You only need the host machine to access the Internet. You do not need to configure IP addresses, subnet masks, and gateways, however, the DNS address must be specified based on the actual situation. In addition to entering the DNS address in the NIC attribute, you can also click Edit in the NAT tab of the virtual network editor in the virtual machine.
If you only allow virtual machines to access the Internet in either of the two modes, you can use bridging as long as you have a valid address in the LAN. For example, your ADSL cat has a routing function, if it is in the Organization, it is necessary for the network administrator to give you a valid IP address (now the company is bound to Mac and IP addresses ).
Now the host and virtual machine are interconnected. If your ADSL has the routing function, disable DHCP for the virtual machine, select bridging, check whether the two machines are allocated IP addresses in the same network segment, and disable the firewall.
Differences between the bridge mode and the NAT Mode