Virtualbox 4.0.2 - NAT not working under Windows XP Guest

Discussions about using Windows guests in VirtualBox.
Post Reply
heheman3000
Posts: 12
Joined: 1. Feb 2011, 04:02
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Virtualbox 4.0.2 - NAT not working under Windows XP Guest

Post by heheman3000 »

Hi there,

After upgrading virtualbox 3.2.12 to 4.0.2, my Windows XP Guest on my Gentoo Linux host cannot access the internet anymore. Basically, the NAT shows up as connected with a DHCP IP of 10.0.x.x and a gateway, but nothing is accessible. Occasionally, I can access one website page but nothing after that, which is very strange.

I've tried all the different virtualbox adapters, including the new ones introduced in 4.0, but nothing works. They all can get an IP via the NAT DHCP after drivers are installed, but nothing can actually connect. Someone mentioned that NAT started working again after switching to Intel PRO/1000 MT Server Adapter, but that didn't do it for me.

Thanks,

Andrew
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Virtualbox 4.0.2 - NAT not working under Windows XP Guest

Post by Perryg »

Where exactly did you get you VirtualBox install from? Was it VirtualBox or Gentoo?
I am going to guess that since VirtualBox does not have a Gentoo install available you must have gotten it from them.
That being the case you really should ask them what could be the problem since I don't see this issue on any of the builds that VirtualBox creates. They are the ones that compiled it from the VirtualBox source and would be the only ones that would know what they did or how to fix it.
heheman3000
Posts: 12
Joined: 1. Feb 2011, 04:02
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Virtualbox 4.0.2 - NAT not working under Windows XP Guest

Post by heheman3000 »

Hi Perryg,

It is the PUEL (binary) build so I am highly skeptical that the gentoo ebuild compiles it from source, unless you released it to them :) I think that all it does is install the modules and binaries in the appropriate directories for Gentoo.

The only thing that might be different on gentoo is that virtualbox modules are compiled for the kernel, but I compiled 4.0.2 modules successfully and they loaded without a problem. Any other ideas?

Thanks,

Andrew
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Virtualbox 4.0.2 - NAT not working under Windows XP Guest

Post by Perryg »

Post the guests log file (as an attachment)
heheman3000
Posts: 12
Joined: 1. Feb 2011, 04:02
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Virtualbox 4.0.2 - NAT not working under Windows XP Guest

Post by heheman3000 »

Here it is. Sorry for the delay, have been super busy the past few days.

Andrew
Attachments
VBox.log
Virtualbox Log
(48.86 KiB) Downloaded 37 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Virtualbox 4.0.2 - NAT not working under Windows XP Guest

Post by Perryg »

00:00:28.985 rtldrNativeLoad: dlopen('libvdeplug.so.2', RTLD_NOW | RTLD_LOCAL) failed: libvdeplug.so.2: cannot open shared object file: No such file or directory

The only place that you can get the PUEL version of VirtualBox is from VirtualBox.org (and they don't have a build for Gentoo). Now since version 4.0.* it is all open source with the Extension Pack being the licensed portion. If you got it from gentoo ebuild then they did the compiling from source and to their specifications.

You should contact gentoo, but my guess is they are using a newer version of libvdeplug.so or it is missing.
heheman3000
Posts: 12
Joined: 1. Feb 2011, 04:02
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Virtualbox 4.0.2 - NAT not working under Windows XP Guest

Post by heheman3000 »

Hi Perryg,

I don't think that was the problem. I fixed it, but I still can't connect to the internet.

For Gentoo users that come across this thread in the future, here's an explanation: basically, before VirtualBox 4.0.0, Gentoo basically had two packages: virtualbox-ose, the open source version, and virtualbox-bin, the PUEL version. Upon the release of 4.0.0, which included the open source part as well as the PUEL extensions separately, virtualbox-ose was just renamed to virtualbox and you could install the PUEL extensions with virtualbox-extpack-oracle. virtualbox-bin was now just a pre-compiled monster with everything, including apparently some badly specified dynamic links.

So, I basically switched to the self-compiled version, with the PUEL extensions as well, and that dynamic link error went away. However, I still can't connect to the internet. Here's my new Vbox log (this is with PC-NET FAST III, but it basically shows the same thing with other adapters as well.)
Attachments
VBox.log
Virtualbox Log - no libdeplug error
(47.02 KiB) Downloaded 10 times
heheman3000
Posts: 12
Joined: 1. Feb 2011, 04:02
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Virtualbox 4.0.2 - NAT not working under Windows XP Guest

Post by heheman3000 »

Any ideas for this?
heheman3000
Posts: 12
Joined: 1. Feb 2011, 04:02
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Virtualbox 4.0.2 - NAT not working under Windows XP Guest

Post by heheman3000 »

Just wanted to add that this issue was fixed after upgrading to Virtualbox 4.0.4. I didn't see an explicit fix for it in the changelog but something must have done it!

Thanks!
Post Reply