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 91E881BE21 for ; Sat, 16 Jun 2018 01:52:48 +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 w5FNqgZr019092 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 16 Jun 2018 01:52:47 +0200 Received: from [192.168.1.81] (93-41-116-249.ip81.fastwebnet.it [93.41.116.249]) (authenticated bits=0) by smtpauth.uniroma2.it (8.14.3/8.14.3/Debian-9.4) with ESMTP id w5FNqbSq016108 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Sat, 16 Jun 2018 01:52:37 +0200 From: Stefano Salsano To: users@dpdk.org Message-ID: Date: Sat, 16 Jun 2018 01:52:37 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Language: it-IT Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.99.2 at smtp-2015 X-Virus-Status: Clean Subject: [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: Fri, 15 Jun 2018 23:52:48 -0000 Hi all, I need to generate IPv6 packets with pktgen, but I am NOT able to set the IPv6 src and dst address when I only change the packet type of port 0 to IPv6 Pktgen:/> set 0 type ipv6 Pktgen:/> start 0 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 but if I try to set the src and dst addresses: Pktgen:/> set 0 dst ip 2000::1 Pktgen:/> set 0 src ip 2000::2/64 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 and when I ask to generate packets Pktgen:/> start 0 pktgen sends IPv6 packets with "zeroed" addresses 18:48:42.475672 IP6 ::.0 > ::.0: Flags [.], ack 1, win 8192, length 0 is it possible to set the IPv6 addresses? thank you Stefano -- ******************************************************************* Stefano Salsano Professore Associato Dipartimento Ingegneria Elettronica Universita' di Roma Tor Vergata Viale Politecnico, 1 - 00133 Roma - ITALY http://netgroup.uniroma2.it/Stefano_Salsano/ E-mail : stefano.salsano@uniroma2.it Cell. : +39 320 4307310 Office : (Tel.) +39 06 72597770 (Fax.) +39 06 72597435 *******************************************************************