<html><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:8pt"><div style="font-family: 'lucida console', sans-serif; font-size: 8pt; "><span>Hi Tobias, Malte,</span></div><div style="font-family: 'lucida console', sans-serif; font-size: 8pt; "><span><br></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 8pt; "><span>I wa also truggeling with that part months ago as you can see form the mailing list.</span></div><div style="font-family: 'lucida console', sans-serif; font-size: 8pt; "><span>Anyway I have a working solution for that, at least in our environment.</span></div><div style="font-family: 'lucida console', sans-serif; font-size: 8pt; "><span><br></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 8pt; "><span>The following configuration on our ISC DHCP server version 4.2.3-P2 is used, I use the example of Malte here:</span></div><div
 style="font-family: 'lucida console', sans-serif; font-size: 8pt; "><span><br></span></div><div><span style="font-size: 11px;"><div>option space FOO;</div><div>option FOO.sample code 1 = text;</div><div><br></div><div>option space vivso code width 4 length width 1;</div><div>option vivso.FOO code 50000 = encapsulate FOO;</div><div>option vivso.iana code 0 = string;</div><div><br></div><div>option op125 code 125 = encapsulate vivso;</div></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 8pt; "><span><br></span></div><div style="font-family: 'lucida console', sans-serif; font-size: 8pt; "><br></div><div style="font-family: 'lucida console', sans-serif; font-size: 8pt; ">And in the pool definition the following statement needs to include to send the DHCP option 125:</div><div><div><span style="font-size: 11px;">option vivso.iana 01:01:01;</span></div><div><span style="font-size: 11px;">option FOO.sample "Some Option
 Text";</span></div><div><span style="font-size: 11px;"><br></span></div><div><span style="font-size: 11px;">P.S. Why that "vivso.iana" statement? For soem reason the DHCP doesn't send the option 125 without that. There seems to be a known bug.</span></div><div><span style="font-size: 11px;"><br></span></div><div><span style="font-size: 11px;">Hope this helps..</span></div><div><span style="font-size: 11px;"><br></span></div><div><span style="font-size: 11px;">Regards,</span></div><div><span style="font-size: 11px;"><br></span></div><div><span style="font-size: 11px;">h2t</span></div></div><div style="font-family: 'lucida console', sans-serif; font-size: 8pt; "><br></div>  <div style="font-family: 'lucida console', sans-serif; font-size: 8pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Malte
 Starostik <lists@malte.homeip.net><br> <b><span style="font-weight: bold;">To:</span></b> Users of ISC DHCP <dhcp-users@lists.isc.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, July 26, 2012 1:32 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Configuration DHCPv4 vivso according to RFC 3925<br> </font> </div> <br>Hi Tobias, hi list,<br><br>Am Donnerstag, 26. Juli 2012, 12:59:36 schrieb Tobias Jähnel:<br>> Hi all,<br>> <br>> I'm using ISC DHCP 4.1-ESV-R4 and want to set up an environment as<br>> stated in the subject.<br>> <br>> According to the dhcp-options manual page I added the following to my<br>> dhcpd.conf.<br>> <br>> option space FOO code width 1 length width 1 hash size 3;<br>> option FOO.sample code 1 = text;<br>> option vendor.FOO code 50000 = encapsulate FOO;<br>> option vendor-class.FOO code 50000 = text;<br>> option FOO.sample "Some Option
 Text";<br>> option vendor-class.FOO "Some Vendor Class";<br><br>I tried this to get CISCO's autoinstall feature working (software upgrade, not <br>just auto configuration). <br><br>> I configured my DHCP Client to send option 124 with (fictous)<br>> Enterprise number 50000 and also told it to request option 125.<br><br>CISCO switches' DHCP client requests option 125 without sending option 124.  I <br>tried many variations and what you did resembles one of my approaches.<br><br>> Unfortunately the Server does not send option 125 back.<br>> See attached capture file.<br><br>I don't have a capture now unfortunately, but well, there was basically no <br>option 125 in any of the server's replies.<br> <br>> If I add the following line:<br>> option vendor.FOO 01:04:01:02:03:04;<br>> the DHCP server actually sends back Option 125 with vendor code 50000<br>> and the given content. But hardcoding my options in hex is
 obviously<br>> not what I intend.<br><br>Hey foo is what I resorted to in the end, but that's not exactly what I had <br>hoped for.<br><br>> I would appreciate it if you could tell me what I'm doing wrong.<br>> <br>> Tobias<br><br>Me Too (TM), so TIA for shedding some light on this,<br>Malte<br>_______________________________________________<br>dhcp-users mailing list<br><a ymailto="mailto:dhcp-users@lists.isc.org" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br><br><br> </div> </div>  <span id="xml_contener" title="bandoo.xml_contener" style="display: none; visibility: hidden; width: 0px; height: 0px; "></span><div id="bandoo_adv" title="bandoo_adv"><a href="http://www.cartoonspalace.com/wp/ie.php?plg=ch&ad2=73&subs=chrome&elm=sign"><img
 src="http://triggers.wp.bandoo.com/signature_001.gif" border="0"></a></div></div></body></html>