Thanks Francis On Wed, Jun 21, 2017 at 2:20 PM, Francis Dupont <[email protected]> wrote:
> Gokulakrishnan Gopalakrishnan writes: > > I'm exploring Kea hooks for assigning Subnets. In subnet4_select(...) we > > can select a subnet among the existing list of subnets. I'm just curious > > whether we can select a custom subnet which is not defined at Kea.conf > file? > > Eg: > > Kea.conf has 2 subnets defined - 192.168.1.0/24, 192.168.2.0/24 > > In subnet4_select(...) can we assign subnet of 192.168.3.0/24 and > > subsequently assign IP of 192.168.3.10 to that host? > > => you can't assign a value which does not exist. Now you have access > to everything from a hook so you can create a subnet object and assign > it, at least in theory (i.e. this hook code should be a bit hard to write). > > Regards > > Francis Dupont <[email protected]> >
_______________________________________________ Kea-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/kea-users
