[Kea-users] running isc-kea in different netns

Peter Davies peterd at isc.org
Thu Jul 27 14:20:36 UTC 2023


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.khebchi at esi-sba.dz> 
To: "Peter Davies" <peterd at 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:peterd at isc.org | peterd at 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.khebchi at esi-sba.dz | a.khebchi at esi-sba.dz ] > 
To: " [ mailto:Kea-users at lists.isc.org | Kea-users at lists.isc.org ] " < [ mailto:Kea-users at lists.isc.org | Kea-users at 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 at lists.isc.org | Kea-users at 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 at lists.isc.org | Kea-users at lists.isc.org ] 
[ https://lists.isc.org/mailman/listinfo/kea-users | https://lists.isc.org/mailman/listinfo/kea-users ] 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20230727/66b6e590/attachment.htm>


More information about the Kea-users mailing list