yes that is what i was thinking of wrting the returned values to a file.<br><br>one more question:-<br>when does DHCP INFORM message is sent , i mean to say how to configure dhclient to send DHCP INFORM message?<br><br><div class="gmail_quote">
On Wed, Sep 21, 2011 at 2:37 PM, Peter Rathlev <span dir="ltr"><<a href="mailto:peter@rathlev.dk">peter@rathlev.dk</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">On Wed, 2011-09-21 at 10:38 +0530, mayank tyagi wrote:<br>
> i am new to dhclient stuff , i want to know who initiates request for<br>
> DHCP option 120 and is there any specific message which is used for<br>
> same purpose?<br>
<br>
</div>The dhclient program initiates the request. The server only serves<br>
requests that the client has asked for. And only the dhclient program<br>
talks to the DHCP server.<br>
<div class="im"><br>
>   as you suggested that its the responsibility of application to<br>
> extract, so will it be the application who initiates this request? in<br>
> my case its SIP UE which want to obtain to obtain SIP server ip<br>
> address.<br>
<br>
</div>You need some kind of interworking between dhclient and your<br>
application. You have already manually configured dhclient to ask for<br>
the option. You could the let dhclient write the option to some file the<br>
application will look at, or you could let the application inspect the<br>
current lease.<br>
<br>
Regarding decoding the value of an option 120: If the application cannot<br>
do this by itself, it doesn't seem that hard to do manually with e.g.<br>
Perl.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Peter<br>
<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a 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>
</div></div></blockquote></div><br>