Three networks in virtual machines

Source: Internet
Author: User
1. Vmnet0,

Vmnet0Actually, it is a virtual bridge. This bridge has several ports. One port is used to connect your host, and the other port is used to connect your virtual machine. Their locations are equal, no one is the gateway. So in bridged mode, you can make the virtual machine the same as your host.

2. vmnet1

Vmnet1 is a host-only network mode, which is used to establish an isolated network environment. vmnet1 is also a virtual switch, and a port of the switch is connected to your host, another port is connected to the virtual DHCP server (actually a component of VMware), and the remaining port is connected to the virtual machine. The virtual nic "VMWare virtual Ethernet adapter for vmnet1" serves as the gateway interface of the Virtual Machine and provides services for the virtual machine. After the VM is started, if you use the ipconfig command, you will clearly see that your default gateway is pointing to the address of the "VMWare virtual Ethernet adapter for vmnet1" Nic. No route is provided here, mainly because no NAT service is provided, so that virtual machines cannot access addresses outside the CIDR Block specified in host-only mode.

3. vmnet8

Vmnet8 is a NAT method and the simplest networking method. It is connected to the vmnet8 vswitch from the host's "VMWare virtual Ethernet adapter for vmnet8" virtual Nic, the other port of the vswitch is connected to the virtual Nat server (which is also a VMware component), and the other port is connected to the virtual DHCP server.Connect to a VMThe Virtual Machine gateway is the machine where the "VMWare virtual Ethernet adapter for vmnet8" Nic is located, that is, your host machine.

Three networks in virtual machines

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.