Unable to get MAC in the DHCPv6 leases database while MAC address is available in the DHCPv6 client request packet.
name: Get DHCPv6 MAC Address of client in dhcpd6.leases database.
about: Need a way to print DHCPv6 MAC address in the dhcpd6.leases.
Describe the bug I have captured a DHCPv6 IP request packet. In that packet, I am getting Link-Layer Address(MAC) as a parameter under the DHCPv6-Client Identifier section. I want that MAC address should print in the dhcpv6 leases database file /var/lib/dhcpd6.leases. Let me know is there any way to print DHCPv6 request options in the leases database.
Expected behavior If DHCPv6 request packet is getting any specific options like MAC address then there should be configuration to print that data in the dhcpd6.leases database.
Environment:
- ISC DHCP version: 4.4.2
- OS: CentOS7