The difference between bridge mode and NAT mode in VMware

  • Bridge mode:

By using the network card of the physical machine, it has its own IP address, just like another host is virtualized on the computer, it can access any host in the network, and it needs to manually configure the IP address, subnet mask, and The host machine is on the same network segment so that the virtual machine can communicate with the host machine. At the same time, since this virtual system is an independent host system in the local area network, its TCP\IP information can be manually configured to realize Internet access through the gateway or router of the local area network.

  • NAT mode:

Using NAT mode is to let the virtual system use NAT (network address translation function) to access the public network through the network where the host machine is located. That is to say, using NAT mode can realize accessing the Internet in the virtual system. The TCP/IP configuration is provided by the DHCP server of the VMnet8 (NAT) virtual network and cannot be manually modified, so the virtual system cannot communicate with other real hosts in the local area network. The advantage of a virtual machine using NAT mode is that it is very convenient to access the Internet, as long as the host machine can access the Internet.

Guess you like

Origin blog.csdn.net/a34651714/article/details/102756914