Hi all,

I'm trying to use VPP as a GTP-U dataplane, I have already read 
https://wiki.fd.io/view/VPP/Per-feature_Notes and 
https://docs.fd.io/vpp/19.01/clicmd_src_plugins_gtpu.html , but still can't 
understand how the appropriate configuration should be done (please pardon my 
ignorance). The ascii-art scheme below shows how my testbed looks like. I'd 
like to GTP-decap in the VPP machine the GTP-U traffic sent by the Gen1 
machine. The GTP-U packets sent by Gen1 are of the following format: {src-ip 
172.26.124.233, dst-ip 172.26.124.241}||{dst-udp 2152}||{gtp-teid 2}||{src-ip 
10.0.0.1, dst-ip 172.26.125.153} ||{udp}||{"valar morghulis"} where || stands 
for concatenation. What should be the correct configuration for doing GTP-decap 
and performing routing over decapsulated UE data-packets, thus forwarding via 
the right port (i.e em1 --> em3) ?
What a bout the GTP-encap direction, in another use-case? Say Gen1 sending 
normal data-packets as UE's IP data-packet = {src-ip 172.26.124.233, dst-ip 
10.0.0.1}||{udp}||{"valar dohaeris"} to the VPP dataplane which should 
GTP-encapsulate them as {src-ip 172.26.125.241, dst-ip 172.26.125.153} 
||{dst-udp 2152}||{gtp-teid 3}||<UE's IP data-packet> performing IP routing and 
forwarding via the right port (i.e. em1 --> em3) ?
I'm pretty desperate with this, so any help is very appreciated.

        Gen1
+-----------------+
|                 |
| UE: 10.0.0.1    |
|                 |
+-----+------+----+
      | eth5 |   
      +--+---+
         |.233
         |
         | 172.26.124.0/24
         |
         |.241
      +--+--+
      | em1 |
+-----+-----+-----+
|                 |
|       VPP       |
|                 |
+-----+-----+-----+
      | em3 |
      +--+--+
         |.241
         |
         | 172.26.125.0/24
         |
         |.153
      +--+---+
      | eth4 |
+-----+--+---+----+
|                 |
|      Recv1      |
|                 |
+-----------------+

Thank you
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12161): https://lists.fd.io/g/vpp-dev/message/12161
Mute This Topic: https://lists.fd.io/mt/29653968/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to