Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any programs that can simulate an unstable network connection? [closed]

We need to simulate an unstable network connection to try to debug some connectivity issues in our server/client application and I was wondering if there are any programs out there that can simulate those conditions such as on a faint wireless network.

I'm not just referring to reducing bandwidth, but also reducing reliability, frequent on and off, short bursts of disconnectedness, etc.

like image 944
Davy8 Avatar asked Mar 17 '09 16:03

Davy8


1 Answers

I used a tool called netem that runs on linux. It allows you to increase packet loss at a given percentage, introduce delays within packets and handle packet re-ordering. Basically it's designed to emulate different networks.

All you need to get it up and running is a spare machine to install Linux on with a couple of Ethernet cards. Hook it up as a bridge, and run netem between them. Should be quite simple to do. I used it for my University project having no Linux experience, but I've probably still got all the setup instructions somewhere.

like image 69
Ian Avatar answered Oct 01 '22 17:10

Ian