Reset DHCP IPs assigned by VirtualBox
Posted: 14. Feb 2013, 12:33
I have several groups of VMs that work with each other and with the host through the IPs assigned by VirtualBox DHCP server.
Depending on the order in which these VMs are started they are assigned the IP adresses like this:
192.168.56.101
192.168.56.102
192.168.56.103
That's ok because I know in which order I have to start the VMs so they are assigned the right IP.
When I want to work with a different group of VMs I close the machines of the first group and start the machines of the second group and the IPs assigned are the following:
192.168.56.104
192.168.56.105
192.168.56.106
Is there a way to reset the VirtualBox DHCP server so the IPs assigned start again like this:
192.168.56.101
192.168.56.102
192.168.56.103
I know a solution would be to assign a fixed IP address for each machine, but wouldn't it be possible to do this reset?
Currently what I do is to restart the host or logoff/logon.
Depending on the order in which these VMs are started they are assigned the IP adresses like this:
192.168.56.101
192.168.56.102
192.168.56.103
That's ok because I know in which order I have to start the VMs so they are assigned the right IP.
When I want to work with a different group of VMs I close the machines of the first group and start the machines of the second group and the IPs assigned are the following:
192.168.56.104
192.168.56.105
192.168.56.106
Is there a way to reset the VirtualBox DHCP server so the IPs assigned start again like this:
192.168.56.101
192.168.56.102
192.168.56.103
I know a solution would be to assign a fixed IP address for each machine, but wouldn't it be possible to do this reset?
Currently what I do is to restart the host or logoff/logon.