DHCP server: is it necessary to reboot the VM?
Posted: 17. Oct 2012, 19:14
I want to use the DHCP server included in VirtualBox.
I installed it executing and so I edited the with the following lines , where eth0 is the active ethernet interface.
Then, if I use and then , it doesn't work.
I'm forced to reboot in order to make the dhcp configuration.
Is it right?
I installed it executing
Code: Select all
VBoxManage dhcpserver add --netname intnet1 --ip 192.168.1.10 --netmask 255.255.255.0 --lowerip 192.168.1.50 --upperip 192.168.1.100 --enableCode: Select all
/etc/network/interfacesCode: Select all
auto eth0
iface eth0 inet dhcpThen, if I use
Code: Select all
ifdown eth0Code: Select all
ifup eth0I'm forced to reboot in order to make the dhcp configuration.
Is it right?