Home > technical > VirtualBox Network with XP Guest in Ubuntu Host

VirtualBox Network with XP Guest in Ubuntu Host

October 17th, 2009 Leave a comment Go to comments
This tip refers to VirtualBox 3.0.8 and Ubuntu 9.04.

If you’re anything like me, you might have need of a WinXP install within Ubuntu. In my case, it’s convenient to have a VirtualBox of Windows running for immediate testing of websites (as I build them) so that I can test the sites functionality and appearance within Internet Explorer.

Unfortunately, the default settings of a guest WinXP install don’t allow for networking “out of the box”. But it’s an easy fix!

First, make sure the virtual machine is not already running. Turn it off if it is.

Next, highlight the WinXP virtual machine within the Sun VirtualBox main screen. Click Settings. Select Network. Change the Adapter Type to Intel PRO/1000 T Server (bunchanumbers) then OK and start the virtual machine.

When you boot into the Windows guest, the network should now work.

Share and Enjoy:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  1. Jim
    October 18th, 2009 at 12:39 | #1

    You can’t run it through wine, or does it not always show correctly?

    Please don’t tell me you’re doing it for IE 5.5 compatibility. *shudders*

  2. admin
    October 18th, 2009 at 12:57 | #2

    Wine has it’s uses but I would prefer to run it inside a native Windows. The VBox also affords me the added benefit of testing my Java apps with a Windows-only JRE.

    As for IE testing, I don’t even know what the latest version of IE is, that’s how often I use it :-P Whichever one you can find on the latest WinXP with the latest service packs.

  3. Eugene Johnson
    December 7th, 2009 at 11:28 | #3

    Thanks n3wt0n! I tried Sun VM for a few days and decided I liked it better than VMWare Server and so I converted my M$ VMWare VM to a Sun VM and couldn’t get the networking fixed until I read your post.

  4. stanley82
    June 1st, 2010 at 05:43 | #4

    That was great help. Now when I command ipconfig/all in a terminal I get more than the heading so I can get the MAC for a license. I’m using ubuntu 10-4 with XP in VB. Many thanks Ian.

    In case google finds this I’ll repeat your info.
    First, make sure the virtual machine is not already running. Turn it off if it is.

    Next, highlight the WinXP virtual machine within the Sun VirtualBox main screen. Click Settings. Select Network. Change the Adapter Type to Intel PRO/1000 T Server (bunchanumbers) then OK and start the virtual machine.

  1. No trackbacks yet.

 

Switch to our mobile site