VMware network configuration details

Source: Internet
Author: User

After the virtual machine is installed, two NICs are added to the network connection:

Among them, vmnet1 is the network interface in the host-only mode of the virtual machine, and vmnet8 is the network interface in the NAT mode, which will be described in detail later.

Select the Virtual Machine network mode as follows, and click Edit virtual machine settings ",:

Select "Ethernet" on the "hardware" tab. the "Network Connection" framework on the left has the following four single options:

1. bridged (Bridging Mode)

In the bridge mode, the Virtual Operating System of VMware is like an independent host in the LAN, which can access any machine in the network. However, you need more than one IP address, and you need to manually configure the IP address and subnet mask for the virtual system, and also need to be in the same network segment with the host machine, so that the virtual system can communicate with the host machine.

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. 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, you can use the NAT mode to access the Internet in a virtual system. 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, the virtual system cannot communicate with other real hosts in the local area network. The biggest advantage of using the NAT mode is that it is very easy for the virtual system to access the Internet. You do not need to configure any other configurations, but 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 without manual configuration in the virtual system. We recommend that you use the NAT mode.

3. 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. You can use Internet Connection Sharing (in fact, a simple route Nat) in Windows XP to allow virtual machines to access the Internet through the real Nic of the host. The TCP/IP configuration information (such as the IP address, gateway address, and DNS server) of the virtual system is dynamically allocated by the DHCP server of vmnet1 (host-only) virtual network.

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.

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.