Como configurar o VirtualBox Windows 10 Guest como servidor DHCP em uma rede somente host?

0

Configurei a rede somente para host para meu VirtualBox v5.2.8 r121009 Guest (executando o Windows 10 Enterprise) onde o convidado atuará como um servidor DHCP (usando o servidor DHCP aberto) para que o host do Windows 7 (meu laptop) , irá obter um endereço IP do Windows 10 Guest. No entanto, não funcionou.

Eu configurei o adaptador de rede no meu Windows 10 Guest como 192.168.88.1. Isso é bem sucedido e refletido no ipconfig.

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::ad9b:f469:78eb:14bc%3
   IPv4 Address. . . . . . . . . . . : 192.168.88.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

O servidor DHCP aberto também detecta com êxito o endereço IP fixo.

[04-May-18 23:57:46] Open DHCP Server Version 1.50 Windows Build 1027 Starting..
[04-May-18 23:57:46] Starting DHCP Service
[04-May-18 23:57:46] Logging: All
[04-May-18 23:57:46] DHCP Range: 192.168.88.1-192.168.88.254/255.255.255.0
[04-May-18 23:57:46] Server Name: DESKTOP-4DURJST
[04-May-18 23:57:46] Detecting Static Interfaces..
[04-May-18 23:57:46] Lease Status URL: http://127.0.0.1:6789
[04-May-18 23:57:46] Listening On: 192.168.88.1
[04-May-18 23:57:46] Network changed, re-detecting Static Interfaces..
[04-May-18 23:57:46] Lease Status URL: http://127.0.0.1:6789
[04-May-18 23:57:46] Listening On: 192.168.88.1

No Windows 7 Host, eu configurei o "VirtualBox Host-Only Network Adapter" para "Obter um endereço IP automaticamente" e, em seguida, desativei e reativei o adaptador. No entanto, o "VirtualBox Host-Only Network Adapter" não consegue obter o endereço IP do meu servidor DHCP do Windows 10. Eu usei o Open DHCP Server em PCs e redes físicos, e ele funciona usando a mesma configuração, mas não consigo fazer isso funcionar em um ambiente virtual.

Ethernet adapter VirtualBox Host-Only Network:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::ac22:8db7:ba64:fb12%28
   Autoconfiguration IPv4 Address. . : 169.254.251.18
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . :

Observação: o servidor DHCP para "Adaptador de rede somente para host do VirtualBox" está desabilitado.

    
por Joshua Lim 04.05.2018 / 18:14

1 resposta

1

O problema foi resolvido depois que eu reiniciei o host! Aparentemente, reiniciar o Guest não funciona como eu fiz muitas vezes.

    
por 05.05.2018 / 18:39

Tags