In our company we use a single dhcpd file, and the access control per time
of day is done with iptables and squid.

William Ivanski


2014-03-04 17:06 GMT-03:00 Mark Carroll <m...@ixod.org>:

> Danny <dannydeb...@gmail.com> writes:
>
> > Is it possible to only give leases at a certain time of day for a
> certain IP or
> > MAC?
> >
> > Say from 06:00 till 10:00 and then from 18:00 till 22:00?
>
> I guess you could probably have a couple of different dhcpd
> configuration files and set a cron job on that server to run a script
> that switches them over and kicks the daemon into reloading its
> configuration. I do similarly except, instead of messing with dhcpd,
> my scripts add or remove iptables rules that reject the packets based
> on MAC.
>
> -- Mark
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: https://lists.debian.org/87k3c9vicv....@ixod.org
>
>

Reply via email to