Closed ManofWax closed 1 year ago
Unable to reproduce the issue.
$ sudo src/tcpreplay -i bond0 ~/git/tcpreplay-pcaps/ping.pcap
Actual: 16 packets (1568 bytes) sent in 7.04 seconds
Rated: 222.5 Bps, 0.001 Mbps, 2.27 pps
Flows: 2 flows, 0.28 fps, 16 flow packets, 0 non-flow
Statistics for network device: bond0
Successful packets: 16
Failed packets: 0
Truncated packets: 0
Retried packets (ENOBUFS): 0
Retried packets (EAGAIN): 0
$ uname -a
Linux buster-fkk 4.19.0-20-amd64 #1 SMP Debian 4.19.235-1 (2022-03-17) x86_64 GNU/Linux
Closing. I suspect an old kernel bug caused the original issue. Feel free to reopen using the bug form, and include all information required to reproduce.
Describe the bug When running tcpreplay on a bonding interface that as the underling phisical interface disconnected (NO-CARRIER) tcpreplay "hangs" and sends the first packet on the pcap as fast as it could.
To Reproduce Make a bonding interface using a phisical interface without any cable connected:
The phisical interface has no cable connected:
Run tcpreplay against the bonding interface:
tcpreplay hangs and floods the interface sending the first packet as fast as he could.
Running tcpreplay against the phisical interface works fine:
Expected behavior I was expecting the same behaviour both on bond0 and enp0s31f6