RE: Get started with Ostinato

69 views
Skip to first unread message

Jayachandran Jones Richard (MS/ETA41-ETAS)

unread,
Oct 4, 2021, 9:04:28 PM10/4/21
to psta...@ostinato.org, osti...@googlegroups.com

Hi,

 

I have a query:

 

a)      I would like to configure 500microseconds between two frames(IFD) in a pcap file. What is the setting which I should do.

 

 

From: Srivats P (Author, Ostinato) <psta...@ostinato.org>
Sent: Monday, October 4, 2021 7:09 PM
To: Jayachandran Jones Richard (MS/ETA41-ETAS) <Jayachandran...@in.bosch.com>
Subject: Get started with Ostinato

 

View this email in your browser

Hi,

I hope you were able to install and run Ostinato (if not, hit reply and tell me the problem that you ran into).

To start creating and sending packets, watch the below video and just repeat the same.

 

 

Ok, that default of 10 packets at 1 packets/sec is not very fun.

Let's fix that. Let's change the stream to run in a loop and increase the rate -

 

 

Click ▶️ (Start Transmit) and watch the port statistics zip at 25 Mbps!

Try playing around with the rate. See what is the maximum transmit rate that Ostinato supports.

Changing the avg pps/bps is a quick way to change the rates. If you want even more control, edit the stream and go to the Stream Control tab.



I will teach you about more Ostinato features in subsequent emails. If for some reason you don't want to receive any more emails, go to the bottom of this or any email in this series and hit unsubscribe.

 

If you have any problems with installation or running Ostinato, hit reply and give me the details of the problem - I will help you sort it out.

Srivats (Author, Ostinato)






This email was sent to jayachandran...@in.bosch.com
why did I get this?    unsubscribe from this list    update subscription preferences
Ostinato · B-901, Salarpuria Sanctity · Sarjapur Road · Bangalore 560035 · India

Srivats P (Founder, Ostinato)

unread,
Oct 5, 2021, 8:22:12 AM10/5/21
to Jayachandran Jones Richard (MS/ETA41-ETAS), osti...@googlegroups.com
Jayachandran,

500 microseconds = 500 x 10^-6 seconds
So packet rate is (1/500) x 10^6 = 2000 packets/sec

You can enter this value in Stream Config | Stream Control -

image.png
Srivats (Founder, Ostinato)
Need to generate wire speed 10/25/40G traffic? - Try the new Ostinato Turbo add-on!

Jayachandran Jones Richard (MS/ETA41-ETAS)

unread,
Oct 5, 2021, 6:55:16 PM10/5/21
to Srivats P (Founder, Ostinato), osti...@googlegroups.com

Hello Srivats,

 

Thank you so much for your reply.

 

Few more queries:

 

a)      What is the relationship between ‘Frame length” and “Payload length”.

 

In the above scenario (Query.jpg) I have used frame length as 166 and Payload length as 108 to get payload length of 100bytes for ipv6 frame.

 

b)     How to increment “Last 4bytes of data” without sending the crafted Ethernet packet.

Ie by Duplicating and saving streams I would like to have data incremented.

 

c)      How to configure SOME/IP frames.

Query.jpg

Srivats P (Founder, Ostinato)

unread,
Oct 6, 2021, 10:27:32 AM10/6/21
to Jayachandran Jones Richard (MS/ETA41-ETAS), osti...@googlegroups.com
Jayachandran,
 

a)      What is the relationship between ‘Frame length” and “Payload length”. 1.      When the total frame size is 162 and payload which I need is 100. In the above scenario (Query.jpg) I have used frame length as 166 and Payload length as 108 to get payload length of 100bytes for ipv6 frame. Why do I need to configure “Frame length as 166” and “Payload length as 108”. Simply put why do I need extra 8 bytes.

The IP payload length will be calculated automatically based on the "Frame Length" and what protocols you select. You don't need to tick the checkbox and enter a value - unless you want to override the automatically calculated correct value. e.g. you want a send a frame with incorrect value for this IP header field. Same is true for all fields in all headers - Ostinato will calculate the right values by default.

 b)     How to increment “Last 4bytes of data” without sending the crafted Ethernet packet. Ie by Duplicating and saving streams I would like to have data incremented.


Do you want a 4-byte incrementing sequence number as the last 4 bytes in the packet? If so, you just need a single stream and use Variable Fields to add the sequence counter - https://userguide.ostinato.org/StreamConfig.html#variable-fields
 

 c)      How to configure SOME/IP frames.


SOME/IP is not supported natively in Ostinato. But you can write a user script for the same. See https://srivatsp.com/ostinato/ostinato-geneve/ for an example for GENEVE protocol.
 
Srivats (Founder, Ostinato)
Need to generate wire speed 10/25/40G traffic? - Try the new Ostinato Turbo add-on!

Reply all
Reply to author
Forward
0 new messages