1

I am trying to configure dhcp PXE server, but client is not booting as expected. Is there a way how you can watch transferred requested and responded options between client and server? I want to be able to see each individual option value.

1

Use dhcpdump -i eth0. This show nicely the content for the dhcp packets.

0

I did not found a way how to do it via system logs when using ISC DHCP. But I have found a super convenient and easy way to solve the task of debugging.

Just use Wireshark. Start it as Superuser, then start capturing packets of a needed network interface. Initiate DHCP request from a client. Then in Protocol column you will see packets marked as DHCP. Click at one you are interested in. Then you are able to see contents of that package.

0

If using isc dhcpd, you can use log function for debugging: https://docs.menandmice.com/display/MM/using+the+log+function+for+debugging

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.