It was neccessary to test failover script which should switch uplink in case of main ISP outage.
First thing is to just plug the cable out. But how to simulate high RTT and packet losses?
Here comes traffic control (
tc) utility with it's queuing disciplines (
qdisc). Long story short, it …