TRex in Amazon AWS

1,400 views
Skip to first unread message

anur...@gmail.com

unread,
Aug 18, 2016, 4:01:44 PM8/18/16
to TRex Traffic Generator
Hi,

Has anyone tried TRex in Amazon AWS?
Can you share any how-to references for installation, configuration, and running RFC25400 tests?

Thanks!
Azeez

pavi...@gmail.com

unread,
Aug 23, 2017, 6:25:48 AM8/23/17
to TRex Traffic Generator, anur...@gmail.com
Hello Azeez,

Did you manage to get TREX up and running on AWS ?

Regards,
Avinash

hanoh haim

unread,
Aug 23, 2017, 9:32:04 AM8/23/17
to TRex Traffic Generator, pavi...@gmail.com, anur...@gmail.com
With AWS that support SR-IOV of 599 it wouldn't be a problem.

Hanoh

--
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/e56d5a3e-c5b1-44a6-8ff6-dbf92fe73ac8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Hanoh
Sent from my iPhone

aze...@cisco.com

unread,
Aug 23, 2017, 11:04:14 AM8/23/17
to TRex Traffic Generator, anur...@gmail.com, pavi...@gmail.com
1. Install a RedHat or CentOS instance in AWS
2. Attach any network interfaces for test traffic
3. Go to section 2.2.4 in this document: https://trex-tgn.cisco.com/trex/doc/trex_manual.html#_verify_intel_nic_installation
4. [important] Run lspci and verify the test traffic network interfaces have 82599 chipset
5. If yes, continue thru the document to install and set up TRex

Hope this helps.

Azeez

Avinash

unread,
Aug 24, 2017, 4:04:48 AM8/24/17
to aze...@cisco.com, TRex Traffic Generator, Azeez Nuruddin
Thanks Azeez.
Will let you know how it goes.

Regards,
Avinash


--
You received this message because you are subscribed to a topic in the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trex-tgn/U2VrQQFYSTU/unsubscribe.
To unsubscribe from this group and all its topics, 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.



--
-Avinash

Avinash

unread,
Aug 25, 2017, 4:56:34 AM8/25/17
to aze...@cisco.com, TRex Traffic Generator, Azeez Nuruddin
Hi Azeez,

My Trex setup is successful.

Now I want to generate traffic for one of my server in AWS with public IP.
I have a ubuntu machine in VPC A where I am running the TREX and I want to send traffic to my server in another VPC B

Can I do this ?
Please let me know the steps to do it.

Regards,
Avinash
--
-Avinash

hanoh haim

unread,
Aug 25, 2017, 6:16:52 AM8/25/17
to Avinash, aze...@cisco.com, Azeez Nuruddin, TRex Traffic Generator
Can you elaborate why you want to send traffic between VPC A and B? You won't be able to measure latency this way.

Have a look into Stateless manual for how to configure Streams 

Hanoh

To unsubscribe from this group and all its topics, send an email to trex-tgn+u...@googlegroups.com.

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



--
-Avinash



--
-Avinash

--
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.

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

Azeez Nuruddin

unread,
Aug 25, 2017, 9:09:09 AM8/25/17
to hanoh haim, Avinash, Azeez Nuruddin, TRex Traffic Generator
Avinash,

Echoing Hanoh’s question - what is your test case?

As long as the server in B and TRex in A can reach each other, it should be doable. However you would need to have two public IPs for the two TRex ports in A and two public IPs for the two server ports in B so that they are reachable across.
You would have to be careful with routing then.

State your test case, and perhaps you can do a simpler setup.


Azeez

Avinash

unread,
Aug 25, 2017, 9:21:18 AM8/25/17
to Azeez Nuruddin, hanoh haim, TRex Traffic Generator, Azeez Nuruddin
Thanks for your quick response folks.
My use case is to test in-built scale out feature of AWS used by our DPI Server.

Basically our DPI is like man in the middle for communication between VPC A and VPC B.

So Trex in A would generate traffic for some machine in B and this would be intercepted by DPI. More the traffic comes in more would be our DPI instances.

Regards,
Avinash

To unsubscribe from this group and all its topics, send an email to trex-tgn+unsubscribe@googlegroups.com.

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



--
-Avinash



--
-Avinash

