how to make a simple active directory lab

Discussions related to using VirtualBox on Windows hosts.
Post Reply
jpcapobianco
Posts: 2
Joined: 22. Aug 2015, 15:09

how to make a simple active directory lab

Post by jpcapobianco »

hi. i'm a new user of virtualbox. i would like to make a simple lab to use active directory on my pc to study a microsoft exam.

i have installed two virtual machine one with XP and one with WINDOWS SERVER 2008 R2.

i don't understand the network feature in VB. i would like to create a network where the two vm can ping each other.

i've searched on the internet a tutorial but i don't find anything usefull.

i've read that i need to set the NETWORK as HOST ONLY, but if i set this type of network and i set a static address on the two virtual machine the vm don't see each other.

can you help me ? where can i find a simple tutorial to realize this lab ?

thanks
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: how to make a simple active directory lab

Post by mpack »

The primary purpose of "Host-only" is to let a VM talk to the host.

If you really only need communications between two VMs (ie. no host, no internet) then local networking would be appropriate.

The basic difference between the networking options is who is allowed to participate. About the only mode you can't easily use is NAT.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: how to make a simple active directory lab

Post by scottgus1 »

by "local" networking, I think Mpack probably means "internal" networking, which is a network channel just between the guests that are connected to it, and is not connected to the host or the internet. See section 3.8 and 6 of the manual.

BTW, Windows has been defaulting to not allow Pings for some time, check that too if you want to ping.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: how to make a simple active directory lab

Post by mpack »

Sorry yes, that was a typo. "Internal networking" was the intended phrase.

And just to clarify the statement about pings: Vista and later default to not allowing an external ping (ICMP) to get through the PC firewall. This is to prevent "Wargames" style address collection by spammers. Windows now requires that you explicitly enable this feature if you want it.
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: how to make a simple active directory lab

Post by BillG »

You probably won't find a tutorial for doing this on VirtualBox, but if you set both vms to use an internal network as suggested, the setup will be exactly the same as setting it up with two physical machines plugged into a hub/switch, and you should find a tutorial for that.

If you want to give the domain Internet access it gets a bit more complicated but is still almost identical to the setup on physical machines and networks.
Bill
Post Reply