matching vendor-encapsulated-options?

Johan Berglund bergis42 at gmail.com
Wed Mar 22 13:01:08 UTC 2006


Dear Sirs,
I'm trying to match clients based on information in the option 43
suboptions.
My goal is to be able to send the correct filename depending on the clients
software version.
The clients are sending their current version as a option 43 suboption along
with other information.

I've played around with option spaces but that is just for send encapsulated
options _to_ the client or am I wrong?

I would like to do something like this:

option space vendor;
option vendor.swversion code 12 = text;

vendor-option-space vendor;

if substring (option vendor.swversion, 0, 9) = "Version 2" {
   filename "swversion3.boot";
}


Thanks for any help with this!

Regards,
/johan



More information about the dhcp-users mailing list