1

To test bandwidth, I just can push data from client to server with iperf. But can i pull data from server to client ? that is like webserver, the client request data, then server give data to client?

1 Answer 1

5

iperf is capable of bidrectional tests, either simultaneously with "-d" or sequentially with "-r". Using "-r" will test bandwidth from client to server first, then server to client afterwards which is what you're after, I believe.

6
  • thanks! But i just need test server to the client because of PPTP, you know, one client which connects PPTP(virtual ip is 172.17.0.10) can find other pc without connecting pptp(192.168.1.21), but other pc without connecting pptp can not find the virtual ip. my purpose is testing the PPTP traffic.
    – larry
    Jan 26, 2011 at 5:42
  • I want to test the bandwidth from one ethnet ip to one pptp virtual ip, maybe i need to program to deal with it myself
    – larry
    Jan 26, 2011 at 5:43
  • 1
    So basically you have a PPTP end-point and a real network "behind" it with servers and you want to test the bandwidth from a server which is on the real network to the clients which connect over PPTP?
    – rthomson
    Jan 26, 2011 at 15:13
  • right! is there any good method to do this ?
    – larry
    Feb 15, 2011 at 2:41
  • @cense, can i skip the first step with the "-r" ?
    – larry
    Feb 15, 2011 at 2:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .