Following the successful establishment of a PDU session, our next step is to test internet connectivity to ensure that the UE can reliably connect to the data network (Internet) through the UPF.
GTP Tunnel
GTP-U (GPRS Tunneling Protocol – User Plane) in 5G is a protocol responsible for encapsulating and transmitting user data packets between User Equipment (UE) and network elements like the User Plane Function (UPF), enabling efficient and secure communication. It facilitates data forwarding, routing, and Quality of Service (QoS) enforcement, enhancing the core of 5G’s high-speed, low-latency connectivity. GTP-U headers contain essential information like Tunnel Endpoint Identifier (TEID) for proper routing within the GTP-U tunnel.
Important: make sure that the UE, the gNB , and the 5G Core Network are all activated before proceeding with the following steps.
sudo tcpdump -i any -w ~/captures/connectivity_test.pcap
ping-ue
To verify that the UE can connect reliably to the internet, we sent a ping to “google.com”.
Upon termination, ensure that the number of packet loss is 0, indicating a successful ping test.