No networking in XP guests with Vbox 2.2

Discussions about using Windows guests in VirtualBox.

No networking in XP guests with Vbox 2.2

Postby markporter » 9. Apr 2009, 22:47

I just upgraded to Vbox 2.2 and my XP guests can no loger get to the network. They aren't able to get an IP from DHCP. Linux guests are fine. I tried to set up bridged networking but it shows no host adapters in the drop down. Vista 64 Host. Any Ideas?

---- Update -----
Per Sasquatch's advice I re-ran the vbox 2.2 installer and selected "repair". After rebooting the host I was able to see my physical network card and now Bridged Networking is working on my XP guests. Apparently NAT-DHCP problems are a known bug in 2.2 with Windows Host + Windows Guest (see below for the link). Setting a static IP in your guest may help but bridged networking solved my problem.
Last edited by markporter on 10. Apr 2009, 16:15, edited 2 times in total.
markporter
 
Posts: 2
Joined: 9. Apr 2009, 16:26
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: ubuntu 8.10

Re: No networking in XP guests with Vbox 2.2

Postby Sasquatch » 9. Apr 2009, 23:02

HIF needs an installer repair to get it working. NAT has a few issues too, but if you don't use it, don't bother with it.
Read the Forum Posting Guide before opening a topic.
VB FAQ: Check this before asking questions.
User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions + Xorg config
Howto: Use Shared Folders
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Sasquatch
Site Moderator
 
Posts: 11029
Joined: 17. Mar 2008, 13:41
Location: Netherlands
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows XP, Linux

Re: No networking in XP guests with Vbox 2.2

Postby prozema » 10. Apr 2009, 01:58

I do use NAT and I am also having the problem with XP not being able to get a DHCP address. What is HIF and how do I go about getting NAT working again? Help would be greatly appreciated :)
prozema
 
Posts: 1
Joined: 8. Apr 2009, 16:44
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: Ubuntu, Windows, MPRAS

Re: No networking in XP guests with Vbox 2.2

Postby Sasquatch » 10. Apr 2009, 11:28

There's a bug ticket about NAT not working properly for Windows Guests. It doesn't always happen, as my Linux Host has no issues with Windows Guests and NAT. http://www.virtualbox.org/ticket/3655
Anyway, HIF is now called Bridged, which lets you use your physical interface directly, making your VM a part of the network.
Read the Forum Posting Guide before opening a topic.
VB FAQ: Check this before asking questions.
User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions + Xorg config
Howto: Use Shared Folders
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Sasquatch
Site Moderator
 
Posts: 11029
Joined: 17. Mar 2008, 13:41
Location: Netherlands
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows XP, Linux

Re: No networking in XP guests with Vbox 2.2

Postby markporter » 10. Apr 2009, 16:09

I am guessing that HIF is Host InterFace networking, now called "bridged networking". I was able to get my XP guests back on the network using bridged networking by re-running the 2.2 installer and selecting "repair". After rebooting the host I was able to see the host's physical network card in the network configuration dialog for bridged networking. NAT still doesn't work, but I was only using NAT because it was "simpler" than bridged :?
markporter
 
Posts: 2
Joined: 9. Apr 2009, 16:26
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: ubuntu 8.10

Re: No networking in XP guests with Vbox 2.2

Postby ElQuia » 10. Apr 2009, 16:54

I'm having the same :evil: problem. Host Vista x64, my Linux Guests work perfect with NAT, an old xp does not and a new xp installation in 2.20 either :evil: :evil: :evil:
I did not try yet my x64 Win7 guest, let's hope it works grrrr
Will explore bridged stuff
ElQuia
 
Posts: 69
Joined: 30. May 2008, 23:31

Re: No networking in XP guests with Vbox 2.2

Postby baddeal » 11. Apr 2009, 05:28

Hi,

I had the same problem yesterday, and I tested so many things!!
I heard that Sun fixed the problem but it will be patched only int the next version. :?

Here is two way that I found to resolve the problem:

  • 1. Use Bridged Network:
      In the network options of the virtual card, you must change the card type for bridged one.
      After, you click on the little screwdriver to setup the briged connection.
      You click on the network card that you want to use and it should work.

      Note: using briged connection make your virtual machine visible in your network!
  • 2. Give a static address to your Guest:
      I could say that the DHCP can't have a new ip address.
      So the only way to be able to use NAT is to give it a good address to make it working!

      You must run your windows XP guest and change your network configuration to a static address.
      Here is the address that I tryed and it worked (Found in the ticket 2405):
        IP Address: 10.0.2.15
        Subnet Mask 255.255.255.0
        Default Gateway: 10.0.2.2
        DNS Server: 10.0.2.3
      Note: I have tested this solution only 5 minutes... hope that the problem will not come again!

Hope that this post helped you all! :D
baddeal
 
Posts: 1
Joined: 11. Apr 2009, 05:08
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: Windows XP SP3, Windows XP SP1, Windows 2000, Windows 98,DOS 6.22, Ubuntu

Re: No networking in XP guests with Vbox 2.2

Postby HughJorgan » 11. Apr 2009, 10:52

baddeal - thanks for your very helpful post. It solved similar problems for me.

best regards

Hugh
HughJorgan
 
Posts: 11
Joined: 5. Jun 2007, 23:30

Re: No networking in XP guests with Vbox 2.2

Postby Virtual-winxp » 19. Apr 2009, 23:00

Hello All,

Recently upgraded my virtual box to version 2.2. Since then i am facing issue with NetWork connectivity. I understand that it is a bug in version 2.2 and a fix was identified which is expected to be available only after the next release. Meanwhile i tried the workarounds shown in this post and from the problem ticket.
1. As per the Problem Ticket comments, i replaced the VBoxDD.dll file with the one given in the ticket. However it gave me an error while initialization. Does somebody have 64-bit version of the file?
2. Changed the network type from NAT to Bridge Network, but none of the adapters listed in the drop down box are not compatible. Do i need to install a special driver for establishing the bridge connectivity? If so, where do i get the driver?
3. I understand by changing the ip settings to static and assigning some static values to ip and gateway, this can be resolved, can anybody throw some light on this as exactly how it has to be done on a Windows-Vista 64-bit host and windows-xp sp3 guest.

Please help me. Thanks in advance.

Regards,
Viswanadh
Virtual-winxp
 
Posts: 1
Joined: 19. Apr 2009, 22:33
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Windows XP SP3


Return to Windows Guests

Who is online

Users browsing this forum: No registered users and 3 guests