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
