> On Jun 8, 2017, at 8:29 PM, Shi, Honglei <[email protected]> wrote:
> 
> 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”.

Can you try the latest version 3.2.11 and see if that fixes your problem. I 
remember a problem around this issue, but need to verify it is in the latest 
version.

> 
> 
> 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
> 

Regards,
Keith

Reply via email to