Skip to Content
Navigation:

A stick figure smiling

Here's a preview from my zine, Bite Size Networking!! If you want to see more comics like this, sign up for my saturday comics newsletter or browse more comics!

Image of a comic. To read the full HTML alt text, click "read the transcript". get the zine!
read the transcript!

tc

is for “traffic control”

humanoid traffic light, its hand held up as though directing traffic: packets! stop/slow down/go the other way!

great for simulating network problems!

make your internet slow

$ sudo tc qdisc add dev
  wlp3s0 root netem
  delay 500ms

(delay packets by 500ms)

and fast again:

$ sudo tc qdisc del dev
  wlp3s0 root netem

netem rules

netem (“network emulator”) is a part of tc that lets you:

  • drop
  • duplicate
  • delay
  • corrupt

packets. see the man page $ man netem

make your brother’s internet slow

Have a Linux router? You can configure tc on it to make your brother’s internet slower than yours. google “tc QoS” for a start.

show current tc settings

$ tc qdisc show
$ tc class show dev DEV
$ tc filter show dev DEV

panel 6

smiling stick figure: tc can do 10 million more things! This is just the beginning!