Hi Marek, You could make the reservation with the hardware (mac) address of the interface if the hardware address is available to the Kea server via some means:
"reservations": [ { "hw-address": "aa:bb:cc:dd:ee:ff", "ip-address": "2001:db8:ff::77" }, { "hw-address": "01:02:03:04:05:06", "ip-address": "2001:db8:ff::78" } ] Thank you, Darren Ankney On Sun, Sep 8, 2024 at 7:47 AM Marek Greško via Kea-users <kea-users@lists.isc.org> wrote: > > Thi solves completely different problem. I want two different interfaces of > the same host in the same vlan to get different statically assigned ipv6 > addresses. So the pair of duid and iaid should be the key to obtain lease > together. The solution you describe does not guarantee I will obtain > different ipv6 address. moreover it dos not allow me to specify two such > interfaces in the config. Currently the kea dies on startup because of > duplicate duid. > > Marek > > > > > > Sent with Proton Mail secure email. > > On Saturday, September 7th, 2024 at 13:48, Kevin P. Fleming > <lists.kea-us...@kevin.km6g.us> wrote: > > > There is already an open feature request for reservations to not be stored > > in the lease database; if this is implemented, after Kea completes the DHCP > > transaction with the client it will 'forget' about the transaction. If the > > client then moves to a different subnet, or different interface on the same > > subnet, Kea will allow the appropriate reservation to be used again because > > the lease database won't contain an entry for that IP address. > > > > On Fri, Sep 6, 2024, at 23:04, Marek Greško via Kea-users wrote: > > > > > Hello, > > > > > > is there any chance kea will support adding reservation also by IAID > > > anytime soon? > > > > > > Thanks > > > > > > Marek > > > > > > Sent with Proton Mail secure email. > > > > > > On Monday, August 26th, 2024 at 11:46, Darren Ankney > > > darren.ank...@gmail.com wrote: > > > > > > > Hi Marek, > > > > > > > > You might be right. I do not know. I think yes, if you need to have > > > > separate reservations for the two different interfaces, then you'd > > > > have to specify separate subnets. Is there any particular reason that > > > > the client cannot obtain the same IP regardless of the interface that > > > > is connected (surely you are not connecting both interfaces > > > > simultaneously)? > > > > > > > > Thank you, > > > > Darren Ankney > > > > > > > > On Sun, Aug 25, 2024 at 6:38 AM Marek Greško via Kea-users > > > > kea-users@lists.isc.org wrote: > > > > > > > > > I am pretty convinced the ISC DHCPD was able to do it. So the only > > > > > way to workaround the problem is to create separate vlan for cable > > > > > connection? > > > > > > > > > > Marek > > > > > > > > > > Sent with Proton Mail secure email. > > > > > > > > > > On Sunday, August 25th, 2024 at 11:40, Darren Ankney > > > > > darren.ank...@gmail.com wrote: > > > > > > > > > > > Hello Marek, > > > > > > > > > > > > I do not believe there is a way to assign a reservation to an IAID. > > > > > > I > > > > > > also cannot think of a way to use multiple keys for a reservation. > > > > > > > > > > > > Thank you, > > > > > > Darren Ankney > > > > > > > > > > > > On Sat, Aug 24, 2024 at 11:59 AM Marek Greško via Kea-users > > > > > > kea-users@lists.isc.org wrote: > > > > > > > > > > > > > Hello, > > > > > > > > > > > > > > yes I understand that perfectly what DUID and IAID is. But what > > > > > > > is IAID for, when I cannot match on it? I suspect it is kea > > > > > > > limitation, not dhcp6. Am I right? > > > > > > > > > > > > > > I would expect having machine with DUID A and IAIDs I1 and I2 > > > > > > > having reservations for (A,I1)=>addr1 and (A,I2)=>addr2 to both > > > > > > > interfaces receive the correct IPv6 address by respective > > > > > > > reservations. Currently I even cannot start kea-dhcp6 when > > > > > > > creating such reservations since kea complains about duplicate > > > > > > > DUID. > > > > > > > > > > > > > > I just found out that there is also one fault on my side. When I > > > > > > > migrated to kea I migrated also the script generating the > > > > > > > configuration file from the table. And since I did not found a > > > > > > > way to specify IAID I commented this part and I forgot about it. > > > > > > > But I still do not know what is the name of the IAID in kea. I > > > > > > > suspect kea does not support matching on IAIDs. Or does it? If > > > > > > > yes what is the name of the option in the reservation? > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > Marek > > > > > > > > > > > > > > Sent with Proton Mail secure email. > > > > > > > > > > > > > > On Friday, August 23rd, 2024 at 7:19, Marek Greško via Kea-users > > > > > > > kea-users@lists.isc.org wrote: > > > > > > > > > > > > > > > Hello, > > > > > > > > > > > > > > > > is it a limitation of kea or of the dhcp6 protocol? What is > > > > > > > > IAID then for? The IAIDs are different. > > > > > > > > > > > > > > > > If I add hwaddress as a key, I suspect it is not real harware > > > > > > > > address but rather some hw-address part from the DUID so it is > > > > > > > > the same for all interfaces. Am I right? > > > > > > > > > > > > > > > > So it seems I will have to create new vlan with the same > > > > > > > > purpose. What I would like to achieve is to have the host to be > > > > > > > > able to connect using either the cable or wifi. Both have the > > > > > > > > reservation (different ipv6 address). > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > Marek > > > > > > > > > > > > > > > > Sent with Proton Mail secure email. > > > > > > > > > > > > > > > > On Friday, August 23rd, 2024 at 2:29, Darren Ankney > > > > > > > > darren.ank...@gmail.com wrote: > > > > > > > > > > > > > > > > > Hi Marek, > > > > > > > > > > > > > > > > > > I do not think you are going to be able to have two > > > > > > > > > reservations for > > > > > > > > > the same DUID in the same subnet or shared-network. You might > > > > > > > > > be able > > > > > > > > > to set one for DUID and the other for hw-address if that is > > > > > > > > > available > > > > > > > > > to Kea, however. > > > > > > > > > > > > > > > > > > Thank you, > > > > > > > > > Darren Ankney > > > > > > > > > > > > > > > > > > On Thu, Aug 22, 2024 at 8:22 AM Marek Greško via Kea-users > > > > > > > > > kea-users@lists.isc.org wrote: > > > > > > > > > > > > > > > > > > > Hello, > > > > > > > > > > > > > > > > > > > > sorry, probably different problem here: > > > > > > > > > > > > > > > > > > > > I just realized, in the second vlan I have another > > > > > > > > > > definition for different interface of the host (same DUID, > > > > > > > > > > but different IAID). Probably the conflict it this one. > > > > > > > > > > > > > > > > > > > > Is it possible to have these two enrties? I would need it. > > > > > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > Marek > > > > > > > > > > > > > > > > > > > > On Thursday, August 22nd, 2024 at 14:17, Marek Greško via > > > > > > > > > > Kea-users kea-users@lists.isc.org wrote: > > > > > > > > > > > > > > > > > > > > Hello, > > > > > > > > > > > > > > > > > > > > I am running a kea-2.6.1 server. I want one of the hosts to > > > > > > > > > > be roaming, i. e. to be able to connect by the network > > > > > > > > > > cable to two different vlans by selecting the plug. > > > > > > > > > > > > > > > > > > > > I am able to setup it for ipv4, but for ipv6 I get error: > > > > > > > > > > failed to add new host using the D > > > > > > > > > > UID ...... to the IPv6 subnet id <my id> as this host has > > > > > > > > > > already been added. The DUID and IAID is the same as for > > > > > > > > > > the same host in different subnet. > > > > > > > > > > > > > > > > > > > > I tried to set "early-global-reservations-lookup": false, > > > > > > > > > > but it had not help much. > > > > > > > > > > > > > > > > > > > > How can I achieve this goal? I would expect reservations > > > > > > > > > > table are independent for different subnets. > > > > > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > Marek > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > ISC funds the development of this software with paid > > > > > > > > > > support subscriptions. Contact us at > > > > > > > > > > https://www.isc.org/contact/ for more information. > > > > > > > > > > > > > > > > > > > > To unsubscribe visit > > > > > > > > > > https://lists.isc.org/mailman/listinfo/kea-users. > > > > > > > > > > > > > > > > > > > > Kea-users mailing list > > > > > > > > > > Kea-users@lists.isc.org > > > > > > > > > > https://lists.isc.org/mailman/listinfo/kea-users > > > > > > > > > > > > > > > > > > -- > > > > > > > > > ISC funds the development of this software with paid support > > > > > > > > > subscriptions. Contact us at https://www.isc.org/contact/ for > > > > > > > > > more information. > > > > > > > > > > > > > > > > > > To unsubscribe visit > > > > > > > > > https://lists.isc.org/mailman/listinfo/kea-users. > > > > > > > > > > > > > > > > > > Kea-users mailing list > > > > > > > > > Kea-users@lists.isc.org > > > > > > > > > https://lists.isc.org/mailman/listinfo/kea-users > > > > > > > > > > > > > > > > -- > > > > > > > > ISC funds the development of this software with paid support > > > > > > > > subscriptions. Contact us at https://www.isc.org/contact/ for > > > > > > > > more information. > > > > > > > > > > > > > > > > To unsubscribe visit > > > > > > > > https://lists.isc.org/mailman/listinfo/kea-users. > > > > > > > > > > > > > > > > Kea-users mailing list > > > > > > > > Kea-users@lists.isc.org > > > > > > > > https://lists.isc.org/mailman/listinfo/kea-users > > > > > > > > -- > > > > > > > > ISC funds the development of this software with paid support > > > > > > > > subscriptions. Contact us at https://www.isc.org/contact/ for > > > > > > > > more information. > > > > > > > > > > > > > > To unsubscribe visit > > > > > > > https://lists.isc.org/mailman/listinfo/kea-users. > > > > > > > > > > > > > > Kea-users mailing list > > > > > > > Kea-users@lists.isc.org > > > > > > > https://lists.isc.org/mailman/listinfo/kea-users > > > > > > > > > > > > -- > > > > > > ISC funds the development of this software with paid support > > > > > > subscriptions. Contact us at https://www.isc.org/contact/ for more > > > > > > information. > > > > > > > > > > > > To unsubscribe visit > > > > > > https://lists.isc.org/mailman/listinfo/kea-users. > > > > > > > > > > > > Kea-users mailing list > > > > > > Kea-users@lists.isc.org > > > > > > https://lists.isc.org/mailman/listinfo/kea-users > > > > > > -- > > > > > > ISC funds the development of this software with paid support > > > > > > subscriptions. Contact us at https://www.isc.org/contact/ for more > > > > > > information. > > > > > > > > > > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. > > > > > > > > > > Kea-users mailing list > > > > > Kea-users@lists.isc.org > > > > > https://lists.isc.org/mailman/listinfo/kea-users > > > > > > > > -- > > > > ISC funds the development of this software with paid support > > > > subscriptions. Contact us at https://www.isc.org/contact/ for more > > > > information. > > > > > > > > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. > > > > > > > > Kea-users mailing list > > > > Kea-users@lists.isc.org > > > > https://lists.isc.org/mailman/listinfo/kea-users > > > > -- > > > > ISC funds the development of this software with paid support > > > > subscriptions. Contact us at https://www.isc.org/contact/ for more > > > > information. > > > > > > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. > > > > > > Kea-users mailing list > > > Kea-users@lists.isc.org > > > https://lists.isc.org/mailman/listinfo/kea-users > -- > ISC funds the development of this software with paid support subscriptions. > Contact us at https://www.isc.org/contact/ for more information. > > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. > > Kea-users mailing list > Kea-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/kea-users -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users