This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCPv6 missing clients in IPv6 Lease table

Hi,

because I am not able find way how to submit support ticket about UTM9 then I try to ask here.

I have bit weird problem with DHCPv6 server, I set it up and it works properly, clients grab addresses and it works well, problem is with Lease table entries, actually I just testing IPv6 then I set up only 3 clients, all 3 clients get address but in Lease table I see only 2 clients, 3rd client is missing in that table but he have valid address and he periodically renew lease (it is Win10).

I looked also in file dhcpd6.leases and I see that client there but actually it have 2 entries, both active and with some weird looking ia-na.

I already try to stop dhcpv6 server, remove that lease file and start server again but nothing was changed.

With this client I have also another odd problem, if I set preferred-life and max-life to different times this client fail to renew IP at preferred-time and after short time it mark IP as "deprecated", only way is use ipconfig /renew6 or wait until max-life is reached. I looking in win logs and in Dhcp logs and seems client try to renew IP, he get response from dhcp but for unknown reason he ignore that reply. If I set both times to same value everything working well and no more "deprecated" IP.

Have anyone idea what is wrong ?

Thanks for any idea

/Tomi



This thread was automatically locked due to age.
Parents
  • I do simple test, I stopped dhcpd6 server, remove file dhcpd6.leases (and backup ~) and start server again, then I issue /renew6 on client, in log it fails ofcourse, then I do /release6 and then /renew6... and client get IP but Lease table is still empty, here is part of log, there is clearly to see message "Picking pool address".

    2022:07:01-17:08:55  dhcpd6: Wrote 0 NA, 0 TA, 0 PD leases to lease file.
    2022:07:01-17:08:55  dhcpd6: Bound to *:547
    2022:07:01-17:08:55  dhcpd6: Listening on Socket/6/lag0/2001:xxx:xx:xxx::/64
    2022:07:01-17:08:55  dhcpd6: Sending on Socket/6/lag0/2001:xxx:xx:xxx::/64
    2022:07:01-17:08:55  dhcpd6: Server starting service.
    2022:07:01-17:09:06  dhcpd6: Renew message from fe80::1e1b:dff:xxxx:xxxx port 546, transaction ID 0xE93CF200
    2022:07:01-17:09:06  dhcpd6: Discarding Renew from fe80::1e1b:dff:xxxx:xxxx; not our server identifier (CLIENTID 00:01:00:01:22:20:fd:59:1c:1b:xx:xx:xx:xx, SERVERID 00:01:00:01:2a:46:41:57:d4:ae:xx:xx:xx:xx, server DUID 00:01:00:01:2a:51:ca:87:d4:ae:xx:xx:xx:xx)
    2022:07:01-17:09:16  dhcpd6: Renew message from fe80::1e1b:dff:xxxx:xxxx port 546, transaction ID 0xE93CF200
    2022:07:01-17:09:16  dhcpd6: Discarding Renew from fe80::1e1b:dff:xxxx:xxxx; not our server identifier (CLIENTID 00:01:00:01:22:20:fd:59:1c:1b:xx:xx:xx:xx, SERVERID 00:01:00:01:2a:46:41:57:d4:ae:xx:xx:xx:xx, server DUID 00:01:00:01:2a:51:ca:87:d4:ae:xx:xx:xx:xx)


    2022:07:01-17:09:18  dhcpd6: Release message from fe80::1e1b:dff:xxxx:xxxx port 546, transaction ID 0xF966A100
    2022:07:01-17:09:18  dhcpd6: Discarding Release from fe80::1e1b:dff:xxxx:xxxx; not our server identifier (CLIENTID 00:01:00:01:22:20:fd:59:1c:1b:xx:xx:xx:xx, SERVERID 00:01:00:01:2a:46:41:57:d4:ae:xx:xx:xx:xx, server DUID 00:01:00:01:2a:51:ca:87:d4:ae:xx:xx:xx:xx)


    2022:07:01-17:09:21  dhcpd6: Solicit message from fe80::1e1b:dff:xxxx:xxxx port 546, transaction ID 0xA6373600
    2022:07:01-17:09:21  dhcpd6: Picking pool address 2001:xxx:xx:xxx::fbaa
    2022:07:01-17:09:21  dhcpd6: Advertise NA: address 2001:xxx:xx:xxx::fbaa to client with duid 00:01:00:01:22:20:fd:59:1c:1b:xx:xx:xx:xx iaid = 186391309 valid for 3600 seconds
    2022:07:01-17:09:21  dhcpd6: Sending Advertise to fe80::1e1b:dff:xxxx:xxxx port 546
    2022:07:01-17:09:22  dhcpd6: Request message from fe80::1e1b:dff:xxxx:xxxx port 546, transaction ID 0xA6373600
    2022:07:01-17:09:22  dhcpd6: Reply NA: address 2001:xxx:xx:xxx::fbaa to client with duid 00:01:00:01:22:20:fd:59:1c:1b:xx:xx:xx:xx iaid = 186391309 valid for 3600 seconds
    2022:07:01-17:09:22  dhcpd6: Sending Reply to fe80::1e1b:dff:xxxx:xxxx port 546

    Still very odd why this client is not in Lease table at all.

    /Tomi

Reply
  • I do simple test, I stopped dhcpd6 server, remove file dhcpd6.leases (and backup ~) and start server again, then I issue /renew6 on client, in log it fails ofcourse, then I do /release6 and then /renew6... and client get IP but Lease table is still empty, here is part of log, there is clearly to see message "Picking pool address".

    2022:07:01-17:08:55  dhcpd6: Wrote 0 NA, 0 TA, 0 PD leases to lease file.
    2022:07:01-17:08:55  dhcpd6: Bound to *:547
    2022:07:01-17:08:55  dhcpd6: Listening on Socket/6/lag0/2001:xxx:xx:xxx::/64
    2022:07:01-17:08:55  dhcpd6: Sending on Socket/6/lag0/2001:xxx:xx:xxx::/64
    2022:07:01-17:08:55  dhcpd6: Server starting service.
    2022:07:01-17:09:06  dhcpd6: Renew message from fe80::1e1b:dff:xxxx:xxxx port 546, transaction ID 0xE93CF200
    2022:07:01-17:09:06  dhcpd6: Discarding Renew from fe80::1e1b:dff:xxxx:xxxx; not our server identifier (CLIENTID 00:01:00:01:22:20:fd:59:1c:1b:xx:xx:xx:xx, SERVERID 00:01:00:01:2a:46:41:57:d4:ae:xx:xx:xx:xx, server DUID 00:01:00:01:2a:51:ca:87:d4:ae:xx:xx:xx:xx)
    2022:07:01-17:09:16  dhcpd6: Renew message from fe80::1e1b:dff:xxxx:xxxx port 546, transaction ID 0xE93CF200
    2022:07:01-17:09:16  dhcpd6: Discarding Renew from fe80::1e1b:dff:xxxx:xxxx; not our server identifier (CLIENTID 00:01:00:01:22:20:fd:59:1c:1b:xx:xx:xx:xx, SERVERID 00:01:00:01:2a:46:41:57:d4:ae:xx:xx:xx:xx, server DUID 00:01:00:01:2a:51:ca:87:d4:ae:xx:xx:xx:xx)


    2022:07:01-17:09:18  dhcpd6: Release message from fe80::1e1b:dff:xxxx:xxxx port 546, transaction ID 0xF966A100
    2022:07:01-17:09:18  dhcpd6: Discarding Release from fe80::1e1b:dff:xxxx:xxxx; not our server identifier (CLIENTID 00:01:00:01:22:20:fd:59:1c:1b:xx:xx:xx:xx, SERVERID 00:01:00:01:2a:46:41:57:d4:ae:xx:xx:xx:xx, server DUID 00:01:00:01:2a:51:ca:87:d4:ae:xx:xx:xx:xx)


    2022:07:01-17:09:21  dhcpd6: Solicit message from fe80::1e1b:dff:xxxx:xxxx port 546, transaction ID 0xA6373600
    2022:07:01-17:09:21  dhcpd6: Picking pool address 2001:xxx:xx:xxx::fbaa
    2022:07:01-17:09:21  dhcpd6: Advertise NA: address 2001:xxx:xx:xxx::fbaa to client with duid 00:01:00:01:22:20:fd:59:1c:1b:xx:xx:xx:xx iaid = 186391309 valid for 3600 seconds
    2022:07:01-17:09:21  dhcpd6: Sending Advertise to fe80::1e1b:dff:xxxx:xxxx port 546
    2022:07:01-17:09:22  dhcpd6: Request message from fe80::1e1b:dff:xxxx:xxxx port 546, transaction ID 0xA6373600
    2022:07:01-17:09:22  dhcpd6: Reply NA: address 2001:xxx:xx:xxx::fbaa to client with duid 00:01:00:01:22:20:fd:59:1c:1b:xx:xx:xx:xx iaid = 186391309 valid for 3600 seconds
    2022:07:01-17:09:22  dhcpd6: Sending Reply to fe80::1e1b:dff:xxxx:xxxx port 546

    Still very odd why this client is not in Lease table at all.

    /Tomi

Children
No Data