Guest network interaction with host network (Domain)

Discussions about using Windows guests in VirtualBox.
Post Reply
mario.tolj
Posts: 1
Joined: 23. Feb 2010, 15:50
Primary OS: Mandriva
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows linux

Guest network interaction with host network (Domain)

Post by mario.tolj »

Hello,

I'm sorry if my english isn't very well :)

I want to do some test with a (DC) Domain Controler on a Windows2008Server virtual machine, with 1 virtual machine client to connect to this ActiveDirectory.

But I don't want this DC to have any interaction with my physical network (just the internet access through the host).

I think i have to do this on an other network, By configure the virtual machines with "NAT" ?

If I do this, my virtual machine took IP address like this : 10.0.2.x

Physical network of my company : 192.168.1.x

Is it OK like this ? I could install my DC with no interaction with the company network (except internet connection through the host) ?

Thanks.
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: Guest network interaction with host network (Domain)

Post by BillG »

That won't really work with AD. AD depends on DNS, and using the NAT setting will not give you the correct DNS settings. I would recommend that you put your DC in the internal network and give it a static IP in its own IP subnet. If you want the guest to get its network config automatially you will need to install DHCP on this server (not really worth doing for one guest). Configure the guest manually with a static IP in the same IP subnet as the server and set it to use the server's IP for DNS. This is necessary for the client to find directory information such as netlogon.
Bill
Post Reply