What does 'add "classname"' really do? - solved!

doug doug at ovationdata.com
Wed Mar 18 15:15:54 UTC 2009


Goesta Smekal wrote:
> On Tue, March 17, 2009 21:30, Goesta Smekal wrote:
>   
>   pool {
>     allow unknown-clients;
>     deny members of "mammals";
>     deny members of "birds";
>     range 192.168.80.200 192.168.80.209;
>   }
>
>   
Having multiple allow and deny is a bad idea and may not produce what 
you want. To allow something in a pool automatically will deny all that 
do not match, or to deny one group allows all others. In this case the 
allow unknown-clients is all that is needed to get the desired effect.

from dhcpd.conf:
Each entry in a pool’s permit list is introduced with the allow or deny 
keyword. If a pool has a permit list, then only those clients that match 
specific entries on the permit list will be eligible to be assigned 
addresses from the pool. If a pool has a deny list, then only those 
clients that do not match any entries on the deny list will be eligible. 
If both permit and deny lists exist for a pool, then only clients that 
match the permit list and do not match the deny list will be allowed access.





More information about the dhcp-users mailing list