To add some filter rules in conf file

Ashmath Khan hashmat.email at gmail.com
Mon Nov 2 13:38:39 UTC 2009


>
>
>   I tried this:
>> pool {                                                           option
>> time-offset -12345;                                       option
>> netbios-name-servers 10.232.1.45;                         option
>> time-servers 1.2.3.4,10.232.167.89;                       option host-name
>> "<http://something.com>something.com";
>>  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 working.
>>
>
> 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.

>
> PS - you could help yourself by making your config easier to read with
> appropriate indentation, eg :
>
> it could be copy past problem. I do have proper indentation.

thanks
Ashmath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20091102/8b247058/attachment.html>


More information about the dhcp-users mailing list