Home VM Tips Comparison of VMware vmnet0, vmnet1 and vmnet8

Comparison of VMware vmnet0, vmnet1 and vmnet8

2021-05-19 | Nick Zhao

Table of contents
  • vmnet0
  • vmnet1
  • vmnet8

vmnet0

vmnet0 is actually a virtual bridge. This bridge has many ports. One port is used to connect to your Host, and one port is used to connect to your virtual machine. Their locations are equal, so in Bridged mode, you can make the virtual machine a machine with the same status as your Host.


vmnet1 

vmnet1 presents as Host-Only network mode, which is used to establish an isolated network environment, where vmnet1 is also a virtual switch, one port of the switch is connected to your Host, and the other port is connected To the virtual DHCP server (actually a component of vmware), the remaining port is connected to the virtual machine. The virtual network card "VMWare Virtual Ethernet Adapter for VMnet1" serves as the gateway interface of the virtual machine and provides services for the virtual machine. After the virtual machine 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" network card. (In fact, it does not provide routing. This is designed by VMware. It does some things besides providing routing—in fact, I don’t know what it does.) There is no routing provided here. The main manifestation is No NAT service is provided, so that virtual machines cannot access addresses outside the network segment specified in Host-Only mode.


vmnet8 

vmnet8 uses NAT, the simplest networking method, from the host's "VMWare Virtual Ethernet Adapter for VMnet8" virtual network card, connected to the vmnet8 virtual switch, the other port of the virtual switch is connected to the virtual NAT server ( This is also a Vmware component), and one port is connected to the virtual DHCP server, and the other ports are connected to the virtual machine. The gateway of the virtual machine is the machine where the "VMWare Virtual Ethernet Adapter for VMnet8" network card is located. Nonsense, this must be yours Host machine. Similarly, you can also see with ipconfig that the default gateway of your virtual machine also points to your "VMWare Virtual Ethernet Adapter for VMnet8" virtual network card address. In contrast, it can be seen that the difference between the NAT networking mode and the Host-Only mode is whether there is an additional NAT service.

Share on:

Categories: VM Tips