I have VirtualBox 3.2.12 running on an Ubuntu 10.04 host. Usually, at work, I have my eth0 connected to a LAN with a static IP. If I bring my laptop home, I connect to the Internet via WiFi, with my WLAN card configured with DHCP.
On my guest system, I have eth0 configured with NAT, and eth1 as a bridged adapter.
Now at work (cable connected to eth0 on host), I have network connection to my guests, I can ping, ssh, whatever. At home, I don't get a network connection. NAT is working, I can access the Internet from within my guest, but there is no direct connection between the host and the guest. I can't ping my guest from the host or vice versa.
First I thought it could be a routing problem, but that did not seem to be the case: the routes are the same (or I can make them the same, with no effect) at work or at home.
Also, several guests on the virtual 192.168.0.0 network can reach each other. Its just the host that is not reachable.
On my host, I have two virtual network adapters:
eth0:1 Link encap:Ethernet HWaddr 00:22:68:11:32:f8 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 vboxnet0 Link encap:Ethernet HWaddr 0a:00:27:00:00:00 inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
Both seem to work, I can ping their addresses (maybe that does not mean so much?).
Now I am a bit clueless on where to continue to search. Any suggestions would be appreciated.