perfdhcp -W doesn't limit the number of requests via -n if the rate is not mentioned via -r
Expectation, even when -r
is not specified:
Running: perfdhcp -4 -l vethclient -n 100 -r 100 -W 1000000
***Statistics for: DISCOVER-OFFER***
sent packets: 100
received packets: 100
Reality:
Running: perfdhcp -4 -l vethclient -n 100 -W 1000000
***Statistics for: DISCOVER-OFFER***
sent packets: 2394
received packets: 97
Discovered while responding to https://lists.isc.org/pipermail/kea-users/2022-May/003432.html.