Curious what everyone is using to generate traffic to test various configurations. I personally use Linux so I'm looking for Linux-based tools, but am also interested in hearing about Windows-based tools for everyone else that may be interested in finding a tool for their own personal studies.
I've recently done a little research and found tools like D-ITG or Mausezahn, am thinking of playing with Mausezahn later this week when I get a few free minutes.
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
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.
I am interested in finding some tools to generate some traffic as well. I am looking to "stress test" new implementations. I feel this could be added to my toolbox for my verification phase in new designs.
sha, read some how-to's out there on the internet. GNS3 has how-tos on using hosts within GNS3, and that will get you a long way towards using iperf/jperf with one of those hosts.
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.