VirtualBox: Windows XP Guest in Windows XP Host

What if you in a travel & hardly needs to get work in a networking situation? A virtual machine (VM) installed in your system can do that. This situation also affected when you only have 1 PC but you must have at least 2 PC to get work, just like me as I have a laptop but need 2nd PC in order to support my jobs. Rather than spending money to buying extra PC/laptop, I considered to using a VM over my laptop. It’s more valuable, practice & easy to carry as you will have 2 working PC in a single system. Think about it!

The needs of 2 PC’s using Windows XP – for example – can help a programmer to debug their windows client/server based application which using a networking utilization. Why I choose VirtualBox? It’s as simply as that it’s free, lightweight & robust. This article is my continued part of my first experience about VirtualBox behavior in DHCP server & comparison between VirtualBox & QEMU. As seen on the title, I used both of Windows XP as the host & guest OS in an interoperability of networking (a static address LAN, indeed). I’m planning in the next session using Linux as the host OS. May this document brings more benefit.

First of all, download the latest VirtualBox application from the website. I used VirtualBox 1.4.0 to did this experience. Okay, let assumed that you have already a Windows XP system fresh installed as the guest OS. A good start on how to installing it you may find on my previous article. Now is the time to configure the networking in both systems. Open the VM settings, click on a Network session. On the Host Interface group box, click the green plus folder to create the virtual host interface network.



As automatically, the VM will create the default network adapter named by VirtualBox Host Interface 1 on the host OS.



Assigned the IP address with a static one. For example, you may configured it with 192.168.1.1 & default subnet mask to 255.255.255.0. Note that this configuration becomes the host OS IP address. Next, press OK button to activating the changes.



Then, start the guest OS. For more resources, install the VBoxAddition library comes within VirtualBox setup. It would bring additional device driver e.g: configurable display adapter resolution & mouse integrating between hosts & guest OS.



Set the guest OS IP address with 192.168.1.11 & default subnet mask to 255.255.255.0. Note that this configuration becomes the guest OS IP address. Now, back to host OS, run DOS command from Start Menu :: Run & ping to the guest OS. It should now responding.



Make sure that the guest OS also brings the same reply with pinging to the host OS.



That’s the sign that your both host & guest systems are being operating well. Now, it’s up to you, whether you like to create a map network drive or something else to support your own jobs.



It’s done. Now you have fully 2 Windows systems runs with active networking right on a single computer.

Labels:


PS: If you've benefit from this blog,
you can support it by making a small contribution.

Enter your email address to receive feed update from this blog:

