I had two virtual machine running under VirtualBox, both Windows Server 2008 R2.
One configured with DHCP and RRAS(NAT), another configured to be DNS.
The DHCP-NAT server has two virtual network cards, one NAT to have Internet access, another connected to internal network. I made the NAT one to have static IP, and the internal network one to get IP from DHCP. I configured NAT first and then DHCP. The DHCP setup I had is as followed:
Domain : localdomain.local DNS : 192.168.1.12 - 10.0.2.2 > This is the IP address I reserved for the will-be DNS > This is the DNS server for VirtualBox's NAT IP Pool: 192.168.1.1 - 192.168.1.100
I haven't had a chance to configure DNS server, but I cannot get an IP from DHCP. The virtual network cards of DNS server is on the internal network of VirtualBox as well.
I think the problem could've been in DHCP server's network configuration or my IP pool. Please help!