From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id C78771B4D9 for ; Sat, 16 Jun 2018 15:24:58 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jun 2018 06:24:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,230,1526367600"; d="scan'208";a="47576671" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga007.fm.intel.com with ESMTP; 16 Jun 2018 06:24:57 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sat, 16 Jun 2018 06:24:56 -0700 Received: from fmsmsx117.amr.corp.intel.com ([169.254.3.220]) by fmsmsx111.amr.corp.intel.com ([169.254.12.166]) with mapi id 14.03.0319.002; Sat, 16 Jun 2018 06:24:56 -0700 From: "Wiles, Keith" To: Stefano Salsano CC: "users@dpdk.org" Thread-Topic: [dpdk-users] generate ipv6 packets with pktgen Thread-Index: AQHUBQQBRNlygOHGbUy47MLtKpDsgKRjViSA Date: Sat, 16 Jun 2018 13:24:55 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.252.137.112] Content-Type: text/plain; charset="us-ascii" Content-ID: <68D6C73CDF485C4CA5F114CDD8912271@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] generate ipv6 packets with pktgen 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: Sat, 16 Jun 2018 13:25:01 -0000 > On Jun 15, 2018, at 6:52 PM, Stefano Salsano wrote: >=20 > Hi all, >=20 > I need to generate IPv6 packets with pktgen, but I am NOT able to set the= IPv6 src and dst address >=20 > when I only change the packet type of port 0 to IPv6 >=20 > Pktgen:/> set 0 type ipv6 > Pktgen:/> start 0 >=20 > pktgen sends IPv6 packets with meaningless IPv6 addresses > here is the tcpdump output: > 18:23:37.777126 IP6 ::101:a8c0:0:0.0 > ::101:a8c0:0:0.0: Flags [.], ack 1= , win 8192, length 0 >=20 > but if I try to set the src and dst addresses: >=20 > Pktgen:/> set 0 dst ip 2000::1 > Pktgen:/> set 0 src ip 2000::2/64 >=20 > the IP (v4) addresses in the main page display are zeroed: > Dst IP Address : 0.0.0.0 > Src IP Address : 0.0.0.0 >=20 > and when I ask to generate packets > Pktgen:/> start 0 >=20 > pktgen sends IPv6 packets with "zeroed" addresses > 18:48:42.475672 IP6 ::.0 > ::.0: Flags [.], ack 1, win 8192, length 0 >=20 > is it possible to set the IPv6 addresses? The IPv6 address is suppose to be constructed using the IPv4 address, but I= guess I did not get that right. I will have to look into the problem unles= s you would like to fix the problem as I can take patches. >=20 > thank you > Stefano >=20 > --=20 > ******************************************************************* > Stefano Salsano > Professore Associato > Dipartimento Ingegneria Elettronica > Universita' di Roma Tor Vergata > Viale Politecnico, 1 - 00133 Roma - ITALY >=20 > http://netgroup.uniroma2.it/Stefano_Salsano/ >=20 > E-mail : stefano.salsano@uniroma2.it > Cell. : +39 320 4307310 > Office : (Tel.) +39 06 72597770 (Fax.) +39 06 72597435 > ******************************************************************* >=20 Regards, Keith