Often it is necessary for testing purposes to recreate the networking conditions found in a high latency network, such as a satellite link.
Firstly create a network bridge that can be placed inbetween the test network and its router.
To increase network latency use the following command:
tc qdisc add dev eth0 root netem delay 2000ms
which will delay every IP packet going through the bridge by 2 seconds.
To reset this delay and remove the 2 seconds of latency:
tc qdisc del dev eth0 root
viaEmulating a high latency network connection using Linux and TC.