Get the App
SLTechnology News&Howtos  ›  Network Security  › 

How many VirtualBox network connection methods are there?

Shulou Source: shulou.com Published: 2022-05-31 18:49:19 10月03日 Update

This article is to share with you about how many ways to connect to the VirtualBox network. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Overview

There are four main ways to connect VirtualBox network: NAT, Bridge, Internal and Host-only Adapter.

NAT

In this way, the network card of the virtual machine is connected to the host VMnet8. At this time, the VMWare NAT Service service of the system acts as a router, which is responsible for sending the packet sent to VMnet8 by the virtual machine to the actual network after address translation, and then sending the packet returned on the actual network to the virtual machine through VMnet8 after address translation. VMWare DHCP Service is responsible for providing DHCP services to virtual machines. The following figure shows how hosts and virtual machines access each other.

Bridged

In this way, the virtual machine, like a real computer, is directly connected to the actual network and has no connection with the host.

Host-only

In this way, the network card of the virtual machine is connected to the host VMnet1, but the system does not provide any routing services for the virtual machine, so the virtual machine can only communicate with the host, but can not connect to the actual network.

Internal

The internal network mode, as the name implies, is the internal network mode: the virtual machine is completely disconnected from the external network, and only realizes the internal network mode between the virtual machine and the virtual machine.

Thank you for reading! This is the end of this article on "how many ways to connect to the VirtualBox". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Network mode actual host mode service content address host more article system network card routing faceted good practical as the name implies host between Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Apple Redmi Shulou Information Microsoft