Page 1 of 1
Isolating three VM guests, but give internet
Posted: 7. Oct 2013, 17:21
by Tory
I'm trying to set up a testing environment for servers in Virtualbox. I'll run DHCP, DNS, AD all inside virtualbox. This environment has to be completely isolated from production not to interrupt, but to have internet access. Our LAN is single subnet 10.0.1.0 and has gateway set up to internet.
HOw do I accomplish this?
Re: Isolating three VM guests, but give internet
Posted: 7. Oct 2013, 18:10
by martyscholes
Tory wrote:Our LAN is single subnet
That's going to be the challenge. If you want them separate, then they need to be on separate LANs (or VLANs) with a router connecting each LAN to the internet.
Re: Isolating three VM guests, but give internet
Posted: 7. Oct 2013, 19:23
by Perryg
The easiest and for most the best way to use and test Windows domains in VirtualBox
Setup Windows Domain in VirtualBox
Re: Isolating three VM guests, but give internet
Posted: 7. Oct 2013, 20:28
by Tory
actually I'm testing with mixed environment with Ubuntu and Windows AD.
So there will be one Windows AD server, one Windows 7, one Ubuntu. When I installed Ubuntu, it picks up network type as 'NAT' and Network card selected as one installed on host, then assigns IP address automatically 10.0.2.xxx(I don't know where this IP is coming, must be somewhere from VirtualBox internally). Say I want to set up an isolated network, if then, what type of network card do I choose 'internal network'? Also, where is DHCP server running and how IP address is distributed to this isoalted network? If it's isolated, it may not get internet connection through our gateway in our LAN. How can I give only internet connection to this isolated network? I read the second reply, it seems like I need to set up a host(??) as a router (ICS) type somewhere? Host is Windows 7
Re: Isolating three VM guests, but give internet
Posted: 7. Oct 2013, 20:39
by Perryg
There is no real challenge if you know how to do domains in Windows. Adding Linux is not that big an issue either, you just need to add the proper package to allow windows domain access. As for the host routing that is not at all what the link suggests. You use another guest (stripped down XP or pFsence) to provide the simulated routing. Use VBox NAT on the WAN side and Internal on the LAN side. Adapters are set by default when you install the guest and there is no need to change them.
Hint: all DHCP, DNS, Etc. comes from your AD. just assign a different private address to the test LAN.