Results 1 to 2 of 2
Hi, I'm trying to do some network testing using iperf, and I'd like to be able to run both the iperf client and server on the same computer. My problem ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-22-2010 #1
- Join Date
- Jun 2010
iperf server and client on same computer
Hi, I'm trying to do some network testing using iperf, and I'd like to be able to run both the iperf client and server on the same computer. My problem is that I can't get the computer to rout the packets to an external device on the network, rather than take a shortcut and internally rout the packets to the other network card. Iperf's man page says its bind option can take an interface as an argument, but when I try:
/usr/bin/iperf -l 1392 -s -u -P 2 -B eth0
I get the error:
error: No address associated with hostname
If this is not the right way to specify an interface, what is?
- 12-06-2010 #2
- Join Date
- Dec 2010
This error is iperf's way of reporting that it was unsuccessful in resolving a hostname to an IP address.
For example this will preduce that error:
iperf -c -u iperf
While the correct way is this (-u and -c is swapped):
iperf -u -c iperf
I hope this helps.