We have a subnet with a couple of hundred virtual machines that:
- boot up
- do some short heavy computational task and shut down.
The average life of a vm here is about 20 minutes.
It's critical that we make sure we never run out of dhcp leases, so in addition to adding a short lease duration I want to make dhclient release the address when the machine shuts down using the DHCP RELEASE packet.
Does anyone know how to do this?