[CentOS] How to find out values from dhcp query

Ray Van Dolson rayvd at bludgeon.org
Thu Mar 12 22:05:11 UTC 2009


On Thu, Mar 12, 2009 at 04:59:13PM -0400, Robert Moskowitz wrote:
> Ray Van Dolson wrote:
> > On Thu, Mar 12, 2009 at 03:29:09PM -0400, Robert Moskowitz wrote:
> >   
> >> Kai Schaetzl wrote:
> >>     
> >>> Robert Moskowitz wrote on Thu, 12 Mar 2009 11:26:49 -0400:
> >>>
> >>>   
> >>>       
> >>>> How can I find out what variables and their values were provided
> >>>> by a dhcpd server to my client?
> >>>>     
> >>>>         
> >>> what values? You can see most parts of the negotiation on the
> >>> server in real time. dhcpd logs by default all requests and the
> >>> answers to messages.
> >>>       
> >> I have a proprietary firewall that provides dhcpd services and
> >> includes fields for entering the WINS server address and the WINS
> >> mode.  I wanted to see what these variables show up as as well as
> >> their values...
> >>
> >> I do not see them in cat /var/lib/dhclient/dhclient-eth1.leases on
> >> this system.
> >>     
> >
> > How is dhclient being invoked?
> >
> >   ps afxww | grep dhclient
>
> On this system it is run from a script in a terminal window where I
> also run wpa_supplicant (NetworkManager does not work well enough on
> this system).  On a FC10 system, I use NetworkManager and it invokes
> dhclient.
> 
> Neither show the address of the WINS server, nor the WINS mode
> (H-mode).

Ah, I ask because the -lf argument to dhclient should point to where
the lease file is generated.  For example, on one of my systems:

Ray


More information about the CentOS mailing list