VirtualBox Networking Issue

Discussions related to using VirtualBox on Windows hosts.
Post Reply
roboy
Posts: 5
Joined: 22. May 2009, 22:28
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

VirtualBox Networking Issue

Post 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.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: VirtualBox Networking Issue

Post by vbox4me2 »

Run ipconfig/all in Guest and display results here.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: VirtualBox Networking Issue

Post by Sasquatch »

Next to the command output, check the VirtualBox FAQ too.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
roboy
Posts: 5
Joined: 22. May 2009, 22:28
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

Re: VirtualBox Networking Issue

Post 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>
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 Networking Issue

Post by Perryg »

Can you ping yahoo.com or 209.131.36.159?
roboy
Posts: 5
Joined: 22. May 2009, 22:28
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

Re: VirtualBox Networking Issue

Post by roboy »

No.

''Request timed out''

100% loss
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 Networking Issue

Post 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.
roboy
Posts: 5
Joined: 22. May 2009, 22:28
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

Re: VirtualBox Networking Issue

Post by roboy »

Everything turned off, and even though I have an admin account I installed as admin.
Still no internet.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: VirtualBox Networking Issue

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
roboy
Posts: 5
Joined: 22. May 2009, 22:28
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

Re: VirtualBox Networking Issue

Post 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"
Post Reply