To add some filter rules in conf file

Simon Hobson dhcp1 at
Wed Oct 14 15:20:18 UTC 2009

Ashmath Khan wrote:

>I tried this:
>class "rule1" {
>match if substring (option dhcp-client-identifier, 0, 5) = 01:00:19:7d:72;
>option time-offset -12345;
>option boot-size 65000;
>subnet netmask {
>pool {
>allow members of "rule1";
>default-lease-time 86400;
>max-lease-time 86400;
>option routers;
>option domain-name-servers;
>=> it didn't work completely. I did get dhcp offer message but the 
>options: time-offset and boot-size were not sent as part of dhcp 
>offer. Any reasons ? How do I make it work ?

Did the client request those options ?

If not then the server won't send them. You can force it to (see the 
recent thread "how to get slp-directory-agent option working"). But 
if the client doesn't request it, there's a good chance it doesn't 
know what to do with it and will ignore it.

Simon Hobson

Visit for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

More information about the dhcp-users mailing list