How do I pump traffic using tcpreplay at 100 MBps, 500 MBps and 1Gbps speeds?
问题 I used the -R and -K option but it doesnt seem to be working as I captured the pumped traffic using tcpdump and the number of packets that I see there dont seem to match the number of packets that I expect in the time frame. 回答1: First of all make sure you are using the latest version, available here. You will want to use the -K and --mbps (or -M) options, for example: # tcpreplay -i eth7 -K --mbps 1000 smallFlows.pcap File Cache is enabled Actual: 14261 packets (9216531 bytes) sent in 0