Estou executando o VirtualBox versão 5.0.20 no Mac OS El Capitan 10.11.3 e convidado é o Windows 7. Estou tentando estabelecer a conectividade entre o Host Mac e o Windows convidado.
Para isso, eu configurei o Host Only Network com a sub-rede 192.168.57. *. A máquina host possui o IP 192.168.57.1 e o convidado 192.168.57.105 (configurado manualmente). A conectividade funciona se eu tiver configurado apenas um adaptador que seja Host Only Network.
Mas quando eu adiciono mais um adaptador NAT para conectividade com a Internet no Windows 7, a conectividade é interrompida.
Como posso fazer o NAT e o Host Only Network funcionarem juntos?
Configuração do convidado do Windows:
Windows IP Configuration Host Name . . . . . . . . . . . . : ********* Primary Dns Suffix . . . . . . . : ***************** Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : ****************** Gateway Ethernet adapter Local Area Connection 3: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter #2 Physical Address. . . . . . . . . : 08-00-27-E7-90-64 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::8c17:af04:a3e6:dd98%13(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.57.105(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.57.1 DHCPv6 IAID . . . . . . . . . . . : 369623079 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-76-DD-DD-08-00-27-48-FE-AE DNS Servers . . . . . . . . . . . : 192.168.57.1 NetBIOS over Tcpip. . . . . . . . : Enabled Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Gateway Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter Physical Address. . . . . . . . . : 08-00-27-48-FE-AE DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::1032:4017:bd44:93c1%11(Preferred) IPv4 Address. . . . . . . . . . . : 10.0.2.15(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : Friday, September 23, 2016 7:51:07 PM Lease Expires . . . . . . . . . . : Sunday, September 25, 2016 12:42:07 PM Default Gateway . . . . . . . . . : 10.0.2.2 DHCP Server . . . . . . . . . . . : 10.0.2.2 DHCPv6 IAID . . . . . . . . . . . : 285736999 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-76-DD-DD-08-00-27-48-FE-AE DNS Servers . . . . . . . . . . . : 192.168.0.1 NetBIOS over Tcpip. . . . . . . . : Enabled