DHCP on intnet

Discussions related to using VirtualBox on Linux hosts.
Post Reply
droidus2
Posts: 6
Joined: 1. Dec 2021, 21:46

DHCP on intnet

Post by droidus2 »

I have two VMs on my Internal Network, intnet. I stood up a dhcp server as follows:

Code: Select all

/usr/bin/VBoxManage dhcpserver add --netname intnet --ip 10.10.10.1 --netmask 255.255.255.0 --lowerip 10.10.10.1 --upperip 10.10.10.5 --enable
Yet, my VMs are still not pulling an IP address.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: DHCP on intnet

Post by scottgus1 »

droidus2 wrote:--ip 10.10.10.1 ... --lowerip 10.10.10.1
the Virtualbox manual wrote:--server-ip=<address>
The IP address the DHCP server should use

--lower-ip=<address>, --upper-ip=<address>
The IP address range for the DHCP server to manage. This should not include the address
of the DHCP server itself
Looks like a syntax error and an ip address conflict. Try removing the DHCP server with:

VBoxManage dhcpserver remove --network=intnet

then try the command to make the DHCP server again, with appropriate changes.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: DHCP on intnet

Post by scottgus1 »

This topic says, "droidus2, please don't abandon me!"
droidus2
Posts: 6
Joined: 1. Dec 2021, 21:46

Re: DHCP on intnet

Post by droidus2 »

Resolved, thanks. Can be closed.
Post Reply