Type of network connection VMware Workstation virtual machine

There are three alternative type of network, namely: bridge mode, the NAT mode, the master mode only

View the card on their local PC:

 

 After installing the virtual machine, the default installation of two virtual NICs, VMnet1 and VMnet8, the other is not installed (of course, you can manually install other). vmnet0, is actually a virtual bridge vmnet0, is actually a virtual bridge, this bridge there are several ports, a port for connecting to your Host, a port for connection to your virtual machine, they position is equal. Wherein the host is VMnet1 card, connected to the network host. VMnet8 card is NAT, NAT connect to the network.

VMnet0: Bridging (all hosts and virtual machines can access each other)

VMnet1: Host only (only the local PC, and virtual machines can exchange visits)

VMnet8: NAT (virtual machine can access all hosts, but other hosts can not access the virtual machine)

1. Use bridged networking (using bridged network)

Description: Use VMnet0 virtual switch, the virtual machine at this time comparable to a standalone computer on the network as the host has a separate IP address, the network topology shown in FIG using bridging, A, A1, A2 1, B can exchange visits.

 

 

Bridge Topology FIG. 1 a schematic manner

2. Use network address translation(NAT)

Description: Use Vmnet8 virtual switch, this time by the virtual machine on the host workstation other one-way network, other stations can not access the virtual machine. Network topology shown in Figure 2, using NAT mode, A1, A2 accessible B, but B can not access the A1, A2. But A, A1, A2 can exchange visits.

 

 

2 NAT topology illustrative embodiment of FIG.

3. Use Host-Only networking (use the host network)

Note: Use Vmnet1 virtual switch, virtual machines can only at this time and virtual machines, hosts visits. That is not the Internet, network topology shown in Figure 3, using the Host mode, A, A1, A2 can visits, but A1, A2 can not access the B, B can not be accessed.

 

 

 

FIG 3 schematically host network topology manner

 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/meizijiang/p/11886581.html