Post a Comment

 

  1. Anonymous Anonymous said,

    Sunday, September 23, 2007 3:59:00 AM

    Thank you very much for this nice and helpful How To!
    Mag

  2. Blogger carboncow said,

    Sunday, May 11, 2008 2:12:00 AM

    I was hoping your write up would be my solution to what I guessed was my lack of understanding, but I still have an issue.

    I have setup the HOST IP/Mask and the GUEST IP/MASK as stated but I cannot "pink" the GUEST. the LAN adapter connection shows that no packets are coming in.

    Are you setting up the static IP on a 2nd adapter on the GUEST or the original LAN adapter? I'm wondering if that has any effect.

    Additionally, I am setting up gateways on these machines too as the host is (obviously) connected to the internet via my router/gateway. Is this effecting it as I'm assuming the GUEST is going to need this info to connect to the net.

    Thanks.
    Shawn

    Please email at carboncow@gmail.com if I don't get an automated response.

  3. Blogger Eko Wahyudiharto said,

    Monday, May 12, 2008 9:31:00 AM

    @robert: What is actually your VirtualBox version is? The version 1.4.x is quite well to make a networking environment since there was TUN/TAP adapter built-in.

    Basically, you have to enabling the VirtualBox host network adapter interface. After you do so, then set the static IP/mask on both VirtualBox adapter interface (Host) & real LAN adapter for the guest OS.

    There was no need to set the real LAN adapter on host OS. That's it.

  4. Blogger Jerin said,

    Thursday, July 31, 2008 1:33:00 PM

    This comment has been removed by the author.

  5. Blogger Jerin said,

    Thursday, July 31, 2008 2:13:00 PM

    Hi,
    My Virtual Box version is 1.6.2.Both my Guest and Host OS are Windows 2003.
    Followed the steps what you suggested, but still not able to communicate between Guest and host.

    Don't know where i'm going wrong.Struggling it with couple of days.

    If you have any idea, please let me know..

    Thanks in Advance.

    Jerin
    (jerinvjose@gmail.com)

  6. Anonymous Anonymous said,

    Thursday, August 28, 2008 10:18:00 AM

    Hello, Pak Eko.

    I already followed your guide to enable networking on my XP client on Vista host.

    my XP client can ping the host. But, Vista cannot ping back to XP. And so, I still can't connect my XP client to the internet.

    what should I do to make it work?

    FYI, i'm using VirtualBox 1.6.2.

    Thanx.

  7. Blogger Eko Wahyudiharto said,

    Thursday, August 28, 2008 10:44:00 AM

    @ulimhd & @jerry : Just make sure that your both host & client doesn't have any firewall enabled.

  8. Anonymous Anonymous said,

    Thursday, August 28, 2008 2:55:00 PM

    Pak Eko,

    Thank you for the reply.

    I already solve my problem.

    Apparently, I have to change my setting to NAT, not "Host Interface" as stated in your article.

    After changing to NAT, and set my XP client IP to DHCP, I manage to connect my XP client to internet.

    This article is a big help for me to start. Makasih banyak, Pak!

  9. Anonymous Anonymous said,

    Wednesday, January 28, 2009 6:22:00 PM

    Thanks. It works. Please can you suggest how to forward a request from outside to the guest xp - I want to access guest xp using мтс from outside.

  10. Anonymous alex said,

    Tuesday, September 15, 2009 11:19:00 AM

    good idea, how to connect guest to word /LAN ?

  11. Blogger Unknown said,

    Saturday, June 19, 2010 5:48:00 PM

    Hello.. I have just a little question. Can i use wireless network in virtualbox? My Host is windows xp and guest is windows xp also.

    thank you in advance. I'll wait for the reply.

  12. Blogger danielmark said,

    Thursday, March 17, 2011 12:49:00 PM

    This is really good and very informative post. Really very helpful.
    Windows VPS Hosting

  13. Blogger Yanto said,

    Tuesday, July 19, 2011 5:42:00 PM

    Hi,
    I am using Virtualbox 3.2.6, can this apply to Win95 guest? so far I am using NAT, no Host Interface in my Virtualbox, but still can't connect to XP host. Any suggestion?
    TIA

  14. Blogger Eko Wahyudiharto said,

    Wednesday, July 20, 2011 10:29:00 AM

    Probably, your XP host blocked by the firewall...

  15. Blogger Yanto said,

    Wednesday, July 20, 2011 11:28:00 AM

    No firewall activation, I disable it, can't ping to Win95 guest (request time out). Have you experienced in using NAT for Virtualbox network setting? Thanks

  16. Blogger Eko Wahyudiharto said,

    Wednesday, July 20, 2011 1:27:00 PM

    Yanto,
    Ok, so you have ping failed from XP (host) to W95 (guest). So:
    * How about ping localhost from W95?
    * How about from W95 to XP?

    I don't have any clue yet, but what version of Winsock on your W95? Have you try to upgrade it (http://support.microsoft.com/kb/184242)?

    Or, how about to replace W95 to W98?

    Need to read your answer soon... :)

  17. Blogger Yanto said,

    Wednesday, July 20, 2011 4:10:00 PM

    Also can't ping from Win95 to XP, I need Win95 so will not use Win98
    Thanks anyway for your kind help

  18. Blogger Yanto said,

    Wednesday, July 20, 2011 8:50:00 PM

    I also create new guest ie Win98, also have the same problem. when I use NAT, no new connection added in network folder like in your article. Any suggestion?
    TIA

  19. Blogger Eko Wahyudiharto said,

    Wednesday, July 20, 2011 10:48:00 PM

    I believe there must be a way. How about ping localhost from guest OS?

  20. Blogger Yanto said,

    Monday, August 01, 2011 9:17:00 PM

    It seems uncomplete virtualbox installation, so I can't get Virtualbox host-only network, anyway what NIC card do you use in your XP-guest OS?

  21. Blogger Merri Macartney said,

    Saturday, March 06, 2021 2:39:00 PM

    Home Cleaning Services Near Me
    ===========================
    Cleangic | Home Cleaning Services Near Me | At Home Parlour Services Near Me
    Cleangic provides Commercial Cleaning, Residential Cleaning services in Delhi, PG/Hostel Cleaning, Sanitizing, Room Cleaning, Birthday Decoration, Best Ac Repair, Salon Services and Women Home Parlour Services at your home.
    We are Providing these Below services with Location wise in affordable price:
    Home Cleaning Services in Laxmi nagar Delhi Ncr
    Best Commercial Cleaning service in Laxmi nagar Delhi
    Best Residential Cleaning service in Laxmi nagar Delhi
    Best PG/Hostel Cleaning service in Laxmi nagar Delhi
    Best Sanitizing Service in Laxmi nagar Delhi
    Best Celebration Specials Services in Laxmi nagar Delhi

  22. Blogger Unknown said,

    Thursday, March 18, 2021 9:15:00 PM

    Open the Tubi program in your Samsung Television. 2. Navigate into the exact top of this Tubi home screen, and soon you visit Settings, Search, and Signal In icons. 3. Select Register. You may now find an activation code onto your own television screen. 4. On a computer system or cell browser, head to tubitv.com/activate
    tubi.tv/activate | tubi.tv/activate enter code | tubi.tv/activate

  23. Blogger Customer Support | Live Chat Service said,

    Thursday, April 22, 2021 4:59:00 PM

    What are the steps to fix Canon printer not printing color?

    If you are struggling with Canon Printer not Printing in Color, then you can follow the steps mentioned here. Firstly, make sure to update the printer drivers on the system. If you haven’t updated the drivers, you will face the issue. You can download the drivers easily from the official website. Then check if you have enough ink in the cartridge or not. You can turn it off and then restart the printer to get the issue fixed.

    Also Read:-

    HP Printer not Printing in Color

  24. Anonymous Anonymous said,

    Monday, October 18, 2021 5:55:00 PM

    good blog , thanks dear
    best app explainer video company

  25. Blogger digital branding company in India said,

    Tuesday, October 19, 2021 2:12:00 PM

    Get a new information so visit this updates sites- recruitment brochure
    brochure design services
    flyer design services
    architecture design company
    socialagency
    social marketing services
    graphic design magazine
    new tbs logo
    graphic design events

    american graphic design
    gsource
    cad drafting services
    brochure design services
    animation studios in california
    stopmotion program
    corporate video
    2d animation services
    2d and 3d animation
    corporate videos
    best corporate videos
    small animation studios
    advertising companies in dubai
    advertising agencies in dubai
    advertising agency in dubai
    advertising company
    market penetration
    email marketing dubai Best advertising agency
    digital branding company in India
    outsource companies in dubai
    web design company in dubai
    stationery design
    profile design

Post a Comment

Leave comments here...