The reason why I'm looking to this has to do with ISC DHCPd behavior (aside: 
I'm sure that you are tired of hearing "But that's what DHCPd does!"). Consider 
this example of DHCP configuration from a production server:

   subnet 10.64.5.0 netmask 255.255.255.0
   {
      # This is the main IP address for the router
      option routers 10.64.5.1;
      # Start Site DHCP Options
      option time-offset -18000;
      option domain-name-servers 10.64.0.141;
      option ntp-servers 10.64.0.118;
      # End Site DHCP Options
      pool
      {
         range 10.64.5.26 10.64.5.200;
         allow members of "phones";
      }
      pool
      {
         range 10.64.5.202 10.64.5.242;
         deny members of "phones";
      }
   }

The subnet (10.64.5.0/24) is subdivided (arbitrarily) into separate pools. Is 
there a way of getting comparable behaviour from Kea?

Thanks,

Rob

-----Original Message-----
From: Francis Dupont [mailto:[email protected]] 
Sent: Friday, October 20, 2017 3:58 PM
To: Sutherland, Rob
Cc: [email protected]
Subject: Re: [Kea-users] Subdividing a subnet based on class

"Sutherland, Rob" writes:
> Given that a subnet can be split into separate pools of IP addresses, 
> can leases be allocated from a particular pool based on a client class?

=> you have to create to client classes (one with the expression, the other 
with its negation) and split the subnet into two subnets with their own pools 
and a match for one of the classes.
 Note the user/admin guide has a section about this with the same kind of 
problem to solve.

Thanks

Francis Dupont <[email protected]>

PS: there is not yet a magic way to combine client classes even I think about 
it (it will make ISC DHCP allow/deny easier to translate)...
_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to