[dpdk-users] generate ipv6 packets with pktgen
Stefano Salsano
stefano.salsano at uniroma2.it
Sat Jun 16 01:52:37 CEST 2018
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 at uniroma2.it
Cell. : +39 320 4307310
Office : (Tel.) +39 06 72597770 (Fax.) +39 06 72597435
*******************************************************************
More information about the users
mailing list