DHCP option host-name matching

Bradford Dickerson bra00424 at mac.com
Fri Mar 11 20:35:55 UTC 2016


Hi,
  At our company, we are trying to hand out IP ranges based on the characteristics of the client. For example using a class declaration as follows:

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

but I notice many iphones have names like ‘Brad-iPhone’ or ’TomIphone’ does not quite match above . Is there any plan to support regex type matches?

Thx,
Brad


More information about the dhcp-users mailing list