[j-nsp] dhcpv6 IA_PD syslogging

Aaron Gould aaron1 at gvtc.com
Tue Jul 9 20:43:53 EDT 2024


got isc kea working with juniper acx5048 dhcpv6 relay... wanted to 
circle back with y'all...  the linux eng I work with said that isc kea 
opensource version 2.4.1 on ubuntu 24.04 lts provides pd logging.  this 
might be your mention of "pretty minimal".  Unsure what the "isp level" 
logging would should, but this is a probably sufficient for us.  shows 
mac address-to-ipv6 ia_pd mapping.

root at mydhcpv6srvr:/etc/kea# grep DHCP6.*LEASE /var/log/syslog

2024-07-09T18:18:37.982222-05:00 mydhcpv6srvr kea-dhcp6: INFO 
DHCP6_LEASE_ADVERT duid=[00:03:00:01:60:db:98:12:34:56], tid=0x3347e1: 
lease for address 1234:abcd:ffff::2 and iaid=1 will be advertised
2024-07-09T18:18:37.982512-05:00 mydhcpv6srvr kea-dhcp6: INFO 
DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:60:db:98:12:34:56], 
tid=0x3347e1: lease for prefix 1234:abcd:ffff:4010::/60 and iaid=1 will 
be advertised

2024-07-09T18:18:39.356573-05:00 mydhcpv6srvr kea-dhcp6: INFO 
DHCP6_LEASE_ALLOC duid=[00:03:00:01:60:db:98:12:34:56], tid=0xda1fb6: 
lease for address 1234:abcd:ffff::2 and iaid=1 has been allocated for 
4000 seconds
2024-07-09T18:18:39.364893-05:00 mydhcpv6srvr kea-dhcp6: INFO 
DHCP6_PD_LEASE_ALLOC duid=[00:03:00:01:60:db:98:12:34:56], tid=0xda1fb6: 
lease for prefix 1234:abcd:ffff:4010::/60 and iaid=1 has been allocated 
for 4000 seconds

-Aaron


On 7/3/2024 10:05 AM, Chris Adams via juniper-nsp wrote:
> Once upon a time, Aaron Gould <aaron1 at gvtc.com> said:
>> This might be a moot point for me since we may stop testing dhcpv6
>> in junos and move to the more likely deployment scenario of central
>> dhcpv6 servers using ISC KEA... to which I hope the logging is then
>> sufficient.  Thanks again
> I haven't looked in a bit, but at one point Kea's built-in logging was
> pretty minimal, with "ISP level" logging done as a paid add-on module.
> They've got to pay the bills, but I dislike that model.
>
-- 
-Aaron



More information about the juniper-nsp mailing list