VMware provides three working modes: bridged (Bridge Mode) and NAT (network address translation mode ).
) And host-only (host mode ). To apply them properly in network management and maintenance, you should first
Learn about the three working modes.
1. bridged (Bridging Mode)
In this mode, the Virtual Operating System of VMware is like an independent master in the LAN.
Machine, which can access any machine in the network. In Bridge mode, you need to manually configure the Virtual System
The IP address and subnet mask must be in the same network segment as the host machine, so that the virtual system can communicate with the host machine.
Host for communication. At the same time, because this virtual system is an independent host system in the LAN,
Then, you can manually configure its TCP/IP configuration information to achieve access through the LAN gateway or router
Ask the internet.
The relationship between the virtual system and the host machine in the bridge mode is like the relationship between the two virtual systems connected to the same hub
Computer. If you want them to communicate with each other, You need to configure the IP address and subnet mask for the virtual system. Otherwise
Unable to communicate.
If you want to use VMware to create a virtual server in the LAN
Network service, you should select the bridge mode.
2. Host-only (Host Mode)
In some special network debugging environments, you must isolate the real environment from the virtual environment.
You can use the host-only mode. In host-only mode, all virtual systems can communicate with each other.
But the virtual system and the real network are isolated.
Tip: in host-only mode, the virtual system and the host machine system can communicate with each other.
When the two machines are connected through twisted pair wires.
In host-only mode, the TCP/IP configuration information of the virtual system (such as IP address, gateway address, DNS
Servers) are dynamically allocated by DHCP servers in the vmnet1 (host-only) virtual network.
If you want to use VMware to create a virtual system that is isolated from other machines in the network
For special network debugging, you can select the host-only mode.
3. NAT (network address translation mode)
The Nat mode enables the virtual system to use the NAT (Network Address Translation) function
To access the internet. That is to say, you can use the NAT mode to access the Internet in the virtual system.
Network. In Nat mode, the TCP/IP configuration information of the virtual system is configured by the DHCP server of the vmnet8 (NAT) virtual network.
The virtual system cannot be modified manually because it is provided by the server.
Communicates with the host. The biggest advantage of using the NAT mode is that it is very simple for a virtual system to access the Internet.
Any other configuration is required. You only need the host machine to access the Internet.
If you want to use VMware to install a new virtual system
You can directly access the Internet through the configuration. We recommend that you use the NAT mode.
Tip: the above mentioned vmnet8 Virtual Network in Nat mode and vmnet1 in host-only mode
Both the virtual network and the vmnet0 Virtual Network in bridged mode are automatically configured by the vmwarevm.
However, you do not need to set this parameter. Vmnet8 and vmnet1 provide DHCP service, vmnet0 Virtual Network
Network is not provided
Specific Configuration:
Nat Mode
1. The Nat method is controlled by VMware network adapter vmnet8 by default. It is set to automatically obtain IP addresses and DNS.
2. enable DHCP and run vmnet.exe on the NAT and DHCP tabs.
3. The customer can also enable DHCP.