Sub-pool or pool hierarchy
Sten Carlsen
stenc at s-carlsen.dk
Mon Oct 14 18:59:37 UTC 2013
On 14/10/13 20.51, Doug Barton wrote:
> On 10/14/2013 11:46 AM, Sten Carlsen wrote:
>> You may want to look at the man page for dhcpd.conf, the following
>> example is taken from that:
>>
>> subnet 10.0.0.0 netmask 255.255.255.0 {
>> option routers 10.0.0.254;
>>
>> # Unknown clients get this pool.
>> pool {
>> option domain-name-servers bogus.example.com;
>> max-lease-time 300;
>> range 10.0.0.200 10.0.0.253;
>> allow unknown-clients;
>> }
>>
>> # Known clients get this pool.
>> pool {
>> option domain-name-servers ns1.example.com, ns2.example.com;
>> max-lease-time 28800;
>> range 10.0.0.5 10.0.0.199;
>> deny unknown-clients;
>> }
>> }
>>
>> As you see here you can put options in subnets as well as pools. The
>> common options like router is in the subnet and the the more specific
>> options are in the pools together with the allows and denys.
>
> Wouldn't that require host declarations to define the known hosts?
No, being a member of a class can be specified here as well:
allow members of xyzzy;
I do use this for my network with 3 different routers to spread the load
and addresses evenly. I use 3 classes and subclass definitions for every
MAC. Very stable.
>
> Doug
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
--
Best regards
Sten Carlsen
No improvements come from shouting:
"MALE BOVINE MANURE!!!"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20131014/f07fda2d/attachment.html>
More information about the dhcp-users
mailing list