To add some filter rules in conf file

Simon Hobson dhcp1 at
Mon Nov 2 14:04:19 UTC 2009

Ashmath Khan wrote:
>>>  I tried this:
>>>pool { 
>>>option time-offset -12345; 
>>>option netbios-name-servers; 
>>>option time-servers,; 
>>>option host-name 
>>> range;        range 
>>>;       range; 
>>>allow members of "rule1";                }
>>>dhcpd assigns, looks like the two above range 
>>>statements are overidden. So to me it looks like the trick is not 
>>More likely your class matching isn't working as you'd expected. I 
>>can't comment since we haven't seen your config. Most likely the 
>>client is matching class "rule1".
>It does match, i have tried this without multiple range statements. 
>The match is for this rule, but when I use multiple range 
>statements, it uses the third range statement from 3.

So the client matches "rule1", gets a lease from a pool where "rule1" 
is allowed. There's nothing wrong there.

Unless I've missed something.

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