Re: Client and server on same computer
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.
>
> I've been playing around a bit with route, iptables and turned of the
> loopback device but can't think of anything.
>
> / Daniel
What exactly did you intend to test?
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.
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.
Dag B.