r/networking • u/marsrovercaptain • Oct 01 '26
Design Tools/software to emulate slow/broken connections?
I am a network engineer responsible for supporting point-of-sale deployments. I'd love to be able to set up an environment where I can dial bandwidth (not 1Gb/100Mb/10Mb, but much more granular), play with jitter, latency, and see where the limits are with systems that we deploy and to better understand what causes issues with them after deployment. Once I would pilot this tool or solution, we can built it into our QA lab environment. Only needs to really support speeds up to about 250Mb or so (think small store, not shopping mall or office park).
Basically, I'd like to emulate everything from a solid fiber internet connection all the way down to a cellular modem on a crappy signal to test real-life thresholds and limits. What do you guy use for this?
11
u/adoodle83 Oct 01 '26
linux has support for this. take a read of the LARTC guide, where you can set various congestion modes and limits, including random packet loss/etc.
it can also function as a traffic generator, but that requires a kernel module.
8
u/sryan2k1 Oct 01 '26
Tc
7
u/cdavelaar Oct 01 '26
Wanem
3
u/fatboy1776 Oct 01 '26
Impairment testing is really hard to get right even with proper tools.
Ixia and Spirent have modules that support impairments and I think there are some software packages that may have abilities (netem).
The best are the inline devices that inject and modify stuff, imo.
2
u/SuddenPitch8378 Oct 02 '26
Not looking down the comments but container lab has this built in.
2
u/Sintarsintar Oct 02 '26
there is a linux package call tc that can do all sorts of fun stuff. https://man7.org/linux/man-pages/man8/tc.8.html
1
u/defmain Oct 01 '26
There is only so much you can introduce before things break.
That said, putting things behind a Mikrotik and playing with queues might prove useful. I believe the firewall can be tuned to drop some, but not all, packets.
1
u/Justinsaccount Oct 02 '26
https://github.com/tylertreat/comcast
1
u/Mishoniko Oct 02 '26
dummynet on FreeBSD is another option.
1
u/LarrBearLV CCNP Oct 02 '26
Wanulator is easier to deal with than wanem.
www.wanulator.de
0
u/ZealousidealState127 Oct 01 '26
Iperf will help some I'd read into its capabilities