Setting up a Windows testing lab with VirtualBox in Ubuntu

Discussions related to using VirtualBox on Linux hosts.
Post Reply
JCCyC
Posts: 7
Joined: 16. Mar 2009, 23:23

Setting up a Windows testing lab with VirtualBox in Ubuntu

Post by JCCyC »

I learned how to clone VirtualBox VMs with this article: http://srackham.wordpress.com/cloning-a ... -machines/

OK, in the newest version of VirtualBox the VBoxManage command is clonehd rather than clonevdi, but it works fine. Now I have two Windows XPs running. The problem is:

Each of the VMs seems to have its own private little LAN with the host machine. Both of them have IP 10.0.2.15, and see the host as 10.0.2.2.

I'd like to have both in the same LAN, getting different IPs and being able to see one another. How can I do that?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Setting up a Windows testing lab with VirtualBox in Ubuntu

Post by Perryg »

Switch to Bridged instead of NAT.
JCCyC
Posts: 7
Joined: 16. Mar 2009, 23:23

Re: Setting up a Windows testing lab with VirtualBox in Ubuntu

Post by JCCyC »

Perryg wrote:Switch to Bridged instead of NAT.
I can't go into the real network with these VMs, I need a virtual network in which they all see each other but exists only inside the host.

I almost did it now, with Host-Only networking. VirtualBox's DHCP server gives each an address, I set up gateway and DNS in each VM, they all access the internet via my host's NAT, they have different IPs but they still can't see each other...

Wait, they see each other via ARP. I guess it's only a firewall issue in WIndows XP now. Gonna test more.

EDIT: It was. I just enabled PING between the VMs. Sweet!
sowmithry
Posts: 4
Joined: 25. Jun 2009, 21:48
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: Windows XP

Re: Setting up a Windows testing lab with VirtualBox in Ubuntu

Post by sowmithry »

Hi,
Please provide the step by step process for configuring "Host-only Networking".
Currently I am using:
Virtualbox 2.0.4
Host OS: Ubuntu 8.10
Guest OS: Windows XP
Post Reply