VMware Workstation, for example, has 3 virtual network devices:
The first kind: Vmnet0 (bridge mode), no physical virtual network card, in fact, is a protocol, the corresponding network card will be added to the VMware Bridge Protocol bridging Protocol, the role of using a virtual switch to connect the virtual machine and the physical machine network card.
Second type: Vmnet1 (host mode only, hostonly), Generate VMNET1 virtual network card, and define an IP address, virtual machine set to only host mode, need to manually set up and vmnet1 the same subnet segment, the same effect as vmnet0 but because Vmnet1 does not connect to other networks , so the data is exchanged only between the virtual machine and the physical machine.
Third:Vmnet8 (NAT mode, network address translation), generate VMNET8 virtual machine NIC, and provide gateway and address translation service through VMware NAT Service, VMware DHCP service provides virtual machine IP address auto-assignment service, Communicate with virtual machines via VMNET8.
The physical machine environment uses the router to surf the internet, chooses the bridge mode
Physical machine Standalone PPPoE dial-up Internet, select NAT Mode
Choose only Host mode if you do not want to surf the virtual machine
"Borrowing and finishing" original: https://zhidao.baidu.com/question/810411260955513172.html
VMware Workstation Virtual network Three kinds of internet differences