7

On a FreeBSD computer

  • Is there a DHCP client log that I could use to debug a DHCP issue?
  • Can I set a debug param to get more information from the dhclient?
UPDATE #1

I found a lead on this article handy tools for debugging DHCP on linux but that's on Linux (dhcping, dhcpdump), and I don't have these on my FreeBSD, I won't be able to install them.

UPDATE #2
$ tcpdump -lenx -i eth0 -s 1500 port bootps
3

From the manpage:

It can be made to emit verbose messages displaying the startup sequence events until it has acquired an address by supplying the -v command line argument.

Type:

dhclient -v eth0

...where eth0 is your network interface.

  • 2
    -v is not a valid switch on FreeBSD, but thanks. – zabumba Jan 23 '14 at 11:45
5

dhcpdump is the tool of your choice.

Just use dhcpdump -i fxp0.

I found more information at http://www.freebsdonline.com/content/view/713/524/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.