dhclient option 120

mayank tyagi tomayanktyagi at gmail.com
Wed Sep 21 10:04:23 UTC 2011

yes that is what i was thinking of wrting the returned values to a file.

one more question:-
when does DHCP INFORM message is sent , i mean to say how to configure
dhclient to send DHCP INFORM message?

On Wed, Sep 21, 2011 at 2:37 PM, Peter Rathlev <peter at rathlev.dk> wrote:

> On Wed, 2011-09-21 at 10:38 +0530, mayank tyagi wrote:
> > i am new to dhclient stuff , i want to know who initiates request for
> > DHCP option 120 and is there any specific message which is used for
> > same purpose?
> The dhclient program initiates the request. The server only serves
> requests that the client has asked for. And only the dhclient program
> talks to the DHCP server.
> >   as you suggested that its the responsibility of application to
> > extract, so will it be the application who initiates this request? in
> > my case its SIP UE which want to obtain to obtain SIP server ip
> > address.
> You need some kind of interworking between dhclient and your
> application. You have already manually configured dhclient to ask for
> the option. You could the let dhclient write the option to some file the
> application will look at, or you could let the application inspect the
> current lease.
> Regarding decoding the value of an option 120: If the application cannot
> do this by itself, it doesn't seem that hard to do manually with e.g.
> Perl.
> --
> Peter
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110921/09e53bae/attachment.html>

More information about the dhcp-users mailing list