[Kea-users] [*Newsletter*] Re: Client class limitations
Darren Ankney
darren.ankney at gmail.com
Wed Sep 18 09:49:58 UTC 2024
Hello,
If you need to use option 82 suboption 2 (or any other RAI option
content) to identify the host reservation, then you will need to use
the flex_id hook:
https://kea.readthedocs.io/en/kea-2.6.1/arm/hooks.html#libdhcp-flex-id-so-flexible-identifier-for-host-reservations
You can, of course, create a class per client if you prefer, but that
may result in a performance penalty depending on the number of
classes.
Thank you,
Darren Ankney
On Tue, Sep 17, 2024 at 8:11 AM <egor.grijuc at orange.com> wrote:
>
> Ok, but according to documentation for creation of reservation(https://kb.isc.org/docs/what-are-host-reservations-how-to-use-them)
> I can use only
> ...
> The host is identified in the host reservation through one of the following:
>
> duid
> hw-address
> flex-id
> client-id (v4 only)
> circuit-id (v4 only)
> ...
>
> But I can use only Option 82 Suboption: (2) Agent Remote ID.
> Is it possible to use Option 82 Suboption: (2) Agent Remote ID. In host reservation?
>
>
> Orange Restricted
>
> -----Original Message-----
> From: Kea-users <kea-users-bounces at lists.isc.org> On Behalf Of Darren Ankney
> Sent: Tuesday, 17 September 2024 12:52
> To: Kea user's list <kea-users at lists.isc.org>
> Subject: Re: [Kea-users] [*Newsletter*] Re: Client class limitations
>
> Hello,
>
> No ip-address required. See first example shown here:
> https://kea.readthedocs.io/en/kea-2.6.1/arm/dhcp4-srv.html#global-reservations-in-dhcpv4
>
> Thank you,
> Darren Ankney
>
> On Tue, Sep 17, 2024 at 5:39 AM <egor.grijuc at orange.com> wrote:
> >
> > Yes, but reservation reqire also dedicated ip address? Or i dont understand something?
> >
> >
> > -------- Исходное сообщение --------
> > От: Darren Ankney <darren.ankney at gmail.com>
> > Дата: 17.09.2024 12:29 (GMT+02:00)
> > Кому: Kea user's list <kea-users at lists.isc.org>
> > Тема: [*Newsletter*] Re: [Kea-users] Client class limitations
> >
> > Hi ,
> >
> > If you need to set options on a per client basis, I suggest you have a
> > look at "reservations":
> > https://kea.readthedocs.io/en/kea-2.6.1/arm/dhcp4-srv.html#including-s
> > pecific-dhcpv4-options-in-reservations
> >
> > Thank you,
> > Darren Ankney
> >
> > On Tue, Sep 17, 2024 at 4:47 AM <egor.grijuc at orange.com> wrote:
> > >
> > > Hello.
> > > Previously i asked question abot if it is possible to specify array of criteria in client class.
> > > As i understand this is impossible.
> > > The problem is that i need to provide alternative dns server for specific clients.
> > > These clients can be matched by option 82 suboption 2.
> > > Each client will have uniqe value.
> > > So i understand that the only way to do this with kea is creating for each client his own client class.
> > > I have configuration backend and this can be done with rest api, no rpoblem, but i am not sure if this is good idea to create large amount of cliebt classes.
> > > Does kea have limitation of client class quantity or does large amount of cliebt classes can affect kea perfomance?
> > > Because now when we have outages in the network an large amount of
> > > dhcp traffic hits-kea processes this without any problems and i dont wabt to loose this perfomance This message and attached information may contain confidential information that may be protected by law. It is intended only for the use of the individual or entity named above. If you have received this message in error, you are hereby notified that any use, dissemination or copying of this communication without authorization is strictly prohibited, and please immediately notify the sender by replying by email and then delete this message and its attachments completely from your system. Thank you for your cooperation.
> > >
> > > ____________________________________________________________________
> > > ________________________________________
> > > Ce message et ses pieces jointes peuvent contenir des informations
> > > confidentielles ou privilegiees et ne doivent donc pas etre
> > > diffuses, exploites ou copies sans autorisation. Si vous avez recu
> > > ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
> > >
> > > This message and its attachments may contain confidential or
> > > privileged information that may be protected by law; they should not be distributed, used or copied without authorisation.
> > > If you have received this email in error, please notify the sender and delete this message and its attachments.
> > > As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> > > Thank you.
> > >
> > > --
> > > 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 at 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 at lists.isc.org
> > https://lists.isc.org/mailman/listinfo/kea-users
> >
> > ______________________________________________________________________
> > ______________________________________
> > Ce message et ses pieces jointes peuvent contenir des informations
> > confidentielles ou privilegiees et ne doivent donc pas etre diffuses,
> > exploites ou copies sans autorisation. Si vous avez recu ce message
> > par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
> >
> > This message and its attachments may contain confidential or
> > privileged information that may be protected by law; they should not be distributed, used or copied without authorisation.
> > If you have received this email in error, please notify the sender and delete this message and its attachments.
> > As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> > Thank you.
> >
> > --
> > 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 at 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 at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
> ____________________________________________________________________________________________________________
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
> --
> 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 at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
More information about the Kea-users
mailing list