To add some filter rules in conf file
dhcp1 at thehobsons.co.uk
Mon Nov 2 14:04:19 UTC 2009
Ashmath Khan wrote:
>>> I tried this:
>>>option time-offset -12345;
>>>option netbios-name-servers 10.232.1.45;
>>>option time-servers 126.96.36.199,10.232.167.89;
>>> range 192.168.1.64 192.168.1.110; range 192.168.1.112
>>>192.168.1.124; range 192.168.1.126 192.168.1.253;
>>>allow members of "rule1"; }
>>>dhcpd assigns 192.168.1.126, 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.
Visit http://www.magpiesnestpublishing.co.uk/ 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