virtualbox windows server domain and DNS server and dhcp configuration

Hi Experts,
I new to virtualization.  I'm trying to setup a testing/learning environment with a Windows server and a few win 7 VM.  I do not want this virtual network to have access to the host or the internet for security reasons, so I'm trying to set this up as an internal network.  My questions are:

1. I'm confused whether this network is configured under preferences>network (there isn't an option for internal networks there) or in the network adapter settings in the virtual server

2. I want to set up the virtual server with DNS and have the built-in DHCP server manage the network but can't get the syntax correct on the cmd line.  I'm not sure if I'm trying to create a network name here or use the one from the virtual server's network adapter options.  

Any suggestions?

Thank you in advance!
Skip SleeperIT ManagerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
1. You have got three options Host only, NAT or Bridged.

I would select NAT, but do not use a gateway (default gateway IP Address) and packets will never reach the internet.

2. DHCP in the Virtual Server, or from Virtualbox ?
Skip SleeperIT ManagerAuthor Commented:

1. What is the Internal Network option used for then?  Will DNS install OK without the gateway?

2. I thought DHCP had to come from Vbox to simulate a router on the virtual network.  Is this the case?


Also- I can't seem to find out how points are awarded in the questions area- do I do that at the end like it the previous version?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
1. A default gateway is just used to send network packets to the next router hop, if there is no default gateway, internet packets will never get there. DNS is a database held locally for local resolution.

2. Not necessarily, you can host DHCP on any Linux, Windows OS.

Is this WIndows OS you will be hosting in your lab.

When you close the question, (By Accepting a Solution) you get to award points and a grade.
Skip SleeperIT ManagerAuthor Commented:
I'll be using MS server 2003 as the virtual server.  So will its DNS role install correctly without the gateway?  With this solution would I assign static ip to the VMs?  Is DHCP native to the server?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Windows Server 2003, has DNS and DHCP features you can install, it's best if the server handles DNS and DHCP.

No need to define a gateway, default gateway for Internet!

In fact you can use DHCP to issue a "dummy" default gateway to VMs, they will not be able to access the internet.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.