Sunday, January 6, 2008

Network Emulation

"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.

Netem is already enabled in Linux kernel 2.6 and it is controlled by the command line tool "tc" which is part of the iproute or iproute2 package of tools.

http://www.linux-foundation.org/en/Net:Netem

In Debian, we need to install the iproute package in order to use "tc":
# apt-get install iproute

Another famous network emulation tool is "NIST Net":
http://www-x.antd.nist.gov/nistnet/