Hi Suraj,
On Mon, Jun 25, 2012 at 10:15 AM, Suraj Kumar <[email protected]> wrote:
> Hi,
>
> I'm looking for ways to simulate network issues. Specifically, the
> following scenarios:
>
> IP
> - packet loss
> TCP
> - connection establishment takes time
> - connection established, but server application is slow / unresponsive
> - piled up connections / running out of sockets
>
I guess the tc tool would be of use to you. You can do
something like this:
# tc qdisc add dev eth0 root netem delay 100ms
for adding a 100ms delay to all packets. It can be deleted later. tc
lets us do a lot of things. This was just an example. A wrapper script
over tc should be able to do the job.
> The end goal is to expose learners to these problems and be able to show
> how tools like netstat or collectd's graphs will behave upon each scenario.
>
Nice way to teach :) Hope colleges do something like this. Thanks
--
Thank you
Balachandran Sivakumar
Arise Awake and stop not till the goal is reached.
- Swami Vivekananda
Mail: [email protected]
Blog: http://benignbala.wordpress.com/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc