[dpdk-users] pktgen - IP address randomness
chris.hall at stackpath.com
Tue May 23 01:31:30 CEST 2017
I Looking to get as much randomness out of src ip’s as possible. Using this config in lua…
pktgen.src_ip('0', 'min', "0.0.0.1");
pktgen.src_ip('0', 'max', "255.255.255.254");
pktgen.src_ip('0', 'inc', "188.8.131.52");
running a packet capture of 5Million packets on the receiving host, parsing the pcap file, based on source ip, seems I can only get about 32769 uniq ip's, (each connected about 150 times).
As a comparison I used hping3 with --rand-source option (5million packets) I can get about 4942744 uniq ip’s.
Is there a configure option(s) somewhere that could be tuned for more randomness or is the above parms just wrong ?
More information about the users