From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id B6FDB2BA3 for ; Fri, 9 Jun 2017 03:29:28 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jun 2017 18:29:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,316,1493708400"; d="scan'208,217";a="1180185141" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 08 Jun 2017 18:29:27 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 8 Jun 2017 18:29:23 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 8 Jun 2017 18:29:27 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.146]) by SHSMSX104.ccr.corp.intel.com ([10.239.4.70]) with mapi id 14.03.0319.002; Fri, 9 Jun 2017 09:29:25 +0800 From: "Shi, Honglei" To: "'users@dpdk.org'" Thread-Topic: config set in pktgen runtime options Thread-Index: AdLgv9Udp6UC55V7QVyNDh9ndiFbPw== Date: Fri, 9 Jun 2017 01:29:24 +0000 Message-ID: <070D3F7886DB7F40BF4B62D66BEA1CE9398755C5@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] config set in pktgen runtime options X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2017 01:29:29 -0000 Hi, When I using pktgen (3.2.5), I encountered some problem when setting the co= nfiguration 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 [src|dst] ip ipaddr - Set I= P addresses, Source must include network mask e.g. 10.1.2.3/24. I got the error: Set command is invalid: Invalid line: 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: 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