VirtualBox Networking

This is for discussing general topics about how to use VirtualBox.
Post Reply
aceman5405
Posts: 1
Joined: 26. Apr 2013, 20:49

VirtualBox Networking

Post by aceman5405 »

Hi,

I have lab environment I'm trying to setup in VB, several MS server 2008 VM's and I want to make one a DHCP server. I'm doing this from work and we are on a domain with an existing DHCP, DNS server so I dont want to conflict with that. I set my VM network adapter to internal but then I try setting up DHCP it requires a DNS server, which I cant give because of no internet access.

I'm curious of what the correct network adapter mode I should use to make my VM a DHCP and DNS server without conflicting with my companies domain?
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: VirtualBox Networking

Post by noteirak »

Create two network interfaces for your DNS server :
- One as internal on which you will set DNS & DHCP service (these two can be configured on a per-interface/ip basis, see the properties)
- One as NAT or Bridged that will be your "exit" for anything else.

More details on Perryg's tutorial which is normally for domain setup but works exactly the same way.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply