Field Engine support for IPv6

260 views
Skip to first unread message

arunem...@gmail.com

unread,
Aug 11, 2016, 9:55:58 AM8/11/16
to TRex Traffic Generator
Hi TRex Team,

Is there any support available for generating IPv6 fields using the Field Engine Modules?

I just referred https://trex-tgn.cisco.com/trex/doc/cp_stl_docs/api/field_engine.html and didn't see anything related to IPv6

Thanks
Arun

ido barnea

unread,
Aug 11, 2016, 10:24:32 AM8/11/16
to arunem...@gmail.com, TRex Traffic Generator
Hi Arun,

Packet creation is done using Scapy. We support every packet format Scapy support (and this is a lot).
For IPv6, see this good document for example:
http://www.idsv6.de/Downloads/IPv6PacketCreationWithScapy.pdf

Ido
> --
> You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
> To post to this group, send email to trex...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/7e4065f4-9370-4a4d-bb93-dc2bbcfbed83%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Arun Emmanuel

unread,
Aug 11, 2016, 10:34:18 AM8/11/16
to TRex Traffic Generator, arunem...@gmail.com
Hi Ido 
Thanks for the response

SO can we geneate the field values using the field engine modules provided by TRex.??
Or any TRex API available??Like STLVmFlowVar for generating  IPv6 source and destination values

Thanks
Arun

hanoh haim

unread,
Aug 11, 2016, 10:38:05 AM8/11/16
to Arun Emmanuel, TRex Traffic Generator, arunem...@gmail.com
Would this example help you?
https://github.com/cisco-system-traffic-generator/trex-core/blob/master/scripts/stl/udp_1pkt_ipv6_in_ipv4.py
there is no need to be a IPv6 var for changing IPv6 header

You can use two variables of 64bit.

Could you elaborate what is your need?

Hanoh
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.

To post to this group, send email to trex...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Hanoh
Sent from my iPhone

Arun Emmanuel

unread,
Aug 11, 2016, 10:45:47 AM8/11/16
to TRex Traffic Generator, arune...@gmail.com, arunem...@gmail.com
Hi Hanoh

Will the below code snippet will work for generating random ipv6 addresses??

STLVmFlowVar(name="ip6_src",
                                           min_value=min_value,
                                           max_value=max_value,
                                           size=8,
                                           op='random',
                                           step=1),
STLVmWrFlowVar(fv_name='ip6_src',
                                                pkt_offset='IPv6.src')

I think i got an error stating that invalid IPv4 address for the above code

Thanks
Arun

hanoh haim

unread,
Aug 11, 2016, 11:24:43 AM8/11/16
to Arun Emmanuel, TRex Traffic Generator, Arun Emmanuel
Hi Arun,

IPv6 is 16 bytes, you need to add offset_fixup=8
I would start with size=4 ( fixup=12) and then try to move to 8 ( fixup=8)

see from the example I've sent you 
STLVmWrFlowVar (fv_name="tuple.ip", pkt_offset= "IPv6.src",offset_fixup=12 ), # write ip to packet IPv6.src to

1) Do you really need more than 4G IPs? why 32bit is not enogth?
2) step=1 is not relevant in random case

Hanoh



For more options, visit https://groups.google.com/d/optout.

arunem...@gmail.com

unread,
Aug 12, 2016, 6:28:50 AM8/12/16
to TRex Traffic Generator, arune...@gmail.com, arunem...@gmail.com
> To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c2ad529f-fdcb-428b-a74f-b7206be3a3d3%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
> --
>
>
> HanohSent from my iPhone
>
>
>
>
>
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> To post to this group, send email to trex...@googlegroups.com.
>
> To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/dbf70eea-2a6d-41a2-bf5c-fe75de65fec1%40googlegroups.com.
>
>
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
> --
>
>
>
> HanohSent from my iPhone

Hi Hanoh

I tried adding the offset_fixup=8 parameter. But got the below error

raise CTRexPacketBuildException(-10,"Not valid ipv4 format");
trex_stl_lib.trex_stl_packet_builder_scapy.CTRexPacketBuildException: [errcode:-10] 'Not valid ipv4 format'

Thanks
Arun

hanoh haim

unread,
Aug 12, 2016, 6:37:20 AM8/12/16
to arunem...@gmail.com, TRex Traffic Generator, arune...@gmail.com
Hi,
Could you send the full snippet?
Does our example work for you with fixup=4?

Hanoh

For more options, visit https://groups.google.com/d/optout.


--

hanoh haim

unread,
Aug 12, 2016, 6:46:49 AM8/12/16
to arunem...@gmail.com, TRex Traffic Generator, arune...@gmail.com
Another working IPv6 example

> To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.

>
> To post to this group, send email to trex...@googlegroups.com.
>
> To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c2ad529f-fdcb-428b-a74f-b7206be3a3d3%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
> --
>
>
> HanohSent from my iPhone
>
>
>
>
>
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> To post to this group, send email to trex...@googlegroups.com.
>
> To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/dbf70eea-2a6d-41a2-bf5c-fe75de65fec1%40googlegroups.com.
>
>
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
> --
>
>
>
> HanohSent from my iPhone

Hi Hanoh

I tried adding the offset_fixup=8 parameter. But got the below error

raise CTRexPacketBuildException(-10,"Not valid ipv4 format");
trex_stl_lib.trex_stl_packet_builder_scapy.CTRexPacketBuildException: [errcode:-10] 'Not valid ipv4 format'

Thanks
Arun

--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.

To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c29b4e94-e96b-4376-961c-1e1c34ad4b4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Hanoh
Sent from my iPhone

Arun Emmanuel

unread,
Aug 12, 2016, 8:30:03 AM8/12/16
to TRex Traffic Generator, arunem...@gmail.com, arune...@gmail.com
Hi Hanoh

I got the same error with fixup=4

Adding the code snippet below

 vm = STLScVmRaw([STLVmFlowVar(name="ip6_src",
                                           min_value=min_value,
                                           max_value=max_value,
                                           size=8,
                                           op='inc',
                                           step=1),
            
                           STLVmWrFlowVar(fv_name='ip6_src',
                                                pkt_offset='IPv6.src', offset_fixup=4)])

here min_value and max_value are IPv6 addresses

Thanks
Arun

> To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.

>
> To post to this group, send email to trex...@googlegroups.com.
>
> To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c2ad529f-fdcb-428b-a74f-b7206be3a3d3%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
> --
>
>
> HanohSent from my iPhone
>
>
>
>
>
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> To post to this group, send email to trex...@googlegroups.com.
>
> To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/dbf70eea-2a6d-41a2-bf5c-fe75de65fec1%40googlegroups.com.
>
>
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
> --
>
>
>
> HanohSent from my iPhone

Hi Hanoh

I tried adding the offset_fixup=8 parameter. But got the below error

raise CTRexPacketBuildException(-10,"Not valid ipv4 format");
trex_stl_lib.trex_stl_packet_builder_scapy.CTRexPacketBuildException: [errcode:-10] 'Not valid ipv4 format'

Thanks
Arun

--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.

To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c29b4e94-e96b-4376-961c-1e1c34ad4b4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Arun Emmanuel

unread,
Aug 12, 2016, 8:32:47 AM8/12/16
to TRex Traffic Generator, arunem...@gmail.com, arune...@gmail.com
Thanks for the example

But i am also following the same procedure only. But Trex is traeting my IPv6 address as IPv4 addresses and validating against IPv4 address

Thanks
Arun

hanoh haim

unread,
Aug 12, 2016, 10:26:37 AM8/12/16
to Arun Emmanuel, TRex Traffic Generator, arunem...@gmail.com
Hi,
Min /max should be uint64 values in case of size of 8 (fixup=8) and uint32/sting_ipv4 in case of 4 (fixup=12)

We created only IPv4 string -> uint32


For more options, visit https://groups.google.com/d/optout.

Arun Emmanuel

unread,
Aug 17, 2016, 8:14:05 AM8/17/16
to TRex Traffic Generator, arune...@gmail.com, arunem...@gmail.com
HI Hanoch

It worked after converting the IPv6 address to uint64 format.
Thanks for your support

Arun

hanoh haim

unread,
Aug 17, 2016, 3:22:30 PM8/17/16
to Arun Emmanuel, TRex Traffic Generator, Arun Emmanuel
Hi Arun, 

IPv4 implicit string conversion to uint32_t is supported because it is possible to do this conversion. 

IPv6 is 16 bytes(128 bits) so there is meaning to covert it to a variable of 1/2/4/8. 


Hanoh


For more options, visit https://groups.google.com/d/optout.
Message has been deleted

hanoh haim

unread,
Sep 9, 2016, 6:14:24 AM9/9/16
to arunem...@gmail.com, TRex Traffic Generator, arune...@gmail.com
Hi,
Could you send the full profile?

Hanoh
On Thursday, 8 September 2016, <arunem...@gmail.com> wrote:
Hi Team

I am able to generate IPv6 Packets . But the generated ipv6 src and dst addresses are trimmed in the packet

For example my min and max values are
ff81::330:16ff:fec9:1 and ff81::330:16ff:fec9:ab. It is then converted to uint_64 and passed to the VM constructor(STLVmFlowVar)
But the generated packet is having only ::330:16ff:fec9:a2. ff81 is missing for all packets.

I am setting size=8,  offset_fixup=8 and pkt_offset='IPv6.src'

Thanks
Arun



On Thursday, August 18, 2016 at 12:52:30 AM UTC+5:30, Hanoch Haim wrote:
> Hi Arun, 
>
> IPv4 implicit string conversion to uint32_t is supported because it is possible to do this conversion. 
>
> IPv6 is 16 bytes(128 bits) so
> there is meaning to covert it to a variable of 1/2/4/8. 
>
>
>
>
>
> Hanoh
>
>
> On Wed, Aug 17, 2016 at 5:14 AM, Arun Emmanuel <arune...@gmail.com> wrote:
>
> HI Hanoch
>
>
> It worked after converting the IPv6 address to uint64 format.
> Thanks for your support
>
>
> Arun
>
> On Friday, August 12, 2016 at 7:56:37 PM UTC+5:30, Hanoch Haim wrote:
> Hi,Min /max should be uint64 values in case of size of 8 (fixup=8) and uint32/sting_ipv4 in case of 4 (fixup=12)

>
>
> We created only IPv4 string -> uint32
>
>
>
>
>
>
> On Friday, 12 August 2016, Arun Emmanuel <arune...@gmail.com> wrote:
>
> Thanks for the example
>
>
> But i am also following the same procedure only. But Trex is traeting my IPv6 address as IPv4 addresses and validating against IPv4 address
>
>
> Thanks
> Arun
>
> On Friday, August 12, 2016 at 4:16:49 PM UTC+5:30, Hanoch Haim wrote:Another working IPv6 example
>
>
> https://gerrit.fd.io/r/gitweb?p=csit.git;a=blob;f=resources/tools/t-rex/t-rex-stateless.py;h=f456b6631651e4ee8c11b003328a4bf22c41250e;hb=HEAD
>
> On Friday, 12 August 2016, hanoh haim <hhaim...@gmail.com> wrote:
>
> Hi,Could you send the full snippet?
> > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c2ad529f-fdcb-428b-a74f-b7206be3a3d3%40googlegroups.com.
>
> >
>
> > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> >
>
> > HanohSent from my iPhone
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> >
>
> > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/dbf70eea-2a6d-41a2-bf5c-fe75de65fec1%40googlegroups.com.
>
> >
>
> >
>
> >
>
> > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> >
>
> >
>
> > HanohSent from my iPhone
>
>
>
> Hi Hanoh
>
>
>
> I tried adding the offset_fixup=8 parameter. But got the below error
>
>
>
> raise CTRexPacketBuildException(-10,"Not valid ipv4 format");
>
> trex_stl_lib.trex_stl_packet_builder_scapy.CTRexPacketBuildException: [errcode:-10] 'Not valid ipv4 format'
>
>
>
> Thanks
>
> Arun
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> To post to this group, send email to trex...@googlegroups.com.
>
> To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c29b4e94-e96b-4376-961c-1e1c34ad4b4f%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
>
>
> HanohSent from my iPhone
>
>
>
> --
>
>
> HanohSent from my iPhone
>
>
>
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> To post to this group, send email to trex...@googlegroups.com.
>
> To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/65239efd-45bc-4129-ad56-2306ae9b82b8%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
>
>
> HanohSent from my iPhone
>
>
>
>
>
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> To post to this group, send email to trex...@googlegroups.com.
>
> To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/e1b72d0d-64b6-4ce9-af92-ff2f54e6668e%40googlegroups.com.
>
>
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
> --
>
>
>
> HanohSent from my iPhone

--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/138419f2-0b91-432b-9746-12b0069de5d0%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

arunem...@gmail.com

unread,
Sep 9, 2016, 8:48:59 AM9/9/16
to TRex Traffic Generator, arunem...@gmail.com, arune...@gmail.com
On Friday, September 9, 2016 at 3:44:24 PM UTC+5:30, Hanoch Haim wrote:
> Hi,Could you send the full profile?
Hello Hanoh

Please find the full profile below

from trex_stl_lib.api import *

class STLS1(object):

def __init__ (self):
self.fsize =64;

def get_start_end_ipv6(self, start_ip, end_ip):
try:
ip1 = socket.inet_pton(socket.AF_INET6, start_ip)
ip2 = socket.inet_pton(socket.AF_INET6, end_ip)
hi1, lo1 = struct.unpack('!QQ', ip1)
hi2, lo2 = struct.unpack('!QQ', ip2)
if ((hi1 << 64) | lo1) > ((hi2 << 64) | lo2):
print "IPv6: start_ip is greater then end_ip"
sys.exit(2)
max_p1 = abs(int(lo1) - int(lo2))
base_p1 = lo1
except AddressValueError as ex_error:
print ex_error
sys.exit(2)
return base_p1, max_p1 + base_p1


def create_stream (self):
# create a base packet and pad it to size
size = self.fsize - 4; # no FCS

base_pkt = Ether()/IPv6()/UDP()
min_value = "ff80::220:16ff:fec9:1"
max_value ="ff80::220:16ff:fec9:ab"
min_value, max_value = self.get_start_end_ipv6(min_value, max_value)
pad = max(0, size - len(base_pkt)) * 'x'

vm = STLScVmRaw( [ STLVmFlowVar(name="ip6_src",
min_value=min_value,
max_value=max_value,
size=8, op="random"),


STLVmWrFlowVar(fv_name="ip6_src", pkt_offset= "IPv6.src", offset_fixup=8 )



]

);

pkt = STLPktBuilder(pkt = base_pkt/pad,
vm = vm)

return STLStream(packet = pkt,
mode = STLTXCont(pps= 500))#, random_seed=10)
#flow_stats = STLFlowLatencyStats(pg_id = 6))

def get_streams (self, direction = 0, **kwargs):
# create 1 stream
return [ self.create_stream() ]
#return [ self.create_stream() for i in range(1000)]


# dynamic load - used for trex console or simulator
def register():
return STLS1()


Thanks
Arun

hanoh haim

unread,
Sep 9, 2016, 8:55:54 AM9/9/16
to Arun Emmanuel, TRex Traffic Generator, Arun Emmanuel
Hi, 
IPv6 is 128bit (16 bytes). ff80::220:16ff:fec9:1 is 16Bytes
220:16ff:fec9:1 is 64bit.

you need to override only the LSB 64bit (8 bytes)

what you need to do is to build a packet using Scapy with the MSB and LSB like that 

  base_pkt = Ether()/IPv6(dst="2001:0:4137:9350:8000:f12a:b9c8:2815",src="ff80::220:16ff:fec9:1")/UDP()

from min_value you can remove the 
ff80 

        min_value = "220:16ff:fec9:1" >> this is 64Bit


thanks,
Hanoh

> > > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.

>
> >
>
> > >
>
> >
>
> > > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c2ad529f-fdcb-428b-a74f-b7206be3a3d3%40googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > HanohSent from my iPhone
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > >
>
> >
>
> > > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/dbf70eea-2a6d-41a2-bf5c-fe75de65fec1%40googlegroups.com.
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > HanohSent from my iPhone
>
> >
>
> >
>
> >
>
> > Hi Hanoh
>
> >
>
> >
>
> >
>
> > I tried adding the offset_fixup=8 parameter. But got the below error
>
> >
>
> >
>
> >
>
> > raise CTRexPacketBuildException(-10,"Not valid ipv4 format");
>
> >
>
> > trex_stl_lib.trex_stl_packet_builder_scapy.CTRexPacketBuildException: [errcode:-10] 'Not valid ipv4 format'
>
> >
>
> >
>
> >
>
> > Thanks
>
> >
>
> > Arun
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.

>
> >
>
> > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c29b4e94-e96b-4376-961c-1e1c34ad4b4f%40googlegroups.com.
>
> >
>
> > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> >
>
> > HanohSent from my iPhone
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> >
>
> > HanohSent from my iPhone
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.

>
> >
>
> > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/65239efd-45bc-4129-ad56-2306ae9b82b8%40googlegroups.com.
>
> >
>
> > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> >
>
> > HanohSent from my iPhone
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> >
>
> > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/e1b72d0d-64b6-4ce9-af92-ff2f54e6668e%40googlegroups.com.
>
> >
>
> >
>
> >
>
> > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> >
>
> >
>
> > HanohSent from my iPhone
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.


Thanks
Arun

--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.

To post to this group, send email to trex...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

arunem...@gmail.com

unread,
Sep 9, 2016, 9:22:07 AM9/9/16
to TRex Traffic Generator, arunem...@gmail.com, arune...@gmail.com
Hello Hanoh

Thanks for the update

I will try it and let you know

Thanks
Arun
> > > > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c2ad529f-fdcb-428b-a74f-b7206be3a3d3%40googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > --
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > HanohSent from my iPhone
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > --
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/dbf70eea-2a6d-41a2-bf5c-fe75de65fec1%40googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > --
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > HanohSent from my iPhone
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > Hi Hanoh
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > I tried adding the offset_fixup=8 parameter. But got the below error
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > raise CTRexPacketBuildException(-10,"Not valid ipv4 format");
>
> >
>
> > >
>
> >
>
> > > trex_stl_lib.trex_stl_packet_builder_scapy.CTRexPacketBuildException: [errcode:-10] 'Not valid ipv4 format'
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > Thanks
>
> >
>
> > >
>
> >
>
> > > Arun
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > >
>
> >
>
> > > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c29b4e94-e96b-4376-961c-1e1c34ad4b4f%40googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > HanohSent from my iPhone
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > HanohSent from my iPhone
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > >
>
> >
>
> > > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/65239efd-45bc-4129-ad56-2306ae9b82b8%40googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > HanohSent from my iPhone
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > >
>
> >
>
> > > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/e1b72d0d-64b6-4ce9-af92-ff2f54e6668e%40googlegroups.com.
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > HanohSent from my iPhone
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> >
>
> > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> To post to this group, send email to trex...@googlegroups.com.
>

arunem...@gmail.com

unread,
Sep 9, 2016, 10:09:53 AM9/9/16
to TRex Traffic Generator, arunem...@gmail.com, arune...@gmail.com
Hi Hanoh

It worked for me

But one small update

i used min_value = "ff80::220:16ff:fec9:1"

Thanks
Arun
> > > > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c2ad529f-fdcb-428b-a74f-b7206be3a3d3%40googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > --
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > HanohSent from my iPhone
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > --
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/dbf70eea-2a6d-41a2-bf5c-fe75de65fec1%40googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > --
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
> > > > HanohSent from my iPhone
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > Hi Hanoh
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > I tried adding the offset_fixup=8 parameter. But got the below error
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > raise CTRexPacketBuildException(-10,"Not valid ipv4 format");
>
> >
>
> > >
>
> >
>
> > > trex_stl_lib.trex_stl_packet_builder_scapy.CTRexPacketBuildException: [errcode:-10] 'Not valid ipv4 format'
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > Thanks
>
> >
>
> > >
>
> >
>
> > > Arun
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > >
>
> >
>
> > > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c29b4e94-e96b-4376-961c-1e1c34ad4b4f%40googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > HanohSent from my iPhone
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > HanohSent from my iPhone
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > >
>
> >
>
> > > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/65239efd-45bc-4129-ad56-2306ae9b82b8%40googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > HanohSent from my iPhone
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > >
>
> >
>
> > > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> > >
>
> >
>
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/e1b72d0d-64b6-4ce9-af92-ff2f54e6668e%40googlegroups.com.
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > For more options, visit https://groups.google.com/d/optout.
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > HanohSent from my iPhone
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> > You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> >
>
> > To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> >
>
> > To post to this group, send email to trex...@googlegroups.com.
>
> >
>
> To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> To post to this group, send email to trex...@googlegroups.com.
>
Reply all
Reply to author
Forward
0 new messages