Hi Abdallah, The following client class should match the string. "client-classes" [ { "name": "rabah-class", "test": "substring(option[61].hex,-9,all) == '@test1.io'" } ]
Kind Regards Peter From: "Khebchi Abdallah" <a.kheb...@esi-sba.dz> To: "Peter Davies" <pet...@isc.org> Sent: Thursday, 27 July, 2023 14:35:12 Subject: Re: [Kea-users] running isc-kea in different netns version 2.2 well i think its a config problem i checked with nmap discover script and the server responded with offer in other hand i want to do equivalent of (match if option dhcp-client-id in isc-dhcp) in the kea config any hints how to do that ?? like i want to do the following isc config in kea class "rabah-class" { match if option dhcp-client-identifier ~~ ".*@ [ http://test1.io/ | test1.io ] $"; } Le jeu. 27 juil. 2023 à 11:59, Peter Davies < [ mailto:pet...@isc.org | pet...@isc.org ] > a écrit : Hi Abdallah , What version of Kea are you running? What does your configuration file look like? What does the Kea log report? Kind Regards Peter From: "Khebchi Abdallah" < [ mailto:a.kheb...@esi-sba.dz | a.kheb...@esi-sba.dz ] > To: " [ mailto:Kea-users@lists.isc.org | Kea-users@lists.isc.org ] " < [ mailto:Kea-users@lists.isc.org | Kea-users@lists.isc.org ] > Sent: Wednesday, 26 July, 2023 20:47:33 Subject: [Kea-users] running isc-kea in different netns Hello i am having a problem running the kea-dhcp-server into a different netns than the root any solutions for this problem ? command i used : sudo ip netns exec netns1 /usr/sbin/kea-dhcp4 -d -c /etc/netns/netns1/kea/namla-kea.conf -- ISC funds the development of this software with paid support subscriptions. Contact us at [ https://www.isc.org/contact/ | https://www.isc.org/contact/ ] for more information. To unsubscribe visit [ https://lists.isc.org/mailman/listinfo/kea-users | https://lists.isc.org/mailman/listinfo/kea-users ] . Kea-users mailing list [ mailto:Kea-users@lists.isc.org | Kea-users@lists.isc.org ] [ https://lists.isc.org/mailman/listinfo/kea-users | 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/ | https://www.isc.org/contact/ ] for more information. To unsubscribe visit [ https://lists.isc.org/mailman/listinfo/kea-users | https://lists.isc.org/mailman/listinfo/kea-users ] . Kea-users mailing list [ mailto:Kea-users@lists.isc.org | Kea-users@lists.isc.org ] [ https://lists.isc.org/mailman/listinfo/kea-users | 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