Skip to content

Instantly share code, notes, and snippets.

@kahrl
Created August 31, 2013 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kahrl/6398692 to your computer and use it in GitHub Desktop.
Save kahrl/6398692 to your computer and use it in GitHub Desktop.
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: prio
tc qdisc add dev eth0 parent 1:1 handle 2: netem delay 1000ms
tc filter add dev eth0 parent 1:0 protocol ip pref 55 handle ::55 u32 match ip dst 176.9.122.10 flowid 2:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment