Auteur Sujet: I want to user function '--cport'  (Lu 819 fois)

0 Membres et 1 Invité sur ce sujet

Byounguk Lee

  • Client FAI autre
  • *
  • Messages: 6
I want to user function '--cport'
« le: 18 mai 2016 à 16:36:54 »
Dear,
 
Hi.
 
I'm a graduate student studying network.
 
I have a question about iperf3
 
 
If you do not mind, could you explain function of iperf  '--cport'?
 
I know this function is for specify client node.
 
I want to use this function, e.g. '--cport 12222'.
 
but iperf3 does not act, and show me  the line "iperf3: parameter erro - --bind must be specified to use --cport"
 
 

Could you explain to me, how to use '--cport'?
 
Je vous remercie


Yours sincerely,


- Byoung Uk lee




 
 

cali

  • Officiel Ukrainian Resilient Data Network
  • Client OVH adsl
  • *
  • Messages: 1 526
    • Ukrainian Resilient Data Network
I want to user function '--cport'
« Réponse #1 le: 18 mai 2016 à 17:42:32 »
but iperf3 does not act, and show me  the line "iperf3: parameter erro - --bind must be specified to use --cport"

This means that you have to specify the network interface's IP address that you want to use to perform the test with -B, --bind <host>.

Therefore, something like that:

iperf3 -c 10.0.0.1 -B 10.0.0.2 --cport 12222
Where 10.0.0.1 is the address of the server where iperf3 is listening for incoming connection and 10.0.0.2 your network interface's IP.

Byounguk Lee

  • Client FAI autre
  • *
  • Messages: 6
I want to user function '--cport'
« Réponse #2 le: 23 mai 2016 à 08:59:09 »
Je peux constater que cela fonctionne très bien

Merci beaucoup ! :)

-Byounguk lee