Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 4 down vote accepted

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.

share|improve this answer
thanks! But i just need test server to the client because of PPTP, you know, one client which connects PPTP(virtual ip is can find other pc without connecting pptp(, but other pc without connecting pptp can not find the virtual ip. my purpose is testing the PPTP traffic. – larry Jan 26 '11 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 '11 at 5:43
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 '11 at 15:13
right! is there any good method to do this ? – larry Feb 15 '11 at 2:41
@cense, can i skip the first step with the "-r" ? – larry Feb 15 '11 at 2:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.