GTP traffic profile for TRex

1,639 views
Skip to first unread message

Denis Gudtsov

unread,
Dec 18, 2017, 5:36:00 AM12/18/17
to TRex Traffic Generator
Hi All
I'm looking for a way how can i generate gtp-c and gtp-u traffic using TRex. I wonder why nobody contributed support of this feature yet? Is there any chance to get it working on TRex?
Thanks.

hanoh haim

unread,
Dec 18, 2017, 6:11:02 AM12/18/17
to Denis Gudtsov, TRex Traffic Generator
You are welcome to contribute that.

Have you looked into this branch?

Thanks
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/7ea0b345-5d8c-4e77-816e-abe02e2e9095%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Hanoh
Sent from my iPhone

Denis Gudtsov

unread,
Dec 18, 2017, 6:30:22 AM12/18/17
to TRex Traffic Generator
No, i haven't look into it yet, thank you! strange, but googling didn't show me that branch. Project looks like that's i need, will check.

понедельник, 18 декабря 2017 г., 14:11:02 UTC+3 пользователь Hanoch Haim написал:

Itay Marom

unread,
Dec 18, 2017, 6:42:11 AM12/18/17
to Denis Gudtsov, TRex Traffic Generator
Hi,

Are you considering this feature for stateless or stateful ?

If you are talking about stateless:


1. you can generate any traffic you like using scapy on the TX side (as long as it is supported by scapy)

    i see GTP-C control messages are supported on scapy:




2. if you need to handle RX packets as well you can create a service
    we have some examples such as DHCP.

    we use scapy to generate DHCP packets but we handle the state of machine of DHCP using async state machine which can scale up to
    ~64K clients in parallel (using single thread).



Thanks,
Itay






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.



--
Itay Marom

Denis Gudtsov

unread,
Dec 18, 2017, 9:46:59 AM12/18/17
to TRex Traffic Generator
I'm not familiar with TRex yet, so can't answer do i need stateless or stateful. For the GTP-C only i think scapy should be enough (but i didn't understand how it can be used from Trex).
But the most interesting part is GTP-U traffic which is more higher volume than GTP-C and more utilize networking part. As soon as to start GTP-U we need GTP-C to be established before, so i guess service should be stateful. or not?

понедельник, 18 декабря 2017 г., 14:42:11 UTC+3 пользователь itaymar написал:

Denis V. Gudtsov

unread,
Dec 27, 2017, 6:59:00 AM12/27/17
to TRex Traffic Generator
Hi all

I've build and run succesfully that fork with gtp support. The one thing i do not understand: it seems clients and servers are communicating each other inside t-rex simulator (i'm using http_simple_gtp.yaml). Can i run only client to generate traffic towards real PGW/GGSN? Thanks.

пн, 18 дек. 2017 г. в 17:47, Denis Gudtsov <denis....@gmail.com>:
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/4fRYM1lw7fs/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.

lyu...@gmail.com

unread,
Sep 15, 2018, 10:50:03 AM9/15/18
to TRex Traffic Generator

Can you share some details on how to run gtp-u traffic using TRex?

Message has been deleted

navar...@gmail.com

unread,
Jul 2, 2020, 8:59:33 AM7/2/20
to TRex Traffic Generator
Hi Denis, How are you?

I was looking at a GTP-U traffic generator and I faced this issue that you have answered that you were successful in doing that. Do you mind sharing the code? 

Thank you in advance.

Best,
To unsubscribe from this group and all its topics, send an email to trex-tgn+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages