PCAP Flow Generation
One the massive benefits of a full line rate PCAP replay feature is, you can generate PCAPs at any speed, upload them to the FMAD Packet Replay Device and then replay them at any speed you required. There are many ways to generate PCAP files for replay, we will use our builtin utility pcap_genflow ( https://github.com/fmadio/pcap_genflow however many other tools such as tcpreplay, iperf3 and others which can output to a PCAP file for upload.
is to generate the PCAP using various toolchains
Upload the PCAP into the FMADIO Capture System
Replay the capture at any speed
PCAP Generation
Some example using pcap_genflow as follows
100Gbps @ 64B Packets, TCP , 1 Billion Unique Flows
Generate 1 billion packets, with 1M unique TCP flows using 64B packets @ 100Gbps
100Gbps @ 1500B packets, TCP, 1 Million Unique Flows
Generate 100M packets, with 1M unique TCP flows using 1500B packets @ 100Gbp
100Gbps @ IMIX Packet size distribution, TCP, 1 Million Unique Flows
Generate 100M packets, with 1M unique TCP flows using IMIX packet size distribution @ 100Gbps
Uploading PCAP into FMADIO
Typically when generating PCAP files the output is written to a linux pipe, the FMAD PCAP File upload function always reads PCAPs from stdin. The tool to upload PCAP into the FMAD capture system is stream_upload. The syntax is
Example of uploading the previously generated file flow_1M_IMIX_100G.pcap. PCAP can be scp to the device, or streamed over an SSH connection
Or this can be generated via on the FMADIO device itself, by piping the output of pcap_genflow directly to stream_upload
Replay PCAP File
Once the PCAP has been uploaded into the capture system, it can be replayed with various options as discussed here. It should be clear PCAP Generation + Upload + Replay is a powerful tool for any Network Engineer. If you have suggestions or questions feel free to contact us.
Last updated