<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:8pt"><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; "><span>Hello Beshir,</span></div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; "> </div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; ">As promised your advise is implemented and unfortunately the option 125 part is not working as expected.</div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; "><br></div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; ">The DHCP option 43 part works as expected but I don't see any option 125 sends to the client.</div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; "><br></div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; ">BTW you are right about the definition of the
suboption. I use "=" because the original parameter use "concat" function to combine remote-id and client-id of the client.</div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; "><br></div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; ">So just to be clear the below config is used as example:</div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; "><br></div><div><div><span style="font-size: 11px; font-family: 'lucida console', sans-serif;">option space TEST code width 1 length width 1 hash size 3;</span></div><div><span style="font-size: 11px; font-family: 'lucida console', sans-serif;">option TEST.suboption code 1 = string;</span></div><div><span style="font-size: 11px; font-family: 'lucida console', sans-serif;">option vendor.TEST code 12345 = encapsulate TEST;</span></div><div><span style="font-size: 11px; font-family: 'lucida console',
sans-serif;"><br></span></div><div><span style="font-size: 11px; font-family: 'lucida console', sans-serif;">subnet 10.0.16.0 netmask 255.255.255.0 {</span></div><div><span style="font-size: 11px; font-family: 'lucida console', sans-serif;"> option routers 10.0.16.1;</span></div><div><span style="font-size: 11px; font-family: 'lucida console', sans-serif;"> range 10.0.16.10 10.0.16.254;</span></div><div><span style="font-size: 11px; font-family: 'lucida console', sans-serif;"> option TEST.suboption "Here is suboption 1 for enterprise 12345";</span></div><div><span style="font-size: 11px; font-family: 'lucida console', sans-serif;"> if substring (option vendor-class-identifier, 0, 5) = "test1" {</span></div><div><span style="font-size: 11px; font-family: 'lucida console', sans-serif;"> vendor-option-space TEST;</span></div><div><span style="font-size: 11px; font-family: 'lucida console',
sans-serif;"> option TEST.suboption "Here is the test1 option";</span></div><div><span style="font-size: 11px; font-family: 'lucida console', sans-serif;"> }</span></div><div><span style="font-size: 11px; font-family: 'lucida console', sans-serif;">}</span></div></div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; "><br></div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; "><br></div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; ">So it is quite the same as your example right? </div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; "><br></div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; ">Best Regards,</div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; "><br></div><div style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; ">H2T</div><div
style="font-family: verdana, helvetica, sans-serif; font-size: 8pt; "><br></div> <div style="font-size: 8pt; font-family: verdana, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Hok Hie Tjioe <hhtjioe@yahoo.com><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, June 28, 2012 8:59 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: DHCP option 125<br> </font> </div> <br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv683406450"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 8pt; font-family: verdana, helvetica, sans-serif; "><div><span>Hello Beshir,</span></div><div><br><span></span></div><div><span>Thanks mate for you quick response and explanation!</span></div><div><span>I will certainly test this config and will post it when succes..</span></div><div><br><span></span></div><div><span>Keep you updated.</span></div><div><br><span></span></div><div><span>Best Regards,</span></div><div><br><span></span></div><div><span>H2T</span></div><b><span style="font-weight:bold;"><font size="2"><font face="Arial"><br>--<br></font></font>From:</span></b> "Beshir, Reissom" <reissom_beshir@mitel.com><br><div style="font-size: 8pt; font-family: verdana, helvetica, sans-serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div
dir="ltr"><font face="Arial" size="2"> <b><span style="font-weight:bold;">To:</span></b>
dhcp-users@lists.isc.org <br> <b><span style="font-weight:bold;">Sent:</span></b> Wednesday, June 27, 2012 6:33 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: DHCP option 125<br> </font> </div> <br>
On Tue, 26 Jun 2012, Hok Hie Tjioe wrote:<br><br>> Hi Beshir,<br>><br>> Right. No I don't see that the client is sending DHCP option 124 to the server.<br>> So if I am understand you correctly, the definition that i have for the option 125 is quite fine.<br><br>That depends on what the client expects in the vendor option data.<br>If it is the same as option 43 then you are fine.<br><br>> In case that the client is sending the option 124 what is the proper server configuration for that IP scope?<br><br>You just need this for option 125:<br> option TEST.suboption "Here is the string of this option";<br><br>> Like you have mentioned, yeah the client sending the option 60, that is why I use the definition mentioned in my question.<br>> And indeed that statement "vendor-option-space" will then send the information through the DHCP option 43.<br>><br>> Can you share me some example if you have.<br><br>I would simply add
the "vendor-option-space" and move the "option<br>TEST.suboption" outside of the if statement. That should cover both<br>option 43 and 125. Using your example config:<br><br> option space TEST code width 1 length width 1 hash size 3;<br> option TEST.suboption code 1 = string;<br> option vendor.TEST code 12345 = encapsulate TEST;<br><br> subnet 10.0.16.0 netmask 255.255.255.0 {<br> option routers 10.0.16.1;<br> range 10.0.16.10 10.0.16.254;<br> option TEST.suboption "Here is the string of this option";<br> if substring (option vendor-class-identifier, 0, 5) = "test1" {<br> vendor-option-space TEST<br> }<br> }<br><br>You should verify the above to see option 43 still works as you expect.<br><br>Note that you can put "option TEST.suboption" in the global scope if<br>the option data is not scope
specific. And you can override it if you<br>want a different value within a specific scope, e.g. in the subnet<br>scope or in the if statement for the vendor-class.<br><br>You will need a different "option space" definition for each vendor<br>that require encapsulated options.<br><br>Oh, I missed that you have an error in setting the value of "option<br>TEST.suboption".<br><br>> if substring (option vendor-class-identifier, 0, 5) = "test1" {<br>> option TEST.suboption = "Here is the string of this option";<br>> }<br><br>There should not be an equal (=) when you set the option data.<br><br>Regards,<br>Reissom<br><br>________________________________<br> From: "Beshir, Reissom" <reissom_beshir at <a rel="nofollow" target="_blank" href="http://mitel.com/">mitel.com</a>><br>To: dhcp-users at <a rel="nofollow" target="_blank" href="http://lists.isc.org/">lists.isc.org</a><br>Sent:
Tuesday, June 26, 2012 6:57
PM<br>Subject: Re: dhcp-users Digest, Vol 44, Issue 34<br><br>On Fri, 22 Jun 2012, Hok Hie Tjioe wrote:<br>><br>><br>> Hi all,<br>><br>> somebody have any advise how to define the DHCP option 125 (vivso) using the option space?<br>> I am using ISC DHCP server version 4.2.3-P2.<br>><br>> Want I want to achieve is quite simple though:<br>> option 125 = enterprise-ID + one suboption<br>><br>> From the manual section I can made the following structure, assuming that enterpise id of TEST = 12345<br>><br>> option space TEST code width 1 length width 1 hash size 3;<br>> option TEST.suboption code 1 = string;<br>> option vendor.TEST code 12345 = encapsulate TEST;<br>><br>> subnet 10.0.16.0 netmask 255.255.255.0 {<br>> option routers 10.0.16.1;<br>> range 10.0.16.10 10.0.16.254;<br>> if substring (option vendor-class-identifier, 0, 5) = "test1" {<br>>
option TEST.suboption = "Here is the string of this option";<br>> }<br>> }<br>><br>> what I missed here is the link to the option 125 (vivso) in this case?<br><br>Option 125 is sent in response to option 124 that contains the<br>enterprise id you configured for.<br>Does the client provide option 124 in the DHCP message?<br><br>And you do not need the if statement for option 125.<br><br>If the client only sends option 60 then you want to use option 43.<br>In that case you want:<br><br> if substring (option vendor-class-identifier, 0, 5) = "test1" {<br> vendor-option-space TEST<br> option TEST.suboption = "Here is the string of this option";<br> }<br><br><br>> Any feedback is appreciated...<br>> TIA.<br><br>I hope that helps.<br><br>Regards,<br>Reissom Beshir<br><br>-- <br>This e-mail (including any attachments) is for the sole use of the
intended <br>recipient(s) and may contain information that is confidential and/or <br>protected by legal privilege. Any unauthorized review, use, copy, <br>disclosure or distribution of this e-mail is strictly prohibited. If you <br>are not the intended recipient, please notify Mitel immediately and destroy <br>all copies of this e-mail. Mitel does not accept any liability for breach <br>of security, error or virus that may result from the transmission of this <br>message.<br>_______________________________________________<br>dhcp-users mailing list<br><a rel="nofollow" ymailto="mailto:dhcp-users@lists.isc.org" target="_blank" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br><a rel="nofollow" target="_blank" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br><br><br> </div> </div> </div></div></div><meta http-equiv="x-dns-prefetch-control"
content="on"><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> </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.emoticonplaces.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>