Sub-pool or pool hierarchy
Prunk Dump
prunkdump at gmail.com
Mon Oct 14 19:08:57 UTC 2013
2013/10/14 Doug Barton <dougb at dougbarton.us>:
> 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?
>
> Doug
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
My problem is that the ranges :
-> 172.16.0.1 to 172.16.199.254 (my PEDA domain)
-> 172.16.200.1 to 172.16.255.254 (my ORPEO domain)
are not "subnets". So I can't regroup my classes like this.
My two domains live in 172.16.0.0/16 !
ps : Effectively, "match class hosts" are not recognized as "known hosts"
Thanks for the help !
More information about the dhcp-users
mailing list