"allowed" and "disallowed" classes/groups

Glenn Satchell Glenn.Satchell at uniq.com.au
Tue Jul 24 13:11:33 UTC 2007


>From: Andreas Hasenack <ahasenack at terra.com.br>
>To: dhcp-users at isc.org
>Subject: Re: "allowed" and "disallowed" classes/groups
>Date: Tue, 24 Jul 2007 09:00:32 -0300
>
>On Tuesday 24 July 2007 03:53:37 Simon Hobson wrote:
>> Andreas Hasenack wrote:
>> >I would like to deny giving an IP address to specific machines but
>> >without having to delete their "host" directive in dhcpd.conf.
>> >
>> >In practice, the reason is that I would like to make it easy to
>> >re-enable a particular host without having to retype its mac address:
>> >just move it around between groups or classes. Is there a way to do it?
>>
>> Comment out it's host declaration ?
>
>Almost on the target ;)
>I didn't mention another condition, though: the webmin interface would then 
>just not show the commented host and would then not be able to uncomment it 
>later.
>Sorry, I thought there was some way with groups and classes.

Err, how about this?

group {
  ignore booting;
  host foo {
    ...
  }
  host bar {
    ...
  }
}

and move it out of the group to enable it again.

regards,
-glenn


More information about the dhcp-users mailing list