Linux netem
Reference: http://www.linuxfoundation.org/collaborate/workgroups/networking/netem
netem provides Network Emulation functionality for testing protocols by emulating the properties of wide area networks. The current version emulates variable delay, loss, duplication and re-ordering.
If you run a current 2.6 distribution, (Fedora, OpenSuse, Gentoo, Debian, Mandriva, Ubuntu), then netem is already enabled in the kernel and a current version of iproute2 is included. The netem kernel component is enabled under:
Networking –> Networking Options –> QoS and/or fair queuing –> Network emulator Netem is controlled by the command line tool ‘tc’ which is part of the iproute2 package of tools.