DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] config set in pktgen runtime options
@ 2017-06-09  1:29 Shi, Honglei
  2017-06-09  4:23 ` Wiles, Keith
  0 siblings, 1 reply; 2+ messages in thread
From: Shi, Honglei @ 2017-06-09  1:29 UTC (permalink / raw)
  To: 'users@dpdk.org'

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] config set in pktgen runtime options
  2017-06-09  1:29 [dpdk-users] config set in pktgen runtime options Shi, Honglei
@ 2017-06-09  4:23 ` Wiles, Keith
  0 siblings, 0 replies; 2+ messages in thread
From: Wiles, Keith @ 2017-06-09  4:23 UTC (permalink / raw)
  To: Shi, Honglei; +Cc: users


> On Jun 8, 2017, at 8:29 PM, Shi, Honglei <honglei.shi@intel.com> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-09  4:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-09  1:29 [dpdk-users] config set in pktgen runtime options Shi, Honglei
2017-06-09  4:23 ` Wiles, Keith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).