Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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 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 '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
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 '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

 
discard

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.