Client identifier Option

pat patkumar82 at gmail.com
Wed Jun 3 10:35:31 UTC 2009


Hi,

   we implemented the client identifier option and working fine also,


Class “abc”

{ match if substring (option dhcp-client-identifier, 6, 12) =”\0abc.com” ;}



Pool

{

Allow members of “abc”;

Range dynamic-bootp 192.168.0.10 192.168.0.254;

Default-lease-time 21600;

Max-lease-time 43200;

}



i get lease also

Lease 192.168.0.250 {

Starts 5 2009/05/29 18:13:11;

Ends 6 2009/05/30 00:13:11;

*****

Uid “test at abc.com”;

*****

}



But the problem is identifying the various address allocation classes in the
server using a substring match at character postions will cause problems
with variable length user names. Is there a way to match anything after
the "@"? using a regular expression, maybe?



can anyone guide me how to solve this

my domain is of fixed length i.e abc.com



Regards

Pat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090603/91205df7/attachment.html>


More information about the dhcp-users mailing list