DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] pktgen - IP address randomness
@ 2017-05-22 23:31 Chris Hall
  2017-05-23  5:16 ` Shyam Shrivastav
  2017-05-23 11:49 ` Wiles, Keith
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Hall @ 2017-05-22 23:31 UTC (permalink / raw)
  To: users

Hello,

pktgen-3.2.4

I Looking to get as much randomness out of src ip’s as possible. Using this config in lua…

        pktgen.src_ip('0', 'start',"0.0.0.1");
        pktgen.src_ip('0', 'min', "0.0.0.1");
        pktgen.src_ip('0', 'max', "255.255.255.254");
        pktgen.src_ip('0', 'inc', "1.1.1.1");

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 ?

Thanks much.

  *   Chris




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-23 11:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-22 23:31 [dpdk-users] pktgen - IP address randomness Chris Hall
2017-05-23  5:16 ` Shyam Shrivastav
2017-05-23 11:50   ` Wiles, Keith
2017-05-23 11:49 ` Wiles, Keith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).