A coworker of mine just suggested Iperf as well as a good traffic gen tool.
Available here: http://sourceforge.net/projects/iperf/
There is a decent starter tutorial over at NANOG if anyone is interested: http://www.nanog.org/meetings/nanog43/presentations/Dugan_Iperf_N43.pdf
I have also Ostinato on my software todo/review list in addtion to D-ITG and Mausezahn. Maybe someone here in this group is already using it and can comment on it?
Iperf works great and it runs on Windows and Linux. I use it most of the time to do throughput tests.
My favorite tool for testing security features on Catalyst switches is Scapy. It allows you to build custom packets and view/send them. Scapy has an interactive command line, but you could use it also to build your own network tools.
Port-Security (Send 2 packets from different mac addresses)
>>> pkt = Ether(src=RandMAC(), dst=RandMAC())/IP()
>>> sendp(pkt, count=2, iface="eth0")
Test ARP inspection
Poison 125's arp cache and tell him, that your mac address belongs to 10.99.99.100. You could create custom packets for doing this, but there is already an "arpcachepoison" function.
>>> arpcachepoison("10.99.99.125", "10.99.99.100")
If you want to play with various routing protocols like OSPFv2/3 or EIGRP, you'll have to get Scapy's code fromt he community repository. Because those aren't available in the official code base yet.
4) Some Scapy Examples: http://www.secdev.org/projects/scapy/doc/usage.html#interactive-tutorial>>> pkt = Ether(src=RandMAC(), dst=RandMAC())/IP()>>> sendp(pkt, loop=1, iface="eth0")
I ve been using this one on Windows with GNS3 router and between other workstations.
It is called JPerf 2.0 for windows and iperf-2.0.4 for Linux.
You need Server on one side and client on the other.
jperf-2.0.0.rar.zip 2.7 MB
Connect GNS3 to MS Loopback NIC on your PC so that GNS router can communicate wiht your host PC.
start jperf on that MS loopback NIC to generate some traffic..
if that does not work;
add another loopback and connect to other GNS router interface so that traffic flows thru GNS router.
There is a cisco router IOS image with traffic generator that works in GNS3 with modified dynampis version.