[Ilugc] Tools for simulating network issues

  • From: suraj@xxxxxxxxxxxxx (Suraj Kumar)
  • Date: Mon, 25 Jun 2012 10:15:48 +0530

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

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.

I don't have multiple real machines, I have 8 VMs running inside a
reasonably powerful quad core box. The box has only one network card. The
"learners" do a graphical login to the box over LTSP and ssh into the
various VMs.

Theoretically, I do see a way to achieve these by developing relevant
netfilter modules - however, I don't know if any ready made modules exist
or how easy/time consuming it may be to develop a netfilter module,
especially given I want the simulation to be highly controllable. Am I
right in my approach?

Any suggestions / pointers to tools will be helpful.

thanks,

  -Suraj

-- 
Career Gear - Industry Driven Talent Factory
http://careergear.in/

Other related posts: