Page 1 of 1

VirtualBox Networking Issue

Posted: 22. May 2009, 22:41
by roboy
Ok, first of all I will gove you some usefull info :
Problem: No internet connection on guest OS

VirtualBox 2.2.2 r46594
Guest OS : Windows XP 32-bit
Host OS : Windows XP 64-bit
Running default network card simulation 'PCnet-FAST III (NAT)'
Using latest drivers
Firewalls turned off

I have googled it and searched the forum. I have tried to install drvers, but it told me that I had the latest software.
Any help is appreciated.

Re: VirtualBox Networking Issue

Posted: 22. May 2009, 22:56
by vbox4me2
Run ipconfig/all in Guest and display results here.

Re: VirtualBox Networking Issue

Posted: 22. May 2009, 23:10
by Sasquatch
Next to the command output, check the VirtualBox FAQ too.

Re: VirtualBox Networking Issue

Posted: 22. May 2009, 23:52
by roboy
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Owner>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : anonymous
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . :

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : AMD PCNET Family Ethernet Adapter (P
CI)
Physical Address. . . . . . . . . : 08-00-27-F8-75-0A
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.0.2.15
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.2.2
DHCP Server . . . . . . . . . . . : 10.0.2.2
DNS Servers . . . . . . . . . . . : 195.162.14.67
Lease Obtained. . . . . . . . . . : Friday 22 May 2009 22:47:30
Lease Expires . . . . . . . . . . : Saturday 23 May 2009 22:47:30

C:\Documents and Settings\Owner>

Re: VirtualBox Networking Issue

Posted: 23. May 2009, 00:28
by Perryg
Can you ping yahoo.com or 209.131.36.159?

Re: VirtualBox Networking Issue

Posted: 23. May 2009, 00:44
by roboy
No.

''Request timed out''

100% loss

Re: VirtualBox Networking Issue

Posted: 23. May 2009, 01:19
by Perryg
With the information I see you should be able to get to the internet. Are you certain that you do not have a firewall issue?
When all things go stupid I usually reinstall the VBox software to make sure that the proper drivers got installed. You can do this by right clicking on the install icon and then left click on run as...admin. When the install program comes up select repair. reboot after the install and then see what happens.

Re: VirtualBox Networking Issue

Posted: 23. May 2009, 10:41
by roboy
Everything turned off, and even though I have an admin account I installed as admin.
Still no internet.

Re: VirtualBox Networking Issue

Posted: 23. May 2009, 11:10
by Sasquatch
Why did you set this instead of the default setting?
DNS Servers . . . . . . . . . . . : 195.162.14.67
Let it pick it up from DHCP. Only set it if you can't get DNS to work on the Guest. If DNS doesn't work on the Guest, it's almost certain that the primary DNS on the Host is failing. Change that one, not your Guest.

Re: VirtualBox Networking Issue

Posted: 23. May 2009, 11:48
by roboy
I got it to work at last!
Here is what we did.

We noted that there where a few packets returning on a request to display a web page. Not zero, but a few. We then suspected a DNS error. In the host OS, we used nslookup to test the DNS, and found to our surprise that the primary DNS did not work. The host OS was running only on the secondary DNS!!! And the VBox installation only provided the primary DNS (????) when configured to obtain DNS server addresses automatically.

So, setting the DNS config to "manual" and the IP of the secondary (working) DNS server, we got it to work!
:!: We didn't change anything from default and was running "obtain ip automatically"