Simulate latency on network connection

This entry is recently updated at May 31, 2017

Goal

For testing purposes, we may want to add latency to an interface. This way we could simulate how an application would respond to the extra delay.

Commands

tc qdisc add dev eth0 root netem delay 80ms 15ms distribution normal

The tc command can be used to add latency on an interface for testing purposes

What do you think, was this useful?

Yes!

Share with friends:
Share on Twitter