The client is connecting to port 5001 while the
server is listening on port 5000.
I think you need to specify the port at the client side.

try using the -p 5000 option or
just specify 5000 after the hostname. One of them should
work.

type

iperf -help 
to see the options.

-----Original Message-----
From: gini-boun...@cs.mcgill.ca [mailto:gini-boun...@cs.mcgill.ca] On Behalf
Of Sanket Manjul Joshipura
Sent: Thursday, November 05, 2009 6:48 PM
To: gini@cs.mcgill.ca
Subject: [gini] iperf problems

Hi,

We are trying to run the first 2 iperf commands.

At the server:

192.168.4.6:~# iperf -i 1 -s -p 5000
------------------------------------------------------------
Server listening on TCP port 5000
TCP window size: 85.3 KByte (default)
------------------------------------------------------------


At the client:

192.168.6.7:~# iperf -t 600 -c 192.168.4.6
connect failed: Connection refused
write1 failed: Broken pipe
write2 failed: Broken pipe
------------------------------------------------------------
Client connecting to 192.168.4.6, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 0.0.0.0 port 39088 connected with 192.168.4.6 port 5001
[  3]  0.0- 0.0 sec  0.00 Bytes  0.00 bits/sec

What is the possible problem? The topology is working, and the machines
otherwise can connect using ping.

Thanks

Sanket

_______________________________________________
gini mailing list
gini@cs.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/gini

_______________________________________________
gini mailing list
gini@cs.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/gini

Reply via email to