DPDK usage discussions
 help / color / mirror / Atom feed
From: "Shi, Honglei" <honglei.shi@intel.com>
To: "'users@dpdk.org'" <users@dpdk.org>
Subject: [dpdk-users] config set in pktgen runtime options
Date: Fri, 9 Jun 2017 01:29:24 +0000	[thread overview]
Message-ID: <070D3F7886DB7F40BF4B62D66BEA1CE9398755C5@shsmsx102.ccr.corp.intel.com> (raw)

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

             reply	other threads:[~2017-06-09  1:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-09  1:29 Shi, Honglei [this message]
2017-06-09  4:23 ` Wiles, Keith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=070D3F7886DB7F40BF4B62D66BEA1CE9398755C5@shsmsx102.ccr.corp.intel.com \
    --to=honglei.shi@intel.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).