DHCP and Internal Networking

This is for discussing general topics about how to use VirtualBox.
Post Reply
akjuturub04
Posts: 9
Joined: 19. Jun 2013, 23:14

DHCP and Internal Networking

Post by akjuturub04 »

Hi,

I am using internal network for my virtual machines, and I would like to configure dhcp on internal networks. Especially, I want to configure the DHCP such that particular ip address are reserved for particular vms, while the rest of the vms get ips dynamically. "8.35 VBoxManage dhcpserver" in user manual is not detailed enough. Any pointers on this?

My Setup information:
Virtual box and API version: Version 4.2.12
Host OS: Windows 7 64
VM: Windows 7 64

Thanks,
Amruth Kumar Juturu.
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 and Internal Networking

Post by mpack »

"VBoxManage dhcpserver" seems straightforward, what further detail would you need? I would use this command to set the IP range used by guests configured by DHCP, while ensuring that the netmask also includes IPs you assign manually. If all guests are connected to the same internal network then they should be able to see each other.
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: DHCP and Internal Networking

Post by BillG »

If you don't like the way the built-in DHCP server works (for whatever reason), you can always run your own DHCP server in one of your vms and configure it in any way you choose. This is a good idea if you are running virtualization to test a configuration for a physical network.
Bill
Post Reply