<div>Vasiliy, </div><div>Thanks for your answer. But i'm afraid it cannot satisfy my requirements. <br></div><div><br></div>Simon is right.<div>What I am concerning is that there are multiple servers in the domain. I <b>cannot</b> control the existing DHCP servers, but I can add Servers with my configuration. Moreover, I don't know which machine will request this option, so it is not good to bind the hwaddr with the option.</div>
<div><br></div><div>This scenario is coming from my new project. We want to utilize the DHCP mechanism to distribute our service information. It is dynamic, so we modify the DHCP server's code. Of course some admins do not want to rely on the modified DHCP server, so I need to add our servers in the domain. However, different servers introduce different OFFERs, and the client needs to choose the one with the custom option, even this OFFER arrives latter. And after the timeout, if the client still cannot get such OFFER (no such service in current domain), he will choose an OFFER without the custom option.</div>
<div><br></div><div>Do you have any idea on how to do this?</div><div><br></div><div>Thanks,</div><div><br><div class="gmail_quote">On Fri, Jun 15, 2012 at 6:09 AM, Simon Hobson <span dir="ltr"><<a href="mailto:dhcp1@thehobsons.co.uk" target="_blank">dhcp1@thehobsons.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">At 12:06 +0200 15/6/12, Sten Carlsen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I could think of this as one host moving between networks and using this ressource if available, but I don't know the purpose of this request.<br>
</blockquote>
<br></div>
Indeed.<br>
And if that is all he needs, then he just needs to add "option ..." to his dhcpcd.conf and it will be requested. If the server has it, then it will be in offers automagically, if not then it won't.<br>
<br>
He'll still need to configure his client (edit the script) with what needs doing with the option when it's got it.<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
Simon Hobson<br>
<br>
Visit <a href="http://www.magpiesnestpublishing.co.uk/" target="_blank">http://www.<u></u>magpiesnestpublishing.co.uk/</a> for books by acclaimed<br>
author Gladys Hobson. Novels - poetry - short stories - ideal as<br>
Christmas stocking fillers. Some available as e-books.<br>
______________________________<u></u>_________________<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" target="_blank">https://lists.isc.org/mailman/<u></u>listinfo/dhcp-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>Chengyu Fan<br>
</div>