Hello
I am attending a course about Windows Servers, and since I don't have equipment I have been testing with virtual machines.
So far I have been able to perform without problems using Virtual Box for DFS, DNS, and the like.
I am trying with DHCP, but I'm having problems to make it work, I guess the VirtualBox DHCP server takes priority over the Guest DHCP server.
This is the configuration I am using at the moment.
1) 2-guess machines with Windows Sever to test mirroring
2) 1-host computer to act as a client for the DHCP/DNS server
3) Host-only networking
Additional Details:
1) Host O.S Windows 10 64-bit
2) VirtualBox version: 5.0.20
3) Extension Pack 5.0.20 r106930
Questions:
1) Can the Guest DHCP server act as DHCP server for the Host computer (just the VirtualBox interface?)
2) Can the Guest DHCP server act as DHCP server for a third guest computer, that will act as a client?
3) Is Host-only the best setup for this?
Bonus question: I want to test TEAM NIC if possible, is there any additonal limitation that I should be aware.
Thanks in advance
Best Regards,
Adolfo Sanchez
DHCP server inside a guest
-
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: DHCP server inside a guest
The guest can do anything on the network which the host can do. Obviously if you have two DHCP servers on one network then that would cause problems.
Look in GUI|Preferences|Network for the host only configuration. It does include a checkbox to enable the DHCP server. Whether you can get the host to use a different DHCP server I don't know, but it sounds questionable. I'd think you'd have better results using two VMs.
Look in GUI|Preferences|Network for the host only configuration. It does include a checkbox to enable the DHCP server. Whether you can get the host to use a different DHCP server I don't know, but it sounds questionable. I'd think you'd have better results using two VMs.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: DHCP server inside a guest
The largest success people have is to use the internal network ( intnet ) to isolate the Windows domain from the local lan. If you require the Internet for your guest/s then you would use an additional guest as a router. Either ICS for Windows or pfsense which works for all types. Trying to use the host in any domain would be considered as multi-homed and cause a lot more work on your part. In any case this is not really a VirtualBox issue but more of a configuration one as long as you select the proper network type.