[Kea-users] [EXTERNAL] Re: Two questions regarding to kea subnet configuration

Xiao, Yu (CCI-Atlanta) yu.xiao at cox.com
Tue Jul 23 19:11:23 UTC 2024


Hi Darren,

What is the type of this id? Is it unsigned int or unsigned short int type in C++ or other type?



Best Regards,
Yu


From: Darren Ankney <darren.ankney at gmail.com>
Date: Monday, May 6, 2024 at 3:46 PM
To: Kea user's list <kea-users at lists.isc.org>
Cc: Xiao, Yu (CCI-Atlanta) <yu.xiao at cox.com>
Subject: [EXTERNAL] Re: [Kea-users] Two questions regarding to kea subnet configuration
As far as "naming" subnets, you may want to look at "5.1.2. Comments
and User Context":
https://urldefense.com/v3/__https://kea.readthedocs.io/en/kea-2.4.1/arm/config.html*comments-and-user-context__;Iw!!Hit2Ag!3Ckp7Lw4b4mFKtkRtTgmbo7xdzFSJt-lr9AAi_YCePvfT08wEXH9mFmRKb4vmTAoivcUUxm2xzZsuWTkM63D$<https://urldefense.com/v3/__https:/kea.readthedocs.io/en/kea-2.4.1/arm/config.html*comments-and-user-context__;Iw!!Hit2Ag!3Ckp7Lw4b4mFKtkRtTgmbo7xdzFSJt-lr9AAi_YCePvfT08wEXH9mFmRKb4vmTAoivcUUxm2xzZsuWTkM63D$> .
There is an example there that shows how you might use this mechanism
to identify a subnet:

"Dhcp4": {
    "subnet4": [{
        "id": 1,
        "subnet": "192.0.2.0/24",
        "pools": [{ "pool": "192.0.2.10 - 192.0.2.20" }],
        "comment": "second floor"
    }]
}

Thank you,
Darren Ankney

On Mon, May 6, 2024 at 8:10 AM Xiao, Yu (CCI-Atlanta) via Kea-users
<kea-users at lists.isc.org> wrote:
>
> Greetings,
>
>
>
> I have two questions related to the kea design. First, seems currently we can only assign numeric IDs to subnets, but for subnet management, it’s more convenient to use a string, is it possible to add this feature? Second, how kea design to distribute the ip addresses inside of the subnet esp ipv6 subnet? Is it totally random? Thank you.
>
>
>
>
>
>
>
>
>
> Best Regards,
>
> Yu
>
>
>
> --
> ISC funds the development of this software with paid support subscriptions. Contact us at https://urldefense.com/v3/__https://www.isc.org/contact/__;!!Hit2Ag!3Ckp7Lw4b4mFKtkRtTgmbo7xdzFSJt-lr9AAi_YCePvfT08wEXH9mFmRKb4vmTAoivcUUxm2xzZsuev3AHR9$<https://urldefense.com/v3/__https:/www.isc.org/contact/__;!!Hit2Ag!3Ckp7Lw4b4mFKtkRtTgmbo7xdzFSJt-lr9AAi_YCePvfT08wEXH9mFmRKb4vmTAoivcUUxm2xzZsuev3AHR9$>  for more information.
>
> To unsubscribe visit https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!Hit2Ag!3Ckp7Lw4b4mFKtkRtTgmbo7xdzFSJt-lr9AAi_YCePvfT08wEXH9mFmRKb4vmTAoivcUUxm2xzZsub3WtC8n$<https://urldefense.com/v3/__https:/lists.isc.org/mailman/listinfo/kea-users__;!!Hit2Ag!3Ckp7Lw4b4mFKtkRtTgmbo7xdzFSJt-lr9AAi_YCePvfT08wEXH9mFmRKb4vmTAoivcUUxm2xzZsub3WtC8n$> .
>
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!Hit2Ag!3Ckp7Lw4b4mFKtkRtTgmbo7xdzFSJt-lr9AAi_YCePvfT08wEXH9mFmRKb4vmTAoivcUUxm2xzZsub3WtC8n$<https://urldefense.com/v3/__https:/lists.isc.org/mailman/listinfo/kea-users__;!!Hit2Ag!3Ckp7Lw4b4mFKtkRtTgmbo7xdzFSJt-lr9AAi_YCePvfT08wEXH9mFmRKb4vmTAoivcUUxm2xzZsub3WtC8n$>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20240723/f55445b2/attachment.htm>


More information about the Kea-users mailing list