Is there a way to constrain the bandwidth on a NIC in linux? I'd like to be able to simulate an arbitrarily slow connection.
Linux Networking – How to Throttle Bandwidth on a Network Interface
bandwidthlinuxnetworking
bandwidthlinuxnetworking
Is there a way to constrain the bandwidth on a NIC in linux? I'd like to be able to simulate an arbitrarily slow connection.
Best Answer
The netem kernel module, controlled by iproute.
You need to compile Netem with the kernel:
Once the netem module loaded, iproute's tc allows you things like:
(50 % packet loss, extra delay of 50 ms)