
If the number of simulated clients exceedsĦ5535, three bytes will be randomized and so on. One which precedes it (random-offset - 1). Randomized in this case: the byte which randomization offset parameter points to, and the Note, that two last bytes of the client identifier will be If the number of simulated clients is between 25, Of simulated clients is between 1 and 255, only one byte (to which randomization offset Number of bytes being randomized depends on the number of simulated clients. Points to the end (not the beginning) of the client identifier (or HW address field). Template where randomization should be performed. The -O random-offset option allows specification of the offset in the Is necessary to randomize the client identifier (or HW address in DHCPv4) in the packetĬreated from it. Since packets for each client are generated from the same template file, it

In many scenarios, perfdhcp needs to simulate multiple clients (having unique client Into this field before sending the packet to the server. If the offset is specified, perfdhcp will inject the current elapsed time value For example, the -E time-offset switch specifies the offset of the DHCPv6 Elapsed Time option in the packet Specify offsets of the data fields being modified in outbound packets. The template files should be used in conjunction with the command line parameters which Template file is parsed (so in the file, '12B4' is the same as '12 B4' which is the same The template file must not contain anyĬharacters other than hexadecimal digits and spaces. The template file holds the DHCP packet represented as a stream of ASCII hexadecimalĭigits and it excludes any IP/UDP stack headers. (Similar determination applies to DHCPv4's DISCOVER and REQUEST packets.)

Pattern for SOLICIT packets, the second as the pattern for REQUEST packets.

Test can be limited by setting a threshold on any or all of the number of requests made by When running a performance test, perfdhcp will exchange packets with the server under testĪs fast as possible unless the -r is given to limit the request rate. RELEASE messages at a specified rate in parallel with the DHCPv6 four-way exchanges. It is also possible to configure perfdhcp to send DHCPv6 RENEW and An option is provided to run tests using the initial two-packet exchange
Dhcp client simulator software full#
It isĪble to test both IPv4 and IPv6 servers, and provides statistics concerning response timesĪnd the number of requests that are dropped.īy default, tests are run using the full four-packet exchange sequence (DORA for DHCPv4, It provides a way of measuring the performance ofĭHCP servers by generating large amounts of traffic from simulated multiple clients. ĭESCRIPTION perfdhcp is a DHCP benchmarking tool.
