tcpreplay
Replay network traffic stored in a pcap file. tldr-pages
On several platforms
Several platforms
List available network interfaces
tcpreplay --listnicsIdentifyReplay traffic to interface
tcpreplay --intf1 eth0 traffic.pcapIdentifyReplay traffic to interface and stdout
tcpreplay --intf1 eth0 --verbose traffic.pcapIdentifyReplay traffic to interface as fast as possible
tcpreplay --intf1 eth0 --topspeed traffic.pcapIdentifyReplay traffic to interface at given Mbps
tcpreplay --intf1 eth0 --mbps 10 traffic.pcapIdentifyReplay traffic to interface several times
tcpreplay --intf1 eth0 --loop num_times traffic.pcapIdentify