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
<[email protected]> 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 
> <[email protected]> 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 [email protected] 
> > 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
> > > [email protected] 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 
> > > > [email protected] 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
> > > > [email protected]
> > > > 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
> > > [email protected]
> > > 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
> > [email protected]
> > 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
> [email protected]
> 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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to