What is netem?
NetEm is an enhancement of the Linux traffic control facilities that allow to add delay, packet loss, duplication and more other characteristics to packets outgoing from a selected network interface. NetEm is built using the existing Quality Of Service (QOS) and Differentiated Services (diffserv) facilities in the Linux kernel.
How do I enable netem in the Linux kernel?
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: Netem is controlled by the command line tool ‘tc’ which is part of the iproute2 package of tools.
What are the options available in netnetem?
netem has the following options: limit packets maximum number of packets the qdisc may hold queued at a time. delay adds the chosen delay to the packets outgoing to chosen network interface. The optional parameters allows to introduce a delay variation and a correlation.
What are the best resources for learning netem?
1. Hemminger S., “Network Emulation with NetEm”, Open Source Development Lab, April 2005 (http://devresources. linux- foundation. org/shemminger/netem/LCA2005_paper. pdf) 2. Netem page from Linux foundation, (https://wiki. linuxfoundation. org/networking/netem) 3. Salsano S., Ludovici F., Ordine A.