[kea-dev] perfdhcp bugfix
Angelo Failla
pallotron at fb.com
Thu Apr 7 19:25:17 UTC 2016
Found a problem when making some benchmark testing. The XID is incremented wrongly.
A XID should last for the duration of a SORA 4-way handshake...
However it doesn’t seem to be working properly:
$ perfdhcp -4 -r 1 -n 2 -p 60 -t 1 -b mac=90:e2:ba:95:b9:28 10.88.45.33
$ sudo tshark udp port 67
Running as user "root" and group "root". This could be dangerous.
Capturing on 'eth0'
1 0.000000 10.35.166.47 -> 10.88.45.33 DHCP 295 DHCP Discover - Transaction ID 0x0
2 0.030098 10.88.45.33 -> 10.35.166.47 DHCP 416 DHCP Offer - Transaction ID 0x0
3 0.030426 10.35.166.47 -> 10.88.45.33 DHCP 307 DHCP Request - Transaction ID 0x1
4 0.057158 10.88.45.33 -> 10.35.166.47 DHCP 416 DHCP ACK - Transaction ID 0x1
5 1.000689 10.35.166.47 -> 10.88.45.33 DHCP 295 DHCP Discover - Transaction ID 0x2
6 1.027757 10.88.45.33 -> 10.35.166.47 DHCP 416 DHCP Offer - Transaction ID 0x2
7 1.027866 10.35.166.47 -> 10.88.45.33 DHCP 307 DHCP Request - Transaction ID 0x3
8 1.047429 10.88.45.33 -> 10.35.166.47 DHCP 416 DHCP ACK - Transaction ID 0x3
I made a PR on github for this in case you want to take a look:
https://github.com/isc-projects/kea/pull/19
--
Angelo Failla
Cluster Infrastructure - Dublin
Pallotron at fb.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-dev/attachments/20160407/c5e0dc7c/attachment.html>
More information about the kea-dev
mailing list