"unsetting" global options for a host

Rick Coloccia coloccia at geneseo.edu
Tue Jan 31 20:05:22 UTC 2012


Simon, yes, that's exactly what I'm trying to accomplish.  Anyone out 
there know if it's possible?

On 1/31/2012 4:39 AM, Simon Hobson wrote:
> Christian Kratzer wrote:
>
>> why don't you just put the hosts in different groups depending on the
>> options they need.  Sounds like you know the specific hosts you need
>> to exluded so why not just list them in a group.
>
> Not sure about the OP, but in the general case it's more likely to be 
> a case of "all clients whether specified by host statements or not get 
> option X - except for ..."
>
> So it makes sense to specify the option in the global scope so it 
> applies to all dynamic clients, in all subnets & pools, as well as 
> defined hosts. The problem then is unsetting an option for a small 
> number of clients - which might not have fixed addresses. So it would 
> be ideal if the following were possible :
>
> option X blah ;
>
> subnet ...
>   range ...
> }
>
> group ...
>   unset option X
>   host ...
>     hardware ...
>   host ...
>     hardware ...
> }

-- 
Rick Coloccia, Jr.
Network Manager
State University of NY College at Geneseo
1 College Circle, 119 South Hall
Geneseo, NY 14454
V: 585-245-5577
F: 585-245-5579




More information about the dhcp-users mailing list