1.) It uses either TCP or UDP (you get to choose) so as long as the network can route standard IP traffic, it will work.

On the server, do `iperf -s`. On the client, do `iperf -c WWW.XXX.YYY.ZZZ` (where WWW.XXX.YYY.ZZZ is the server's IP). `iperf --help` gives you all the options.

2.) Depends on how the traffic is routed. If you have two devices on the same network, but the traffic for them is routed out to the world and then back (because of how their subnets are configured, for example), then the traffic will go out to the world and then come back. So, it comes down to "it depends", and you'll need to see what your network topology is like (for example, with something like traceroute) and the speed you'll get is the actual speed. You'll have to determine where the bottleneck is based on how your network is set up. For example, if you are just 1 hop away, then it's almost certainly limited by just the media. But, if you've got several hops, then you may be limited by the router that is passing traffic between the networks, or the links that connect different switches or routers, or whatnot.


On 09/01/2018 04:02 PM, Abdullah Alabbas wrote:


On Sat, Sep 1, 2018 at 11:59 PM, Abdullah Alabbas <abdullah.alab...@ipsksa.com <mailto:abdullah.alab...@ipsksa.com>> wrote:

    This is Abdullah Alabbas a networking engineer that works in a
    school. I read about the iperf tool and fall in love with it and
    like to know how to test the bandwidth of a wan connection where
    the server and client would be in two separate network. It worked
    with me when I was testing through a local network (I mean where
    two devices are in one network).

    My questions:

    1) how to test the bandwidth of a wan link where two devices in
    two separate network?
    I searched online to see a simple set up to test the connection
    between two devices in two separate network, but does not see a
    result...

    2) if I am testing two devices in the same network, would they
    test the media between them only? Or, they actually testing the
    wan link that connect them to the network? in another words, are
    the numbers purely for the wan connection or they are affected by
    the media that connects them (wired or wireless)?

    Please I appreciate your help if ASAP...

    Thanks,

    Abdullah Alabbas

    
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
        Virus-free. www.avast.com
    
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>




--
Matthew Caron, Senior Software Engineer
Red Lion Controls | www.redlion.net <http://www.redlion.net>
+1 (518) 877-5173 x138 office
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to