Options (5)
-i, --intf1booleanReplay traffic to interface
Example:
tcpreplay {{[-i|--intf1]}} {{eth0}} {{traffic.pcap}}-v, --verbosebooleanReplay traffic to interface and `stdout`
Example:
tcpreplay {{[-i|--intf1]}} {{eth0}} {{[-v|--verbose]}} {{traffic.pcap}}-t, --topspeedbooleanReplay traffic to interface as fast as possible
Example:
tcpreplay {{[-i|--intf1]}} {{eth0}} {{[-t|--topspeed]}} {{traffic.pcap}}-M, --mbpsbooleanReplay traffic to interface at given Mbps
Example:
tcpreplay {{[-i|--intf1]}} {{eth0}} {{[-M|--mbps]}} {{10}} {{traffic.pcap}}-l, --loopbooleanReplay traffic to interface several times
Example:
tcpreplay {{[-i|--intf1]}} {{eth0}} {{[-l|--loop]}} {{num_times}} {{traffic.pcap}}Examples (6)
List available network interfaces
tcpreplay --listnicsReplay traffic to interface
tcpreplay [-i|--intf1] eth0 traffic.pcapReplay traffic to interface and `stdout`
tcpreplay [-i|--intf1] eth0 [-v|--verbose] traffic.pcapReplay traffic to interface as fast as possible
tcpreplay [-i|--intf1] eth0 [-t|--topspeed] traffic.pcapReplay traffic to interface at given Mbps
tcpreplay [-i|--intf1] eth0 [-M|--mbps] 10 traffic.pcapReplay traffic to interface several times
tcpreplay [-i|--intf1] eth0 [-l|--loop] num_times traffic.pcapmade by @shridhargupta | data from tldr-pages