I use range <portlist> src|dst ip <SMMI> <ipaddr>
as the PKTGEN 文档 https://pktgen-dpdk.readthedocs.io/en/latest/commands.html#runtime-options-and-commands, and start all
发送数据包。但这不起作用。我错过了一些步骤吗?
DPDK PKTGEN 不会动态创建随机数据包,而是可以使用以下命令进行编程range
所需的选项start, minimum, maximum and increment factor
。要在 pktgen cli 中使用以下命令生成具有给定范围的 DST-MAC 地址的数据包
enable all range
page range
range all dst mac start 00:00:00:00:00:01
range all dst mac min 00:00:00:00:00:01
range all dst mac max ff:ff:ff:ff:ff:ff
range all dst mac inc 00:00:00:00:00:01
As per pkgetn 范围选项 https://pktgen-dpdk.readthedocs.io/en/latest/commands.html#runtime-options-and-commands可以更改 MAC、IP、VLAN、MPLS 和 GRErange
option.
注意:测试于pktgen-20.03.0
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)