Help on building a VB network

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Kosta
Posts: 3
Joined: 27. Apr 2014, 22:02

Help on building a VB network

Post by Kosta »

Hello,

I am new here and somewhat new to VB and VMs. Last couple of weeks I have been trying different stuff and reading about VB.

Now, I have taken myself a task to build following:

- 3 Server VMs based on WinSrv2008R2, one for Domain Controller, one RDSH and one File Server
- 2 Clients based on Win7Prof/Ent
- the Virtualbox-Networking which is basically isolated from the rest of my network, BUT still has internet access

I am also kinda new to networking, so sorry if I ask stupid questions.

In a real world, I would set up the DC, set it to fixed IP, set the DHCP and DNS and be on my merry way. That is, if DC is still in the same network. If I wanted DC to be on a different network, I guess I would put it in a different subnet or VLAN?

What I want is following:
- I have a home network setup with the DHCP, DNS and all that, working normally - I want to keep that, without having any conflicts!
- now I want to set up a VM with a DC, which should but act as DC only for the Virtualbox-Network, not outside the Virtualbox (I guess the best setting would be intnet, to isolate the network), but:
- I also want a DC getting internet connection, so I can have internet on my whole network

Ultimately, my problem is, how to set up a DC on my existing home network, which has a SOHO router running in a typical 192.168.1.1, so that the DC only "acts" for the Virtualbox-Network, but still has internet and also provides DHCP and DNS for the VB-Network? What network card(s) do I need to enable and what IP? I tried couple of things but never could wrap my head around it...

Thanks a lot!
Kosta
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Help on building a VB network

Post by Perryg »

The easiest and for most the best way to use and test Windows domains in VirtualBox
Setup Windows Domain in VirtualBox
Kosta
Posts: 3
Joined: 27. Apr 2014, 22:02

Re: Help on building a VB network

Post by Kosta »

Isn't there a way to do it without ics? VB offers so many options, I was under impression it must be possible by maybe using two adapters or something...?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Help on building a VB network

Post by Perryg »

Sure there is but this is by far the best.

Especially if you want it to be a functional Domain without going to the trouble of setting up a multi-homed network.
But that being said the only thing that VirtualBox really does is provide Virtual Hardware. Setup and config. are out of the scope.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Help on building a VB network

Post by BillG »

And of course you can run a domain on an internal network without ICS/NAT if you don't need Internet access for the domain machines, but most people are not interested in doing that.

Even with physical machines you need NAT to run a useful domain. The domain runs on a private network and needs NAT for Internet access. There are a few other things you need to do to get a domain running successfully with Internet access (mainly to do with DNS) whether you use physical or virtual machines. These are Windows domain questions, not VirtualBox ones.
Bill
Kosta
Posts: 3
Joined: 27. Apr 2014, 22:02

Re: Help on building a VB network

Post by Kosta »

I took a shot at pfSense today evening, and I must say, thank you for the great advice! Probably the exact thing I was looking for! Very nice virtual router/fw.
solly
Posts: 1
Joined: 17. Jan 2014, 10:05

Re: Help on building a VB network

Post by solly »

Perryg wrote:The easiest and for most the best way to use and test Windows domains in VirtualBox
thanks. I am looking for this.
Post Reply