tc qdisc Linux Traffic Control or tc
http://www.mariopinho.com/en/how-to-simulate-latency-linux/
Impairment Node:Â Link
manual:Â Link
set / break | #!/bin/bash echo " " sudo tc qdisc add dev eth2 root netem delay 300ms loss 25% |
release / finish | #!/bin/bash echo " " sudo tc qdisc del dev eth2 root netem |
show | tc qdisc show  dev eth0 |