<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I'm trying to build a simple node that would encap/decap between IP and GTP in the user plane. For this I have been using gtp-link and gtp-tunnel tools of the libgtpnl, but with no luck so far. Could anyone please review my  setup and let me know what I'm doing wrong?</div><div><br></div><div>Topology:</div><div>node1 - DUT, I would like to be able to send a ping from this node such that it is encapsulated into GTP tunnel towards node2.</div><div>2 interfaces:</div><div>- ens6 - represents interface towards MS, has address <a href="http://20.1.1.1/24">20.1.1.1/24</a></div><div>- ens7 - represents interface towards GGSN, has address <a href="http://10.1.1.1/24">10.1.1.1/24</a></div><div><br></div><div>node2</div><div>Just a single interface towards node1, address <a href="http://10.1.1.2/24">10.1.1.2/24</a></div><div><br></div><div>Test:</div><div>On node2, I'm following these steps:</div><div>- creating a GTP device:</div><div># ./gtp-link add gtp-u</div><div>- adding a GTP tunnel:</div><div><div># ./gtp-tunnel add gtp-u v1 20 10 20.1.1.1 10.1.1.2</div><div># ./gtp-tunnel list</div><div>version 1 tei 20/10 ms_addr 20.1.1.1 sgsn_addr 10.1.1.2</div></div><div>- adding a route to an address representing APN to use the GTP device:</div><div><div># ip route add 8.8.8.8 src 20.1.1.1 dev gtp-u</div></div><div>- Trying to ping 8.8.8.8</div><div><br></div><div>Result:</div><div>I was expecting to see ECMP packets to 8.8.8.8 to be sent out via ens7 towards node2 and encapsulated in GTP. However, I can only see that these packets appear on the gtp-u interface, but are not forwarded. Looking at interface stats on gtp-u, I can see that the ping hits "tx_error" counter.</div><div><br></div><div>Is there anything I'm missing here? Are any parameters wrong? Or am I misunderstanding the function of the GTP-U kernel support entirely?</div><div><br></div><div>Any help would be appreciated.</div><div><br></div><div>Thanks,</div><div>Michael</div></div></div></div></div>