Thank you very much!

On Tue, Apr 5, 2022 at 3:20 PM Harald Welte <laforge@gnumonks.org> wrote:
Hi Mirko,

On Tue, Apr 05, 2022 at 02:50:23PM +0200, Mirko Kovacevic wrote:
> If we have GTP-C control peer and for example:
> gtp-tunnel list
> version 1 tei 2802259391/1398677717 ms_addr 10.245.144.4 sgsn_addr X.Y.Z.W
>
> Can we use TEIDs  created in this way in your GTP-LOAD-GEN ?
> I see no options for this.

The current load generator simply creates/allocates TEIDs etc. internally.

You will have to modify the code to use specific TEI ranges / IP addresses that
deviate from the built-in defaults.

You can see https://gitea.osmocom.org/cellular-infrastructure/gtp-load-gen/src/commit/f4b3dd32473145d5c58d316bfadcf614802c260c/gtp-load-gen.c#L483 as example

The API functions are

* gtp_peer_gsn_create() for each GSN / peer (one per eNB for you)
* gtp_tunnel_create() for each TEID
* gtp_tunnel_ip_flow_create() for each IP flow inside a tunnel

Regards,
        Harald
--
- Harald Welte <laforge@gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)


--
Puno pozdrava,
Mirko Kovacevic