tcpreplay

How do I pump traffic using tcpreplay at 100 MBps, 500 MBps and 1Gbps speeds?

最后都变了- 提交于 2019-12-05 06:33:57
问题 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

How do I pump traffic using tcpreplay at 100 MBps, 500 MBps and 1Gbps speeds?

我的未来我决定 提交于 2019-12-03 21:47:21
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. 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.073761 seconds. Rated: 124951275.0 Bps, 999.61 Mbps, 193340.65 pps Flows: 1209 flows, 16390.77 fps, 14243 flow