Three Network modes of network communication provided by Vmware

Source: Internet
Author: User

VMware provides three working modes: bridged (bridging mode), NAT (network address translation mode), and host-only (host mode ).
If you want to use VMware to create an independent virtual server in the LAN to provide network services for LAN users, or create a virtual system isolated from other machines in the LAN for special
Debugging. At this point, the choice of the virtual system working mode is very important. If you choose an incorrect working mode, you will not be able to achieve the above purpose, and you will not be able to make full use of VMware's Network Management and Maintenance
Protection. Now let's move closer to three working modes of VMware.

Understanding three working modes

VMware provides three working modes: bridged (bridging mode), NAT (network address translation mode), and host-only (host mode ). To apply them properly in network management and maintenance, you should first understand the three working modes.

1. bridged (Bridging Mode)

In this mode, the Virtual Operating System of VMware is like a ** stand-alone host in the LAN, which can access any machine in the network. In the bridge mode, you need to manually configure the Virtual System
Sets the IP address and subnet mask, and must be in the same network segment as the host machine so that the virtual system can communicate with the host machine. At the same time, because this virtual system is an independent host system in the LAN,
You can manually configure its TCP/IP configuration information to access the Internet through a LAN gateway or router.

The relationship between a virtual system in the bridge mode and the host machine is like connecting two computers on the same hub. If you want them to communicate with each other, You need to configure the IP address and subnet mask for the virtual system. Otherwise, the communication will fail.

If you want to use VMware to create a virtual server in the LAN to provide network services for LAN users, 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. In this case, you can adopt 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, equivalent to the two machines connected through twisted pair wires.

In host-only mode, the TCP/IP configuration information of the virtual system (such as the IP address, gateway address, and DNS server) is created by vmnet1 (host-only) DHCP servers in the virtual network are dynamically allocated.

If you want to use VMware to create a virtual system isolated from other machines in the network and perform some 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 public network through the network of the host machine. That is to say, the NAT mode can be used in the virtual system.
Access the internet. In Nat mode, the TCP/IP configuration information of the virtual system is provided by the DHCP server of the vmnet8 (NAT) Virtual Network and cannot be modified manually.
Therefore, you cannot communicate with other real hosts in the local area network. The biggest advantage of using the NAT mode is that it is very simple for the virtual system to access the Internet. You do not need to perform any other configuration, but only need the host machine to access
Ask the internet.

If you want to use VMware to install a new virtual system, you can directly access the Internet without manual configuration in the virtual system. We recommend that you use the NAT mode.

Tip: the above mentioned vmnet8 Virtual Network in Nat mode, vmnet1 Virtual Network in host-only mode, and vmnet0 in bridged Mode
Virtual networks are generated by the automatic configuration of vmwarevm, and do not need to be set by the user. Vmnet8 and vmnet1 provide DHCP services, but vmnet0 virtual networks are not mentioned.
Supply.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.