Re: Client and server on same computer


Dag Bakke wrote:
On 05/30/2007 08:09 PM, Daniel Janzon wrote:
Hello!

Does anyone know a neat way to run the iperf server and client on the
same computer? The computer has two ethernet cards (eth0 and eth1). It
would be nice to be able to test equipment using a single station.

What exactly did you intend to test?

Wifi equipment. I want to have a test station where you connect a wifi router on one interface and a wifi usb adapter on another. Then a button is clicked and test suite is run.

You can run iperf within QEMU, and bridge the qemu instances to physical
ethernet ports. With qemu, you can have a bunch of virtual hosts.


Say I associate eth0 with one virtual host and eth1 with another. Will not the traffic between the virtual hosts still bypass the physical cables between the interfaces and just run through the kernel of the machine hosting the virtual hosts?

For proper results, you probably need two separate hosts *doing nothing
but running iperf*. You don't want your results to be flawed because
your host cpu is busy doing something (anything) else. BTDTGTTS.

This would be a dedicated machine. If the speed of the ethernet card(s) is significantly higher than the equipment under test, I don't see how it could be a problem using a single machine.

            / Daniel



Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index