DHCP server reload on own event
Robert Wallner
kodixos at gmail.com
Tue Dec 27 09:56:14 IST 2011
In a DHCP server setup, I have 2 requirements:
1. Each client's mac address must be recorded in a database together
with the IP address assigned.
2. Every new assigned IP address must be given from now on to the same
mac address only, and to nobody else.
The first one is easy, I use the on-submit event handler to run an
external program to insert the mac address in the database.
I have problems with the second one. The same external program scans
the database, and generates a config file for the DHCP server that is
included from the main config file, and contains "fixed-address"
entries for all the mac addresses. The problem is how I make the
server reload it's configuration files, from it's own "on-submit"
event handler??
Or am I completely in the wrong direction?
--
Robert Wallner
More information about the Linux-il
mailing list