Page 1 of 1

Guest cannot see host using host-only networking

Posted: 1. Aug 2010, 21:50
by Thijs
Hi,

I'm struggling setting up host-only networking between my host and guest. I've read the section in the manual about networking and host-only networking and as far as I can see, I've set up everything as it should be - but it doesn't work. To be honest, I'm unexperienced where it comes to networking, so I assume I'm doing something wrong, but I can't figure out what it is.

I'm using VirtualBox 3.2.6 on a Windows XP SP3 home edition host, the guest OS is Windows XP SP3 professional.

To rule out a firewall blocking traffic, I've disabled the firewall on both the host and the guest OS. The host can then ping the guest at 192.168.56.101, but the guest can NOT ping the host at 192.168.56.1.

I really need this to work, since I'm using the guest as a development environment that needs access to servers running on the host (SQL Server, Apache, MySQL) but need the servers on the host AND the guest to be invisible from the outside world - host-only networking sounds perfect for just that.

ipconfig /all info of HOST (sorry, in Dutch):
Windows IP-configuratie

        Host-naam  . . . . . . . . . . . .: d61hsr0j
        Primair DNS-achtervoegsel. . . . .:
        Knooppunttype: . . . . . . . . . .: onbekend
        IP-routering ingeschakeld. . . . .: nee
        WINS-proxy ingeschakeld . . . . . : nee
        DNS-achtervoegselzoeklijst. . . . : orange.nl

Ethernet-adapter VirtualBox Host-Only Network:

        Verbindingsspec. DNS-achtervoegsel:
        Beschrijving . . . . . . . . . . .:
          VirtualBox Host-Only Ethernet Adapter
        Fysiek adres. . . . . . . . . . . : 08-00-27-00-48-73
        DHCP ingeschakeld:. . . . . . . . : nee
        IP-adres. . . . . . . . . . . . . : 192.168.56.1
        Subnetmasker. . . . . . . . . . . : 255.255.255.0
        Standaardgateway. . . . . . . . . :
ipconfig /all info of GUEST (sorry, in Dutch):
Windows IP-configuratie

        Host-naam  . . . . . . . . . . . .: vs2008expr
        Primair DNS-achtervoegsel. . . . .:
        Knooppunttype: . . . . . . . . . .: onbekend
        IP-routering ingeschakeld. . . . .: nee
        WINS-proxy ingeschakeld . . . . . : nee

Ethernet-adapter LAN-verbinding:

        Verbindingsspec. DNS-achtervoegsel:
        Beschrijving . . . . . . . . . . .:
          AMD PCNET Family PCI Ethernet-adapter
        Fysiek adres. . . . . . . . . . . : 08-00-27-60-4D-4E
        DHCP ingeshakeld. . . . . . . . . : ja
        Autom. configuratie ingeschakeld. : ja
        IP-adres. . . . . . . . . . . . . : 192.168.56.101
        Subnetmasker. . . . . . . . . . . : 255.255.255.0
        Standaardgateway. . . . . . . . . :
        DHCP-server . . . . . . . . . . . : 192.168.56.100
        Lease verkregen . . . . . . . . . : zondag 1 augustus 2010 21:36:05
        Lease verlopen . . . . . . . . .  : zondag 1 augustus 2010 22:36:05
Any clue as to what I'm doing wrong?

Kind regards,
Matthijs

Re: Guest cannot see host using host-only networking

Posted: 3. Aug 2010, 21:29
by Thijs
Hi all,

Problem solved. I removed the host-only adapter and created a new one (with the same settings), and now it works. Still don't known why it didn't in the first place ...

Kind regards,
Matthijs