<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hi Abdallah,</div><div>   The following client class should match the string.</div><div><br data-mce-bogus="1"></div><div><div>"client-classes" [</div><div>   {</div><div>   "name": "rabah-class",</div><div>   "test": "substring(option[61].hex,-9,all) == '@test1.io'"</div><div>   }</div><div>]</div></div><div><br></div><div>Kind Regards Peter</div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Khebchi Abdallah" <a.khebchi@esi-sba.dz><br><b>To: </b>"Peter Davies" <peterd@isc.org><br><b>Sent: </b>Thursday, 27 July, 2023 14:35:12<br><b>Subject: </b>Re: [Kea-users] running isc-kea in different netns<br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><div dir="ltr">version 2.2 well i think its a config problem i checked with nmap discover script and the server responded with offer<br>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 ?? <br>like i want to do the following isc config in kea <div><span style="color:rgb( 23 , 43 , 77 );font-family:'sfmono-medium' , 'sf mono' , 'segoe ui mono' , 'roboto mono' , 'ubuntu mono' , 'menlo' , 'consolas' , 'courier' , monospace;font-size:14px;white-space:pre;background-color:rgb( 244 , 245 , 247 )"> class "rabah-class" {
</span><span class="gmail-comment gmail-linenumber gmail-ds-line-number" style="padding-left:8px;margin-right:8px;text-align:right;float:left;font-family:'sfmono-medium' , 'sf mono' , 'segoe ui mono' , 'roboto mono' , 'ubuntu mono' , 'menlo' , 'consolas' , 'courier' , monospace;font-size:14px;white-space:pre;background-color:rgb( 244 , 245 , 247 );display:inline-block;padding-right:8px"></span><span style="color:rgb( 23 , 43 , 77 );font-family:'sfmono-medium' , 'sf mono' , 'segoe ui mono' , 'roboto mono' , 'ubuntu mono' , 'menlo' , 'consolas' , 'courier' , monospace;font-size:14px;white-space:pre;background-color:rgb( 244 , 245 , 247 )">      match if option dhcp-client-identifier  ~~ ".*@<a href="http://test1.io" target="_blank" rel="nofollow noopener noreferrer">test1.io</a>$";
</span><span class="gmail-comment gmail-linenumber gmail-ds-line-number" style="padding-left:8px;margin-right:8px;text-align:right;float:left;font-family:'sfmono-medium' , 'sf mono' , 'segoe ui mono' , 'roboto mono' , 'ubuntu mono' , 'menlo' , 'consolas' , 'courier' , monospace;font-size:14px;white-space:pre;background-color:rgb( 244 , 245 , 247 );display:inline-block;padding-right:8px"></span><span style="color:rgb( 23 , 43 , 77 );font-family:'sfmono-medium' , 'sf mono' , 'segoe ui mono' , 'roboto mono' , 'ubuntu mono' , 'menlo' , 'consolas' , 'courier' , monospace;font-size:14px;white-space:pre;background-color:rgb( 244 , 245 , 247 )">  }</span><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 27 juil. 2023 à 11:59, Peter Davies <<a href="mailto:peterd@isc.org" target="_blank" rel="nofollow noopener noreferrer">peterd@isc.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb( 204 , 204 , 204 );padding-left:1ex"><div><div style="font-family:'arial' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"><div><div>Hi <span style="color:rgb( 0 , 0 , 0 );font-family:'arial' , 'helvetica' , sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb( 255 , 255 , 255 );text-decoration:none;float:none;display:inline">Abdallah</span><span style="font-size:12pt">,</span></div><div>   What version of Kea are you running?</div><div>What does your configuration file look like?</div><div>What does the Kea log report?</div><br><div>Kind Regards Peter</div></div><br><hr id="m_-4946877667683470765zwchr"><div><b>From: </b>"Khebchi Abdallah" <<a href="mailto:a.khebchi@esi-sba.dz" target="_blank" rel="nofollow noopener noreferrer">a.khebchi@esi-sba.dz</a>><br><b>To: </b>"<a href="mailto:Kea-users@lists.isc.org" target="_blank" rel="nofollow noopener noreferrer">Kea-users@lists.isc.org</a>" <<a href="mailto:Kea-users@lists.isc.org" target="_blank" rel="nofollow noopener noreferrer">Kea-users@lists.isc.org</a>><br><b>Sent: </b>Wednesday, 26 July, 2023 20:47:33<br><b>Subject: </b>[Kea-users] running isc-kea in different netns<br></div><br><div><div dir="ltr">  Hello i am having a problem running the kea-dhcp-server into a different netns than the root <div>any solutions for this problem ? </div><div>command i used : sudo ip netns exec netns1 /usr/sbin/kea-dhcp4 -d  -c /etc/netns/netns1/kea/namla-kea.conf</div><br></div>
<br>-- <br>ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" target="_blank" rel="nofollow noopener noreferrer">https://www.isc.org/contact/</a> for more information.<br><br>To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" target="_blank" rel="nofollow noopener noreferrer">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br><br>Kea-users mailing list<br><a href="mailto:Kea-users@lists.isc.org" target="_blank" rel="nofollow noopener noreferrer">Kea-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/kea-users" target="_blank" rel="nofollow noopener noreferrer">https://lists.isc.org/mailman/listinfo/kea-users</a><br></div></div></div>-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer nofollow noopener noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer nofollow noopener noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank" rel="nofollow noopener noreferrer">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer nofollow noopener noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div><br></div></div></body></html>