From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.uniroma2.it (smtp.uniroma2.it [160.80.6.22]) by dpdk.org (Postfix) with ESMTP id DB24D1B59C for ; Sat, 16 Jun 2018 21:07:28 +0200 (CEST) Received: from smtpauth.uniroma2.it (smtpauth.uniroma2.it [160.80.6.47]) by smtp-2015.uniroma2.it (8.14.4/8.14.4/Debian-8) with ESMTP id w5GJ7HCp019402 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 16 Jun 2018 21:07:23 +0200 Received: from [100.92.190.147] (93-34-89-183.ip49.fastwebnet.it [93.34.89.183]) (authenticated bits=0) by smtpauth.uniroma2.it (8.14.3/8.14.3/Debian-9.4) with ESMTP id w5GJ7C7S000900 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 16 Jun 2018 21:07:13 +0200 Date: Sat, 16 Jun 2018 21:06:54 +0200 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 To: "Wiles, Keith" , Alessandro Ordine CC: "users@dpdk.org" From: Stefano Salsano Message-ID: X-Virus-Scanned: clamav-milter 0.99.2 at smtp-2015 X-Virus-Status: Clean Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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 19:07:29 -0000 Ok thank you we will have a look to the code Il 16 Giugno 2018 15:24:55 CEST, "Wiles, Keith" ha scritto: > > >> 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=2E777126 IP6 ::101:a8c0:0:0=2E0 > ::101:a8c0:0:0=2E0: Flags [= =2E], >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=2E0=2E0=2E0 >> Src IP Address : 0=2E0=2E0=2E0 >>=20 >> and when I ask to generate packets >> Pktgen:/> start 0 >>=20 >> pktgen sends IPv6 packets with "zeroed" addresses >> 18:48:42=2E475672 IP6 ::=2E0 > ::=2E0: Flags [=2E], ack 1, win 8192, le= ngth 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=2E I will have to look into the >problem unless you would like to fix the problem as I can take patches=2E > >>=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=2Euniroma2=2Eit/Stefano_Salsano/ >>=20 >> E-mail : stefano=2Esalsano@uniroma2=2Eit >> Cell=2E : +39 320 4307310 >> Office : (Tel=2E) +39 06 72597770 (Fax=2E) +39 06 72597435 >> ******************************************************************* >>=20 > >Regards, >Keith --=20 Inviato dal mio dispositivo Android con K-9 Mail=2E Perdonate la brevit=C3= =A0=2E >From keith.wiles@intel.com Sat Jun 16 23:27:35 2018 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 7B0451B42E for ; Sat, 16 Jun 2018 23:27:35 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jun 2018 14:27:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,232,1526367600"; d="scan'208";a="67571154" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga002.jf.intel.com with ESMTP; 16 Jun 2018 14:27:33 -0700 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sat, 16 Jun 2018 14:27:33 -0700 Received: from fmsmsx117.amr.corp.intel.com ([169.254.3.220]) by FMSMSX157.amr.corp.intel.com ([169.254.14.71]) with mapi id 14.03.0319.002; Sat, 16 Jun 2018 14:27:33 -0700 From: "Wiles, Keith" To: Kevin Wilson CC: "users@dpdk.org" Thread-Topic: [dpdk-users] MIA and Keep Alive Thread-Index: AQHUBZVgJ8xbfuDhJUegyKyFqMRjS6Rj29iA Date: Sat, 16 Jun 2018 21:27:32 +0000 Message-ID: <17863995-D924-4251-9ED2-2B6CEB0A4224@intel.com> 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="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-users] MIA and Keep Alive 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 21:27:35 -0000 DQoNCj4gT24gSnVuIDE2LCAyMDE4LCBhdCAxMjoxMyBQTSwgS2V2aW4gV2lsc29uIDx3a2V2aWxz QGdtYWlsLmNvbT4gd3JvdGU6DQo+IA0KPiBIaSBhbGwsDQo+IA0KPiBBIHNob3J0IHF1ZXN0aW9u IGFib3V0IEtlZXAgQWxpdmU6IGFjY29yZGluZyB0byB0aGUNCj4gIlNhbXBsZSBBcHBsaWNhdGlv biBVc2VyIEd1aWRlIjoNCj4gLi4uDQo+IENvcmVzIHN0YXRlcyBhcmU6IEFsaXZlLCBNSUEsIERl YWQgb3IgQnVyaWVkLiBNSUEgaW5kaWNhdGVzIGEgbWlzc2VkDQo+IHBpbmcsIGFuZCBEZWFkIGlu ZGljYXRlcyB0d28gbWlzc2VkIHBpbmdzIHdpdGhpbiB0aGUgc3BlY2lmaWVkIHRpbWUgaW50ZXJ2 YWwuDQo+IC4uLg0KPiANCj4gRG9lcyBhbnlib2R5IGtub3cgLSB3aGF0IGRvZXMgdGhlIE1JQSBh Y3JvbnltIHN0YW5kcyBmb3IgPw0KDQrigJxNaXNzaW5nIGluIEFjdGlvbuKAnSBJIHRoaW5rDQoN Cj4gDQo+IFJlZ2FyZHMsDQo+IEtldmluDQoNClJlZ2FyZHMsDQpLZWl0aA0KDQo=