On Thu, Jul 21, 2011 at 12:20:00PM +0200, Andrew Lunn wrote: [...]
You might want to consider using a network simulator/emulator. Use a number of user mode linux nodes, or qemu nodes, connected together using a virtual network. You can control the packets losses, paths etc, much easier and dynamically.
Take a look at this page for an example:
Yes, this is an extreme good reminder. It cannot be used for performance analysis, but is quite good to test routing in extreme weird situation.
Only a small hint: Try to use qemu-kvm instead of qemu and enable KSM [1] when not enough memory is available to hold all virtual machines in memory.
Kind regards, Sven
[1] http://www.linux-kvm.com/content/using-ksm-kernel-samepage-merging-kvm