blob: 58268a6b8917e635d324f1b00349e9276c3305f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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/
|