Continued importing some old wiki content

This commit is contained in:
Julien Dessaux 2021-03-19 23:39:19 +01:00
parent b1283325a5
commit 80c6fffa71
3 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,22 @@
---
title: Traffic shaping with tc
date: 2019-09-17
description: How to use the tc command to shape traffic on linux
tags:
- linux
---
## How to
{{< highlight sh >}}
tc qdisc show dev eth0
tc qdisc add dev eth0 root netem delay 200ms
tc qdisc show dev eth0
tc qdisc delete dev eth0 root netem delay 200ms
tc qdisc show dev eth0
{{< /highlight >}}
## References
- https://www.badunetworks.com/traffic-shaping-with-tc/