mirror of
https://bitbucket.org/mangelo/snippets.git
synced 2024-11-21 18:31:00 +02:00
Delay, Jitter, Packet loss.
This commit is contained in:
parent
9608255574
commit
1d5d7bde5a
13
delay-jitter-packetloss.sh
Normal file
13
delay-jitter-packetloss.sh
Normal file
@ -0,0 +1,13 @@
|
||||
#
|
||||
# Add output delay, jitter and packet loss.
|
||||
#
|
||||
# +-- delay +-- lost percent
|
||||
# +-- interface | +-- jitter | +-- burst
|
||||
# v v v v v
|
||||
tc qdisc add dev eth1 root netem delay 10ms 1ms distribution normal loss 4% 10%
|
||||
|
||||
# Change.
|
||||
tc qdisc change dev eth1 root netem delay 10ms 1ms distribution normal loss 4% 10%
|
||||
|
||||
# Delete.
|
||||
tc qdisc del dev eth1 root netem
|
Loading…
Reference in New Issue
Block a user