Red Hat Bugzilla – Bug 556202
[RFE] Improve DHCPv6 logging
Last modified: 2014-01-18 07:58:40 EST
Created attachment 384877 [details]
DHCPD output for both DHCP and DHCPv6 from /var/log/messages
Description of problem:
The logging for DHCPv6 only provides minimal information about the messages, and is far less than that provided for DHCP for IPv4 transactions.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. grep dhcpd /var/log/messages
Messages for DHCPREQUEST, DHCPACK. DHCPDISCOVER and DHCPOFFER are for IPv4 and specify enough information to find requesting host and offered address.
Solicit, Request and Sending messages are for IPv6 and only list IPv6 addresses allocated temporarily and specifically for the transaction which are not able to be traced back to the requesting host or finding out the offered address, from what is in the logs. There is also no indication in the DHCPv6 replies if the message is an ACK or a NAK or any other status.
Similar abilities for IPv4 and IPv6.
For DHCPv6 it is probably necessary to print out some of the DHCPv6 options, which is where the real details are, and we may still be stuck with Client-ID/IA-NA, but it is better that an temporary address currently reported.
See details from a mixture of IPv4 and IPv6 output in the attached list.
Similar request on dhcp-users mailing list:
ISC claims there should be some DHCPv6 logging improvements in dhcp-4.3 (rawhide/Fedora 21). Please give it a try (I haven't tried it myself yet) and if you're still not happy with it sugest more improvements at email@example.com because this isn't something I'd want to add downstream.
Sure, I understand that and agree. Thanks.