Windows 7 Guest on OSX Host - Can't reach host over network

Discussions about using Windows guests in VirtualBox.
Post Reply
coredumperror
Posts: 3
Joined: 2. Dec 2011, 02:02
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows 7

Windows 7 Guest on OSX Host - Can't reach host over network

Post by coredumperror »

I'm running the Win7+IE8 tester VM from Microsoft (installed using the ievms script) on OSX Snow Leopard, and I'm unable to access the host over the network. I am using all the default settings that come with the VM, but pinging the host doesn't work, even though the DNS does resolve to an IP.

I can browse to Google and other places on the Internet just fine; but when I attempt to load the host system's apache-served webpage, I get no connection. The strange thing is that my older Windows XP VM, using the same network settings, can access the host just fine. Both are Using NAT networking, both have the latest VirtualBox Guest Additions installed. The only difference is that the failing VM uses the Intel PRO/1000 MT Desktop adapter, while the Windows XP VM is using the PCnet-FAST III adapter. I would use the FAST III on the Win7 VM, but there don't appear to be any Windows 7 drivers for that adapter, and the reverse is true of the Windows XP VM.

Has anyone experienced this problem before? Got any advice?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows 7 Guest on OSX Host - Can't reach host over netw

Post by Perryg »

NAT will not be able to talk to the host. Bridged will if there is a router in the network or else add a second adapter in the guest settings set to use host-only.
coredumperror
Posts: 3
Joined: 2. Dec 2011, 02:02
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows 7

Re: Windows 7 Guest on OSX Host - Can't reach host over netw

Post by coredumperror »

Perryg wrote:NAT will not be able to talk to the host. Bridged will if there is a router in the network or else add a second adapter in the guest settings set to use host-only.
OK, I didn't fully understand what you meant by this, but I tried setting my main adapter to bridged and adding a second adapter, set to host-only. Unfotunately, that didn't fix the problem. Is there some other specific settings I should apply to make this work?

Also, why does NAT not work? I have a broadband router at home that is my network's NAT host, and I can access it's webserver for setting the configuration. What's different about how my VM's NAT is set up?
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Windows 7 Guest on OSX Host - Can't reach host over netw

Post by BillG »

If you have a router/DHCP server on your LAN, bridged mode should work. The vm should behave like another machine on the network and get its config from DHCP.

The NAT setting in VirtualBox is different. The guest gets its config from NAT in the host (ie the guest is behind NAT running on the host, quite separate from NAT on your DHCP device).

If bridged networking works as above you do not need the host only adapter. The host and guest are in the same network and can communicate directly. You need the host only link to communicate between host ans guest if you are using the NAT option.
Bill
Post Reply