Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, Is there a way to use iperf client to use a specific source port? for example ./iperf -c <server IP> -B <local IP>-u -p 40000 will bind to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2011
    Posts
    1

    Iperf usage question


    Hi All,
    Is there a way to use iperf client to use a specific source port?

    for example

    ./iperf -c <server IP> -B <local IP>-u -p 40000 will bind to server at port 40000. But is there anyway to tell the client to use a fixed source port say 30000 and bind to server at 40000?

    can iperf do this?

    If not, is there any other tool that can do this?

    Thanks a lot for all your help.

  2. #2
    Just Joined!
    Join Date
    Aug 2009
    Location
    Germany
    Posts
    12
    read iperf man page, I believe it's not possible. Try MGEN: http : // pf.itd.nrl.navy.mil / mgen / mgen.html or http : // downloads.pf.itd.nrl.navy.mil / mgen

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •