deny option to specific hosts

mailsvb mailsvb at
Mon Aug 20 11:13:09 UTC 2012

Thanks for the quick feedback :-)

So I would have to do it the other way... Check if its not the client I'm
looking for and than add every option I need. Just 2 more quick questions

Would you recommend classes for this?
If yes, is something like below possible... Multiple match conditions
and/or negative if conditions?

class "NormalPhones" {
        match if substring (option vendor-class-identifier,0,11) =
match if not hardware = 1:00:01:e3:25:e6:4b;

Thanks again for any feedback :-)

2012/8/20 Sten Carlsen <stenc at>

>  And please remember that by placing the host statement in the subnet, it
> will carry the subnet declarations also when it gets an address in a
> different subnet.
> It will NOT limit the host to that subnet.
> On 20/08/12 12:24, Simon Hobson wrote:
> mailsvb wrote:
> I have a quick question regarding how to deny single options that have
> been declared for a scope to one single host?
> Unfortunately you can't - it gets asked a fair bit.
> The only thing you could try, and whether it works or not depends on what
> the client requires, is to set the option to an empty string.
> --
> Best regards
> Sten Carlsen
> No improvements come from shouting:
>        "MALE BOVINE MANURE!!!"
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dhcp-users mailing list