Option negation

John Hascall john at iastate.edu
Tue May 3 20:11:41 UTC 2016


I know that options set in more specific scopes override those set in less
specific scopes, but can I "undo" an option setting?  That is, lets imagine
I have this:

option option-66 code 66 = text;


and then in a class scope, I have:

class "someclass" {
​​
​        ​
match substring(hardware, 1, 3);
​        ​

*option option-66 "blah blah blah";*}
subclass "
​someclass
" 00:0
​1​
:
​02​
;


I know that, given that host whatever falls in that class scope, that:

host whatever {

​        hardware ethernet 00:01:02:03:04:05;​

​
*option option-66 "fe fi fo fum";*
}


works
​ to change its option​
, but what if
​I ​
want *host whatever* not to get
​ that option at all?  How do I do that???

host whatever {
​        ​
hardware ethernet 00:01:02:03:04:05;​

        *no option​ option-66;       <== just making this up*
}


​Many Thanks!
John​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20160503/55eb8fd5/attachment.html>


More information about the dhcp-users mailing list