Simulace výpadků sítě

https://man7.org/linux/man-pages/man8/tc-netem.8.html

Funguje jen pro odchozi ramce

#delay tc qdisc add dev lo root netem delay 500ms tc qdisc change dev lo root netem delay 1s #loss of 50% of segments with a correlation of 25% tc qdisc add dev lo root netem loss 50% 25% #segment corruption with 50% probability with no correlation: tc qdisc change dev lo root netem corrupt 50% tc qdisc change dev lo root netem duplicate 50% 25% tc qdisc change dev lo root netem delay 10ms reorder 25% 50% tc qdisc change dev lo root netem delay 10ms reorder 25% 50% gap 5 tc qdisc change dev lo root netem rate 56kbit #show current config tc qdisc #remove config from interface tc qdisc del dev lo root netem