Side note: Using a secondary network interface is recommended since the following commands could make a remote machine unreachable. This a blog post about the basics of netem and tc on how to modify the outgoing traffic. You could modify the incoming traffic with an Intermediate Functional Block pseudo-device in Linux, but I am not too familiar with it and is out of scope for now. Reasons to simulate an unreliable network connection # There are various reasons why you want to modify the traff...