[CentOS] How to find out values from dhcp query

Robert Moskowitz rgm at htt-consult.com
Thu Mar 12 21:59:13 UTC 2009


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).




More information about the CentOS mailing list