pktgen the linux packet generator

pktgen is a high-­performance testing tool included in the Linux kernel. pktgen is currently the best tool to test the TX process of device driver and NIC. pktgen can also be used to generate ordinary packets to test other network devices. Especially of interest is the use of pktgen to test routers or bridges which often also use the Linux network stack. Because pktgen is "in-­kernel", it can generate high bandwidth and very high packet rates to load routers, bridges, or other network devices.

...

Download PDF.