To add some filter rules in conf file

Ashmath Khan hashmat.email at gmail.com
Tue Oct 20 16:50:32 UTC 2009


thanks Simon.

> It will work for ANY combination of tests you want. If you look carefully
> then you've :
>
> a class that matches if colour is red
> a class that matches if colour isn't red and weight is fat
> a class that matches if colour isn't red, weight isn't fat, and height is
> tall
> and the fourth class that matches if none of the above are true.
>
> Notice that the last class matches if none of the previous classes match -
> by definition ANY client will match exactly ONE class.
>
> If you want a test for "option is not present" then you can do something
> like :
> match if option colour is not present
> match if option colour is present and colour is red
> match if option colour is present and not colour is red and ...
>
But say I want to discard client(not to choose any pool) if  it matches a
option and so on. How do I put that rule ? like this example:
rule 1 type dhcp-option
rule 1 dhcp-option 60
rule 1 match-str "*VIP*"
rule 1 match-action discard
etc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20091020/c3e16045/attachment.html>


More information about the dhcp-users mailing list