Hacker News new | past | comments | ask | show | jobs | submit login

It's actually trivial to simulate a high-latency low bandwidth network on Linux with the traffic control subsystem, one need not switch networks at all.

  tc qdisc change dev enp1s0 root netem delay 300ms 200ms loss 10% 80%
This command delays all packets in and out of the wired interface enp1s0 300ms, +/- 200ms, with 10-80% packet loss.



all packets in and out

Are you sure about that ? According to man tc, it only works on egress.


Nope, I would definitely trust the man page.


Where's the low bandwidth portion of the command?


You can also limit interfaces with TC to a certain bandwidth. It's super easy!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: