[Kea-users] Change from dibbler to Kea as PD backend

Lajos Katona katonalala at gmail.com
Wed Oct 13 17:08:34 UTC 2021


Hi,
Just as an additional info I started with a kea-dhcp6 conf like this:

{
"Dhcp6": {
    "interfaces-config": {
        "interfaces": [ "qg-f63df9d7-a7" ]
    },
    "subnet6": [
        {
            "subnet": "2001:db8:2222::/48",
            "pools": [
               {"pool": "2001:db8:2222::/64"}
            ],
            "pd-pools": [
                 {
                    "prefix": "3000:1::",
                    "prefix-len": 64,
                    "delegated-len": 96
                 }
             ]
        }
    ]
}}

Not sure if I have to add anything more to have a similar result like with
dibbler.

Regards
Lajos Katona (irc: lajoskatona)

Lajos Katona <katonalala at gmail.com> ezt írta (időpont: 2021. okt. 13., Sze,
18:13):

> Hi,
> I am from Openstack Neutron community (
> https://opendev.org/openstack/neutron ), and Neutron uses dibbler
> currently for prefix delegation.
> I started to check how we can add Kea for PD, and I would like to ask a
> few things to see if it is possible.
>
> Neutron uses dibbler with config files like this one:
>
> duid-type duid-en 8888 0x0f73d556b8364067bc6b3c2e61367d67
> downlink-prefix-ifaces "none"
> script
> "/opt/stack/data/neutron/pd/877976ab-71c1-4c3f-ab76-281c5f2a61fa:0f73d556-b836-4067-bc6b-3c2e61367d67:qr-58b7a155-28/notify.sh"
> iface "qg-f63df9d7-a7" {
> bind-to-address fe80::f816:3eff:fe3a:f745
>     pd 1
> }
>
> qg-f63df9d7-a7 is an interface within a namespace, dibbler sets address
> bind-to-address on it than calls script which acts as a hook for Neutron to
> give back the prefix on its API for  the users, and save to db etc.
>
> Can I have a similar flow with Kea, where I can execute kea-dhcp6 with
> custom/generated config file in the ip namespace, and can poll the
> interface for the prefix or have similar hook like with dibbler?
>
> Thanks in advance for the help.
> Lajos Katona (irc: lajoskatona)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20211013/3eafaac4/attachment.htm>


More information about the Kea-users mailing list