<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I am currently working on a hook (plugin) that will allow you to use
part of an option 82-value received from the dhcp-relay as (part of)
an option-value in the response.<br>
<br>
I hope I will have some time to actually make it usable in the next
couple of days (just figured out how to actually send the new
options). I need to clean up the code and make it a bit more robust.<br>
<br>
Not sure if this is something you can use?<br>
<br>
This will not give the option to statically set boot file based on
hwaddr, but it will allow you to set IE "CM-10-30" as an Option 82
value (either sub option 1, 2 or 6) at the dhcp-relay:<br>
<br>
In Cisco-speak:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Router(config-if)# ip dhcp relay information option subscriber-id
CM-10-30<br>
<br>
And Juniper:<br>
<br>
# set interfaces xe-0/0/0 description "CM-10-30"<br>
#
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
set forwarding-options dhcp-relay relay-option-82 circuit-id
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
use-interface-description device<br>
<br>
<br>
and then set something like<br>
<br>
"option-data": [{<br>
"name": "boot-file-name",<br>
"data": <a class="moz-txt-link-rfc2396E" href="mailto:@OPTION_82_6@.cfg">"@OPTION_82_6@.cfg"</a><br class="Apple-interchange-newline">
<br>
}]<br>
<br>
in kea.conf<br>
<br>
Now, I realize that this is kind of abusing of the options.
Subscriber-id is supposed to be "globally unique", and "CM-10-30" is
not really a good interface description. But at least it is
flexible and unless your provisioning platform is able to deliver
the correct file based on some other customer id, it should solve
your problem without having to maintain a full list of all
hardware-addresses and their profiles in a 3. party system.<br>
<br>
<br>
Rgds.<br>
<br>
Ola Thoresen<br>
</body>
</html>