Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a better way to maintain MAC to IP specification in dhcp with out restarting dhcp service each time when there is an update.

is it possible to use DHCP with database in Linux to save all configuration,so that dhcp just needs to read that from database with out restarting each time.

share|improve this question
What makes you think the information is not already cached, and reread by later invocations of the daemon? See, eg, /var/lib/dhcpd/dhcpd.leases (or as appropriate for your distro). – MadHatter Nov 6 '13 at 13:04
I think the question is more about managing static leases / reservations than any cache being lost on restart. Of course I'd argue 2 points. 1) Restarting the service is extremely quick and has practically 0 impact (as all leases are saved as mentioned, and clients will retry if they happen to request DHCP at the exact instant you restart). 2) Generally there is very little need to constantly keep adding/changing/removing static reservations. I'd question the need to make so many frequent changes that restarting the daemon is an actual problem. – USD Matt Nov 6 '13 at 13:14
in normal case i dont find any need of constantly updating mac/ip but in our environment where there are lot of vms,this is required. – Kevin Parker Nov 6 '13 at 13:27
If you give us the bigger picture of WHY you need to update the static IP assignments so often, we might be able to give you better suggestions. – Grant Nov 6 '13 at 13:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.