On Wed, Mar 21, 2001 at 06:54:17PM +0200, Denis Karpov wrote: > have a question. i need to perform router stresstesting. > the setup: > > <traffic generator> ---- <ROUTER> ---- <sink device> > > is it possible to use linux plus some software to do that? > did any1 do this? any hints ? > i need to send as many packets per second as possible (to fill up > 100Mbit/s link). the packets could be short (64B), but there should be > a lot of them. 'ping -f -s NNN host' will generate lots of packets of about NNN octets each. be sure to test with various packet sizes. also investigate tcpspray and tcpblast. not sure how up-to-date these urls are (just grep'd them out of debian's /usr/doc/netdiag/copyright) ftp://sunsite.unc.edu/pub/Linux/system/network/admin/tcpblast-19990504.tar.gz ftp://sunsite.unc.edu/pub/Linux/system/network/sunacm/Other/tcpspray/tcpspray.1.1a.tar.gz > what kind of performance of linux based traffic generator could i > expect (in terms of packets per second) ? depends on the generator. ping -f should be able to saturate gigabit on most systems. j. -- all your base are belong to us! - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org