[dpdk-users] config set in pktgen runtime options

Shi, Honglei honglei.shi at intel.com
Fri Jun 9 03:29:24 CEST 2017


Hi,
When I using pktgen (3.2.5), I encountered some problem when setting the configuration of the packet flow.
BTW, I got the source code using "git clone http://dpdk.org/git/apps/pktgen-dpdk".


1.      When using "set" command to set the source ip like this:
Set  0 src ip 0.0.0.0/24
               As the help says: set <portlist> [src|dst] ip ipaddr - Set IP addresses, Source must include network mask e.g. 10.1.2.3/24.
               I got the error:
                              Set command is invalid:
  Invalid line: <set >
Pktgen:/> set 0 src ip 0.0.0.0/24
No \XX subnet mask not found


2.      Using "range" command like this: range 0 src ip (0.0.0.0, 0.0.0.0, 0.0.248.0, 128)

I got the error:

Range command error:

  Invalid line: <range 0 src ip (0.0.0.0, 0.0.0.0, 0.0.248.0, 128) >

Some other command in the help cannot work well either.
I wonder if there are some misunderstandings when I using this program.

Have a nice day!:)
Honglei



Have a nice day!:)
Honglei



More information about the users mailing list