--
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.
--
Hanoh
Sent from my iPhone

--
You received this message because you are subscribed to a topic in the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trex-tgn/U2VrQQFYSTU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trex-tgn+unsubscribe@googlegroups.com.

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

hanoh haim

unread,
Aug 25, 2017, 9:59:56 AM8/25/17
to Avinash, Azeez Nuruddin, Azeez Nuruddin, TRex Traffic Generator
What is the latency you would expect between A and B?
The current Stateful assumes latency of less that 40msec. 

I would wait a bit for the new Advance Stateful that will Make it possible to support this see :


Thanks,
Hanoh

To unsubscribe from this group and all its topics, send an email to trex-tgn+u...@googlegroups.com.

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



--
-Avinash



--
-Avinash

--
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.
--
Hanoh
Sent from my iPhone

--
You received this message because you are subscribed to a topic in the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trex-tgn/U2VrQQFYSTU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trex-tgn+u...@googlegroups.com.

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

Avinash

unread,
Aug 25, 2017, 10:37:07 AM8/25/17
to hanoh haim, TRex Traffic Generator, Azeez Nuruddin, Azeez Nuruddin
I would create two VPCs in Mumbai region only, so expecting the latency to be less than 40 msec..
But we might need inter-region deployment in future too.

Please let me know as to how can I configure Trex to send traffic across VPCs.

Regards,
Avinash

To unsubscribe from this group and all its topics, send an email to trex-tgn+unsubscribe@googlegroups.com.

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



--
-Avinash



--
-Avinash

--
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.
--
Hanoh
Sent from my iPhone

--
You received this message because you are subscribed to a topic in the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trex-tgn/U2VrQQFYSTU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trex-tgn+unsubscribe@googlegroups.com.

To post to this group, send email to trex...@googlegroups.com.
--
Hanoh
Sent from my iPhone

--
You received this message because you are subscribed to a topic in the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trex-tgn/U2VrQQFYSTU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trex-tgn+unsubscribe@googlegroups.com.

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

hanoh haim

unread,
Aug 25, 2017, 10:43:20 AM8/25/17
to Avinash, Azeez Nuruddin, Azeez Nuruddin, TRex Traffic Generator
In that case you would be able to use current Stateful mode.
I don't have a lot of experience with AWS network configuration but if you would be able to put the TRex traffic ports (C/S) on the same vSwitch like your DUT Traffic ports there won't be a problem. See 3.3.1 in the manual for how it is done with ESXi

Thanks,
Hanoh

To unsubscribe from this group and all its topics, send an email to trex-tgn+u...@googlegroups.com.

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



--
-Avinash



--
-Avinash

--
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.
--
Hanoh
Sent from my iPhone

--
You received this message because you are subscribed to a topic in the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trex-tgn/U2VrQQFYSTU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trex-tgn+u...@googlegroups.com.

To post to this group, send email to trex...@googlegroups.com.
--
Hanoh
Sent from my iPhone

--
You received this message because you are subscribed to a topic in the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trex-tgn/U2VrQQFYSTU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trex-tgn+u...@googlegroups.com.

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

Azeez Nuruddin (azeezn)

unread,
Aug 25, 2017, 10:45:19 AM8/25/17
to Avinash, hanoh haim, TRex Traffic Generator, Azeez Nuruddin

Avinash,

 

Since it is a test and not pre-production deployment, can your scale out feature be tested within one VPC. It will keep things simple for you.

When you go out for full-scale deployment, your feature has been tested by then and you would not have to deal with TRex and related testing concerns.

 

 

Peace!

Azeez

To unsubscribe from this group and all its topics, send an email to trex-tgn+u...@googlegroups.com.

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



 

--

-Avinash



 

--

-Avinash

 

--
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.

--

Hanoh

Sent from my iPhone

--
You received this message because you are subscribed to a topic in the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trex-tgn/U2VrQQFYSTU/unsubscribe.

To unsubscribe from this group and all its topics, send an email to trex-tgn+u...@googlegroups.com.


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

--

Hanoh

Sent from my iPhone

--
You received this message because you are subscribed to a topic in the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trex-tgn/U2VrQQFYSTU/unsubscribe.

To unsubscribe from this group and all its topics, send an email to trex-tgn+u...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages