Hi Kraishak, If you are just testing, create logging configurations for all of the categories listed here: https://kea.readthedocs.io/en/kea-2.2.0/arm/logging.html#id3 and set DEBUG and debuglevel 99. This will log all there is to log. I recommend setting up a different file for each category as there can be a ridiculous amount of logs.
Thank you, Darren Ankney On Fri, Jun 23, 2023 at 8:22 AM Kraishak Mahtha <kraishak....@gmail.com> wrote: > > Hi Darren, > > However, it is still a tool-based test, right? I tried using the actual > clients i.e from the laptops and tcpdump shows the time elapsed seconds are > greater than 10 seconds. > > My major doubt or concern is why my packet/client is not considered as an > unacked-client, or if it is a valid unacked-client is the kea-dhcp unable to > increase its counter (do I need to add any config more to work as it > expected?). > > Do we have any specific log file where I can check for this unacked-client > thing? > > Thanks > Kraishak > > > > On Fri, Jun 23, 2023 at 4:47 PM Darren Ankney <darren.ank...@gmail.com> wrote: >> >> Hello all, >> >> A better way to test this would be with perfdhcp >> (https://kea.readthedocs.io/en/kea-2.2.0/man/perfdhcp.8.html) with >> something like this: >> >> perfdhcp -4 -y 10 -Y 3600 -r 1 -R 5 -p 3700 -t 60 -l <interface> >> >> You'd need a linux install (virtual on your windows computer would be >> fine as long as using bridged adapter of some kind) to install >> perfdhcp which is part of Kea. The relay agent should pick up and >> forward (it should be broadcast, in any case, if your DHCP servers are >> local). In either case, both servers should see the packets. When >> you shut one of them down, the packets sent by perfdhcp will already >> have increased secs field content. >> >> Thank you, >> >> Darren Ankney >> >> On Fri, Jun 23, 2023 at 6:23 AM Kevin P. Fleming >> <lists.kea-us...@kevin.km6g.us> wrote: >> > >> > On Fri, Jun 23, 2023, at 06:16, Kraishak Mahtha wrote: >> > >> > And also one last question, is it suggested to go with un-acked-clients >> > value as zero both in hot-stand-by mode and load balance mode? >> > >> > >> > As has been mentioned before, please read the Kea ARM carefully and >> > thoroughly, especially the HA hook section. There is very specific and >> > well-written guidance on when max-unacked-clients should be set to zero. >> > -- >> > ISC funds the development of this software with paid support >> > subscriptions. Contact us at https://www.isc.org/contact/ for more >> > information. >> > >> > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. >> > >> > Kea-users mailing list >> > Kea-users@lists.isc.org >> > https://lists.isc.org/mailman/listinfo/kea-users >> -- >> ISC funds the development of this software with paid support subscriptions. >> Contact us at https://www.isc.org/contact/ for more information. >> >> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. >> >> Kea-users mailing list >> Kea-users@lists.isc.org >> https://lists.isc.org/mailman/listinfo/kea-users -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users