[Kea-users] Add option 43 with allocated IPs to specific host

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Kea-users] Add option 43 with allocated IPs to specific host

avoy
Hi,

I want to add option 43 with IP address allocated to a specific host.
Config file takes static data in the option 43.

How can I dynamically achieve that?
If there is a hook function to write, can I get some pointer?

Thanks.

_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] Add option 43 with allocated IPs to specific host

Francis Dupont
Avoy Nanda writes:
> I want to add option 43 with IP address allocated to a specific host.
> Config file takes static data in the option 43.
>
> How can I dynamically achieve that?
> If there is a hook function to write, can I get some pointer?

=> the last version of Kea (1.7.1) provides this feature:

1676.   [func]          fdupont
        A new hook - flex-option - has been developed. It allows setting
        up DHCPv4 and DHCPv6 option values dynamically, using expression.
        This capability is very useful when you want to generate option
        value procedurally. For details, see new section "Flexible Option
        for Option value settings" in the Kea Administrator Reference
        Manual.
        (Gitlab #219,!523, git 2bf854c029b9b07ee6161bc1fcb4dfdc9846ee42)

Regards

Francis Dupont <[hidden email]>

PS: BTW the hook source code should be easy to back port.
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users