Page 1 of 1

Setting up a Windows testing lab with VirtualBox in Ubuntu

Posted: 25. Jun 2009, 00:28
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?

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

Posted: 25. Jun 2009, 00:43
by Perryg
Switch to Bridged instead of NAT.

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

Posted: 25. Jun 2009, 01:04
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!

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

Posted: 25. Jun 2009, 22:11
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