Simulating WAN Links with Linux and TC

Simulating WAN links used to be a difficult process. I would load FreeBSD with a dummynet driver and play with the settings to tweak where I needed it for the activity. OpenBSD with ALTQ made this a step simpler with the ease of bridging adapters. On a recent project for Spec Ops Technology, I needed to simulate a WAN with latency, loss, and randomness. I decided I needed to dig more into the netem work included in most recent linux distributions. Netem has matured to the point of being a very potent utility for setting up quick testbeds. Additionally with most any modern Linux distro you are online in minutes. I will post a very quick script to get you online: ...

September 22, 2013 · 2 min · Nick