cannot connect to internet in ANY windows guest

Discussions about using Windows guests in VirtualBox.
Post Reply
justinrpg
Posts: 142
Joined: 18. Mar 2011, 00:33
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Ubuntu Fedora LinuxMint Mageia

cannot connect to internet in ANY windows guest

Post by justinrpg »

I can no longer connect to the internet in ANY Windows Guest... they ALWAYS say 'acquiring network address' then go to 'Limited or No Connectivity' within the guest! and restarting the guest doesn't work either! it just keeps doing the same thing! what is going wrong? and how do I fix it?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: cannot connect to internet in ANY windows guest

Post by Perryg »

It depends on what you did between the last time it worked and now that it does not.
Any idea? Because right now all I can tell is it does not work. You could provide some information like ipconfig /all from the guest and also what the adapter is set to. NAT, Bridged, Etc. which would help.
jsta
Posts: 3
Joined: 19. Mar 2012, 17:14

Re: cannot connect to internet in ANY windows guest

Post by jsta »

I've been having this issue ever since I upgaded to 4.1.8.
Bridged networking is broke on my XP guest; never receives an IP address from my router.
It worked fine prior to upgrading to 4.1.8.
I then upgraded to 4.1.10, and same issue persists.
When network adapter is configured to NAT, it works still.

Absolutely no changes were made to my XP guest prior to the upgade, and it worked just prior to the ugprade.

I've tried deleting the network adapter in the guest and let Windows reinstall.
I've changed the adapter type.
I've tried manually assigning an IP address within the guest OS.
I've tried disabling the Windows firewall on my host Win7.
I've tried disabling the AV on my host Win7.

None of that seems to get bridged networking to work in the guest,
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: cannot connect to internet in ANY windows guest

Post by mpack »

Just double checked using bridged networking from an XP Pro 32bit guest (the host is also XP Pro 32bit), VirtualBox v4.1.10. Seems to work fine for me.

If I were you I would double check that the XP guest is still configured to automatically acquire an IP address (from a local DHCP server, i.e. from the router).
jsta
Posts: 3
Joined: 19. Mar 2012, 17:14

Re: cannot connect to internet in ANY windows guest

Post by jsta »

mpack wrote:Just double checked using bridged networking from an XP Pro 32bit guest (the host is also XP Pro 32bit), VirtualBox v4.1.10. Seems to work fine for me.

If I were you I would double check that the XP guest is still configured to automatically acquire an IP address (from a local DHCP server, i.e. from the router).
nope...
I now have both a PCnet-FAST III and Intel PRO/1000MT Desktop adapters installed in my guest.
They are configured for DHCP in the guest.
They will not receive an IP address.

Even if I statically assign an IP address on either adapter, I still get no network access.

NAT mode on either adapter, and I get network access.

Only bridged mode is broke.

It broke after upgrading to 4.1.8.

Although something I just noticed... VirtualBox only detects one physical adapter; or, at least, only displays 1 adapter in the drop-down box.
My motherboard has 2 onboard NICs.
The 2nd one was still enabled, but is not plugged in to the network.
I disabled that adapter, and now everything is working.

So VB isn't properly displaying the host's physical NICs in the Settings.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: cannot connect to internet in ANY windows guest

Post by Perryg »

You might want to read chapter 12.6.5 Bridged networking adapters missing in your VirtualBox users manual.
jsta
Posts: 3
Joined: 19. Mar 2012, 17:14

Re: cannot connect to internet in ANY windows guest

Post by jsta »

Perryg wrote:You might want to read chapter 12.6.5 Bridged networking adapters missing in your VirtualBox users manual.
thanks, but useless info :)
and don't you mean 12.5.6?
12.6.5 is for Linux hosts.

Disabling the unused NIC on the host system got things working.
Yet, in the Settings of the VM, there was only a single NIC listed.

If VB only displays the network-connected NICs, then it should not have been broke to begin with.
If no bridged adapters show up in the "Networking" section of the VM settings, this typically means that the bridged networking driver was not installed properly on your host.
a bridged adapter was displayed. A single adapter was displayed. My motherboard has 2 onboard NICs which use the same drivers. Both NICs work properly on the host.
If the only adapter being displayed was, in fact, the disconnected NIC on the host, then why did simply disabling the unused NIC on the host resolve the issues?
If the in-use NIC is "missing," then why does it work now when I did nothing more than disable the unused NIC?
If host-only adapter cannot be created (either via the Manager or VBoxManage)
I wasn't trying to create a host-only adapter, so is completely irrelevant.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: cannot connect to internet in ANY windows guest

Post by Perryg »

Now maybe your user guide is older than mine but then again you knew to look for the phrase "Bridged networking adapters missing", right?
Here it is online so there is no confusion about the actual chapter number http://www.virtualbox.org/manual/ch12.html#idp12886368
Everything you have indicated points to not having enough filters in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\MaxNumFilters

But hey what do I know.
Missing Bridged adapter.png
Missing Bridged adapter.png (44.78 KiB) Viewed 2380 times
Post Reply