Обнаружена ошибка при установке Kali Linux 2020.1b на виртуальный бокс 6.1

Режим NAT в виртуальном боксе обычно не поддерживает инициирование соединений с гостевой машиной (или, по крайней мере, с трудом ). Вы можете переключить его в мостовой режим.

Режим NAT:

When the guest OS boots, it typically uses DHCP to get an IP address. VirtualBox will field this DHCP request and tell the guest OS its assigned IP address and the gateway address for routing outbound connections. In this mode, every vm is assigned the same IP address (10.0.2.15) because each vm thinks they are on their own isolated network. And when they send their traffic via the gateway (10.0.2.2) VirtualBox rewrites the packets to make them appear as though they originated from the Host, rather than the Guest (running inside the Host).

This means that the Guest will work even as the Host moves from network to network (e.g. laptop moving between locations), and from wireless to wired connections too.

However, how does another computer initiate a connection into a Guest? e.g. connecting to a web server running in the Guest. This is not (normally) possible using NAT mode as there is no route into the Guest OS. So for vm's running servers we need a different networking mode....

Мостовой режим:

Bridged Networking is used when you want your vm to be a full network citizen, i.e. to be an equal to your host machine on the network; in this mode, a virtual NIC is "bridged" to a physical NIC on your host.

The effect of this is that each VM has access to the physical network in the same way as your host. It can access any service on the network such as external DHCP services, name lookup services, and routing information just as the host does.

Дополнительная информация:Oracle VM VirtualBox :Параметры сети и способы -управления ими


Поскольку ctrl -alt -delor предлагает сеть «Host -only », она также может работать для вас. Это позволит вашему хост-компьютеру и виртуальным машинам (с )иметь возможность взаимодействовать друг с другом, но не позволит машинам за пределами вашего хост-компьютера взаимодействовать с вашими виртуальными машинами.

0
03.05.2020, 14:55
0 ответов

Теги

Похожие вопросы