blob: 1aef7e8744482f80a1e64686c9719a3dcd752960 (
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
```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
```
## References
- https://www.badunetworks.com/traffic-shaping-with-tc/
|