packet generator

Andrew Gallatin gallatin at cs.duke.edu
Fri Sep 10 16:08:26 PDT 2004


Does anybody have a free, in-kernel tool to generate packets quicky
and send them out a particular etherent interface on FreeBSD?
Something similar to pktgen on linux?

I'm trying to excersize just the send-side of programmable firmware
based NIC.  The recieve side of the NIC firmware is not yet written,
but I want to get started tuning and shaking the bugs out of the send
side while the firmware author does the recieve path.  The packets
just get dropped on the floor by the NIC, so its a good way to test
the interface..

I can add an arp entry and ping -l HUGEVAL, but that only generates 205K
pkts/sec (where *think* I see 1.1 million pkts/sec with pktgen on
linux, but I'm not sure I trust it).

Thanks,

Drew


More information about the freebsd-net mailing list