There are three main ways of connecting VMware networks, namely, bridging, Nat, and Host-only.
Bridging : Direct use of the real machine's physical network card (limited network card, wireless card), will occupy an IP in the LAN, so when setting up the virtual machine IP to avoid the same network segment of other IP conflicts. A virtual machine can be viewed as a real machine in a network using a bridge connection network, and a virtual machine can be connected to the Internet if the computer connects to the Internet.
NAT: Similar to bridging, the difference is that the virtual network card (VMware virtual Ethernet Adapter for VMnet8) is used, and the virtual network card is automatically generated when VMware is installed. It is also the IP address of the shared host, and there is no independent IP.
host-only: Use a virtual network card (VMware virtual Ethernet Adapter for VMnet1) to establish a private net that can only communicate with physical machines and not access the Internet.
Bridging is generally recommended if you want the virtual machine to be able to use the Internet.
Problems that you may encounter with bridging methods:
1. Unable to communicate with the host
Selecting the bridge will automatically match the physical network card (Ethernet card, wireless card) of the computer, which may match incorrectly. At this point you need to check, if there is a problem, you should manually modify the network card to match.
VMware Network Adapter settings