VMWare connection type virtual machine Comparative

1、NAT

NAT: Network Address Translation, network address translation; virtual machine's NIC is connected to a host VMnet8

The relationship between the virtual machine and the host: only one way to access virtual machine can access through the network to the host, the host can not access the virtual machine to the network.

VM relationship with other hosts in the network: only one way to access virtual machine can access the network to other hosts, other hosts can not be accessed over a network to a virtual machine.

The relationship between virtual machines and virtual machine: can not access each other, each virtual machine and the virtual machine completely independent of each other can not access each other over the network.

2, Bridged Adapter (Bridge mode)

The relationship between the virtual machine and the host: You can access each other, because the virtual machine has independent network segments in real IP, host and virtual machines in the same network segment, they can access each other with each other through their respective IP.

Virtual machine in relation to other hosts in the network: You can access each other, the same as the virtual machine has independent network segments in real IP, virtual machine network with all other hosts in the same network segment, they can access each other through their respective IP.

The relationship between virtual machines and virtual machines: You can access each other for the same reason.

3, Host-only Adapter (host mode), the card is connected to the virtual machine on the host VMnet1

Host mode, this is a more complex model, the network needs to have more solid fundamentals to Fun. It can be said in front of several models features implemented in this mode, it can be achieved by setting up virtual machines and network card.

We can be understood as Guest Host simulate out a card specifically for the use of virtual machines, virtual machines are all connected to the card, we can browse the Internet and many other features by setting this card, such as (NIC sharing, LAN bridges, etc.).

The relationship between the virtual machine and the host: Default can not visit each other, the two sides do not belong to the same IP segment, host-only network card segment 192.168.56.X default IP subnet mask of 255.255.255.0, and the back of the virtual machine is assigned to be It is this segment. By sharing network card, network card and other bridges, can visit each virtual machine on the host.

The relationship between virtual machines and network host: Default can not visit each other, for the same reason, by setting, you can achieve mutual visits.

The relationship between virtual machines and virtual machines: Default can visit each other, all in the same network segment.

Guess you like

Origin www.cnblogs.com/goodbye-lazy/p/11028912.html