Data packet generator is widely used in various network environments. It plays an important role in testing and analysing the performance of switches, routers and networks. To address the problem that most software-based data packet generators cannot send the packet at gigabit speed, in this article we describe in detail a hardware data packet generator based on NetFpga platform. It realises four-port package sending at gigabit speed, and can also configure the sending speed, number and delay of the package at each port.%数据包发生器广泛地应用于各种网络环境中,对于交换机、路由器以及网络本身的测试与分析有着重要的作用.针对大多数基于软件的数据包发生器不能达到千兆线速度发包的问题,详细介绍一种基于NetFpga平台的硬件数据包发生器,实现4端口的千兆线速度发包,并可通过软件配置每个端口的数据包发送速度、数目及延时等.
展开▼