DHCP Client Debug Verbosity

Simon Hobson dhcp1 at thehobsons.co.uk
Tue Nov 24 07:56:35 UTC 2015


sthaug at nethelp.no wrote:

>> I have read the dhclient man page and searched the web extensively but
>> haven't found any way to do this. I am hoping for a middle ground
>> between "-v" and running the client in gdb or extensively
>> instrumenting the code with printf()s (or the like), as those are both
>> a bit outside my normal realm of expertise.
> 
> Using tcpdump or Wireshark to look at the actual traffic can sometimes
> be invaluable.

However, for most traffic, it can show you packets arriving on the wire which are then dropped by a firewall (iptables rules) before reaching the application to which they are addressed. I'm not sure if this applies to the dhcp client since IIRC that uses raw sockets and bypasses the IP stack.

Yes, I've been had by this one often enough.



More information about the dhcp-users mailing list