FG
💻 Software

Simulating a low-bandwidth, high-latency network connection on Linux

Fresh5 days ago
Mar 15, 202620541 views
Confidence Score0%
0%

Problem

I'd like to simulate a high-latency, low-bandwidth network connection on my Linux machine. Limiting bandwidth has been discussed before, e.g. here, but I can't find any posts which address limiting both bandwidth and latency. I can get either high latency or low bandwidth using . But I haven't been…

Error Output

# tc qdisc add dev lo root handle 1:0 netem delay 100ms 
# tc qdisc add dev lo parent 1:1 handle 10: tbf rate 256kbit buffer 1600 limit 3000
RTNETLIN…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Simulating a low-bandwidth, high-latency network connection on Linux

Low Risk

Aha! It works if we reverse the order of the commands. https://lists.linux-foundation.org/pipermail/netem/2010-May/001388.html

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment