class match without vendor-class-identifier

Doug Chapman prjctgeek at gmail.com
Thu Feb 21 19:34:21 UTC 2008


Thanks- but I have a couple working classes where the number of characters
don't exactly match the string- that's not the issue.

I tried 0,7 as well; same result...which brings me back to my original
question: Can I match on host-name?



On Thu, Feb 21, 2008 at 10:37 AM, Simon Hobson <dhcp1 at thehobsons.co.uk>
wrote:

> Doug Chapman wrote:
>
> >  match if substring (option host-name,0,6)= "SUNSP00";
>
>
> "SUNSP00" is 7, not 6, characters long - therefore no 6 character
> string will match it.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080221/2e11fdc4/attachment.html>


More information about the dhcp-users mailing list