<div dir="ltr">Hi Peter,<div>Thanks for Reply, sorry because of other issues I was unable to concentrate on this option space modules, </div><div>In short you need to add "vendor-option-space optionSpacedb;" in the same block as where you use the options.  ------------><br></div><div>As suggested I understood that we need to mention statement  vendor-option-space optionSpacedb; to make it perfect utilization Thanks for suggestion</div><div>But I have a doubt, I have followed the one of the forum and in that it mention to construct the config like below</div><div>-------------my local dhcp server config--------------------</div><div>default-lease-time 3600;<br>authoritative;<br>option proxyDetails code 252 = text;<br><b>option space optionspacedb;<br>option optionspacedb.option1 code 1 = ip-address;<br>option optionspacedb.option2 code 2 = ip-address;</b></div><div><b><br></b></div><div><b>option space optionspace2;<br>option optionspace2.option1test code 1 = text;</b></div><div><b><br>if option vendor-class-identifier = "Avaya"{  # taking just as example <br>           vendor-option-space optionspacedb;<br>}else if option vendor-class-identifier = "avaya2"{   # taking just as example</b>  <pre style="white-space:pre-wrap"><font face="arial, sans-serif">     <b>vendor-option-space optionspacedb2;</b></font>
<b>}</b></pre>subnet 192.168.0.0 netmask 255.255.255.0 {<br>pool {<br>     range 192.168.0.2 192.168.0.200;<br>}<br>max-lease-time 600;<br>option domain-name "<a href="http://example.com/" target="_blank">example.com</a>";<br>option domain-name-servers 192.168.x.xxx,192.168.y.yyy;<br>option local-proxy-config "<a href="http://zzzzzz/" target="_blank">http://zzzzzz</a>";<br><b>option optionspacedb.option1 6.6.6.6;<br>option optionspacedb.option2 5.5.5.5;</b></div><div><br></div><div><b>option optionspace2.option1test "test";</b><br></div><div>option routers 192.168.0.1;<br>option subnet-mask 255.255.255.0;<br>}<br></div><div><br></div><div>It says to mention some thing like if else if statements at global section and specify the options in pool. The client matching the vendor class identifier can only get  optionspace values</div><div>Is the syntax right? can we construct like this for effective utilization</div><div><br></div><div><br></div><div>Thanks </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 2, 2019 at 5:52 PM Surya Teja <<a href="mailto:suryateja042@gmail.com">suryateja042@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Peter,<div>Thanks for reply.</div><div>Did you see the reply to your original mail I posted recently? I think it answers at least some of your question.  <br></div><div> ---> Hi I have posted this initially in dhcp-workers group but I didn't get any reply to my post.</div><div>       Not sure it may be issue with mailing service. Can you please forward your mail once again or any reference related to this stuff</div><div>Thanks</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 31, 2019 at 12:51 PM Peter Rathlev <<a href="mailto:peter@rathlev.dk" target="_blank">peter@rathlev.dk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 2019-07-31 at 11:07 +0530, Surya Teja wrote:<br>
> How does a DHCP client can get the DHCP option space data from<br>
> respective server config<br>
> Ex: I have constructed my local server config as below by taking<br>
> online example references<br>
<br>
Did you see the reply to your original mail I posted recently? I think<br>
it answers at least some of your question.<br>
<br>
In short you need to add "vendor-option-space optionSpacedb;" in the<br>
same block as where you use the options. This method requires that the<br>
client asks for option 43 (vendor-specific-options) and knows how to<br>
parse "vendor encapsulation".<br>
<br>
If you can't use vendor-specific-options for any reason, you need to<br>
find an option code that isn't in use in the global scope. That would<br>
typically be option codes 224-254 which are for "local use". In that<br>
case you don't need separate option spaces, unless you have clients<br>
that understand the same option codes in different ways. In that case<br>
you should take a look at "site-option-space".<br>
<br>
-- <br>
Peter<br>
<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div>
</blockquote></div>