Guest User

Untitled

a guest
Dec 18th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. interface=$1
  4.  
  5. tc qdisc add dev $interface root handle 1: htb default 12
  6. tc class add dev $interface parent 1:1 classid 1:12 htb rate 1500kbit
  7. tc qdisc add dev $interface parent 1:12 netem delay 200ms 60ms distribution normal
Add Comment
Please, Sign In to add comment