omec-project / pfcpsim

PFCP client simulator used for UPF testing
18 stars 18 forks source link

Incorrect sequence in TEID #63

Closed dlake02 closed 1 year ago

dlake02 commented 1 year ago

The TEID is not updating sequentially correctly.

./client session create --ue-pool 17.0.0.0/24 --count 255 --gnb-addr 10.0.100.98

The TEID in the observers PFCP packet should be: 0x 00000001 for 17.0.0.1 0x 00000002 for 17.0.0.2 0x 00000003 for 17.0.0.3 ...etc

The sequence sent by the server is: 0x 00000001 for 17.0.0.1 0x 0000000b for 17.0.0.2 0x 00000015 for 17.0.0.3

etc.

So the increment is 0x10 and it should be 0x01

dlake02 commented 1 year ago

Ah - OK. I see that 'SessionStep' is set to 10 so this is as-designed. Closing.