Page 1 of 1

Using VirutalBox as a domain server

Posted: 29. Jun 2009, 23:10
by Entegy
For my own uses and testing purpose, I've been trying to set up a domain between my virtual machines. The Domain controller is running Server 2008 R2. However, the included documentation with VirtualBox doesn't help me very much in choosing network configurations. I don't care if this domain is not accessible from "real" machines, as long as it's accessible by other VirtualBox VMs on the same machine.

At the very least, with this requisites, can someone help me choose what network settings my VMs should have?

The host machine is running Windows 7 64-bit.

Re: Using VirutalBox as a domain server

Posted: 30. Jun 2009, 00:24
by Perryg
While you can achieve this is a few different ways, I set mine up using Bridged to properly emulate a real network. Which has the added benefit of being the easiest as well if you have a router.

Re: Using VirutalBox as a domain server

Posted: 30. Jun 2009, 01:44
by Entegy
I've had success setting up using host-only right now. Are you telling me that using Bridged will put the VMs' IPs on my router's network? And will I simply have to reconfigure the DNS address on the "workstations" to the "server's" new IP from the router?

Re: Using VirutalBox as a domain server

Posted: 30. Jun 2009, 01:50
by baf
Correct. Downside: wont work between guest/host unless network is connected. Not so good if it is a notebook.

Re: Using VirutalBox as a domain server

Posted: 30. Jun 2009, 01:53
by Entegy
What you mean by that is, say this machine was a laptop (but it's a desktop I built :D) and I wasn't connected to that particular router, the domain would fail, right? I do have a router that all the computers in my house connect to, so no computer is connected directly to the modem.

Re: Using VirutalBox as a domain server

Posted: 30. Jun 2009, 04:54
by baf
You understood correctly. If you had been using a notebook then I would have suggested using two network cards in the guest, one "host only" and one nat.

Re: Using VirutalBox as a domain server

Posted: 30. Jun 2009, 12:33
by korona
Internal networking should work for you. If you want the VMs to be able to connect to the internet, setup a router-VM that connects your internal network to a NAT/Bridged network.

Re: Using VirutalBox as a domain server

Posted: 30. Jun 2009, 19:13
by Entegy
Bridged is working wonders for me. :)

But now I have another question. On my computer, I can't seem to run more than 2 virtual machines at a time. If I turn on a third, VirtualBox will freeze up soon after and get stuck in memory until I restart the computer. Any ideas?

CPU: Q6600 @ 3.1Hz with virtualization on.
RAM: 8GB DDR2
OS: Windows 7 RC x64
GPU: GTX 260 Core 216 896MB

My thought it has something to do with CPU virutalization features, as I know I'm not hitting my RAM/GPU limits.