class match without vendor-class-identifier

Doug Chapman prjctgeek at gmail.com
Thu Feb 21 18:18:02 UTC 2008


I have some new devices that are not sending a
vendor-class-identifier/vendor-string , but it is sending a fairly standard
(and not configurable) client-hostname.

I've tried creating a class matching on hostname (and googling for the same)
but it's not matching, here are the relevant bits, from
dhcpd.conf(client-hostname isn't a valid option for classes,
apparently):

 class "sunilom" {
 match if substring (option host-name,0,6)= "SUNSP00";
}

current lease entry:
lease 172.20.100.246 {
  starts 4 2008/02/21 17:56:21;
  ends 4 2008/02/21 19:56:21;
  tstp 4 2008/02/21 19:56:21;
  binding state active;
  next binding state free;
  hardware ethernet 00:14:4f:a6:6c:bf;
  client-hostname "SUNSP00144FA77CBE";
}


thanks for any tips...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080221/2166cbc4/attachment.html>


More information about the dhcp-users mailing list