Keep in mind that this only works for outbound traffic, so choose your network interface accordingly.
sudo tc qdisc add dev eth0 root netem delay 100ms
To check status
sudo tc -s qdisc
sudo tc qdisc del dev eth0 root
To add 100ms to all outbound traffic on etho
sudo tc qdisc add dev eth0 root netem delay 100ms
To check status
sudo tc -s qdisc
To remove the delay from eth0
sudo tc qdisc del dev eth0 root
No comments:
Post a Comment