I just installed a PCI NIC with two 2.5 Gbps ports. I connected the two ports with a cat6 patch cable.
I would like to test whether the ports can actually receive/transmit at their advertised speed.
What I thought I should do is run
But it's not clear how to force packets to come out of a particular interface (enp4s0).
How might I achieve this?
I thought of assigning enp3s0 and enp4s0 static IPs, and creating a container hooked up to a new bridge interface with enp4s0, then running iperf from it.
But I must have misconfigured something because the container complained with I tried talking to the iperf sever.
I would like to test whether the ports can actually receive/transmit at their advertised speed.
What I thought I should do is run
iperf -s
on one interface (enp3s0), and then use the other with iperf -c
(enp4s0).But it's not clear how to force packets to come out of a particular interface (enp4s0).
How might I achieve this?
I thought of assigning enp3s0 and enp4s0 static IPs, and creating a container hooked up to a new bridge interface with enp4s0, then running iperf from it.
But I must have misconfigured something because the container complained with I tried talking to the iperf sever.