Hi Oyu,

Iperf doesn’t support this.  Iperf2 does with the –B option.  Iperf2 is 
incremental enhancements to the original iperf (vs iperf 3 which is a rewrite) 
and is linux only.

https://sourceforge.net/projects/iperf2/?source=directory
https://sourceforge.net/projects/iperf2/files/?source=directory

o Local bind supports port value using colon as delimeter (-B 10.10.10.1:60001)

Bob

From: eminem.aduna...@hushmail.com [mailto:eminem.aduna...@hushmail.com]
Sent: Friday, August 29, 2014 7:48 AM
To: iperf-users@lists.sourceforge.net
Subject: [Iperf-users] How to specify iperf exit port

Hi,
I currently use iperf to connect to a remote port on a remote host, i can 
obviously specify the remote port to connect to,
but not the local one on which i exit on, for example i launch:

<http://it.dicios.com/enit/obviously>iperf -c remote_ip -u -p 4672 -w 64k -t 10

and i receive this:

------------------------------------------------------------
Client connecting to remote_ip, UDP port 4672
Sending 1470 byte datagrams
UDP buffer size: 64.0 KByte
------------------------------------------------------------
[  3] local local_ip port 20036 connected with remote_ip port 4672

as you can see it connect to udp://remote_ip:4672 using udp://local_ip:20036
how can i specify the local port, let say using local udp 4672 instead of local 
udp 20036?

thank oyu.

regards
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to