I want to simulate the following scenario: given that I have 4 ubuntu server machines A,B,C and D. I want to reduce the network bandwidth by 20% between machine A and machine C and 10% between A and B. How to do this using network simulation/throttling tools ?
Asked
Active
Viewed 2,478 times
2 Answers
1
Ubuntu comes with a tool called NetEm. It can control most of the network layer metrics (bandwidth, delay, packetloss). There are tons of tutorials online.
Dummynet is one such tool to do it.
KauNet a tool developed by karlstad university, which can introduce packet level control.

RC Brand
- 429
- 6
- 10
1
The simple program wondershaper fits here very well. Just execute:
sudo wondershaper eth0 1024 1024
It will limit your network bandwidth on the eth0
interface to 1Mbps download and upload rate.

Martin Zabel
- 3,589
- 3
- 19
- 34

majapahit
- 71
- 9