P-GW

Packet Data Network Gateway

Core Network
Introduced in Rel-8
The P-GW is a core network node in 3GPP EPS that serves as the interface between the mobile network and external packet data networks (PDNs), like the internet. It performs key functions including IP address allocation, policy enforcement, charging, and packet filtering, acting as the anchor point for user mobility.

Description

The Packet Data Network Gateway (P-GW) is a fundamental component of the Evolved Packet Core (EPC) architecture defined in 3GPP Release 8 and beyond. It functions as the primary gateway between the mobile operator's network and external Packet Data Networks (PDNs), such as the public internet, IMS, or private corporate networks. The P-GW is the point of entry and exit for all user plane IP traffic for a UE. It is responsible for assigning the UE an IP address (via DHCP or other mechanisms) and managing the IP bearer context for each data session. The P-GW enforces policy and charging rules received from the Policy and Charging Rules Function (PCRF), applying gating, filtering, and quality-of-service (QoS) marking to packets. It also performs deep packet inspection (DPI) for service-aware charging and policy enforcement.

Architecturally, the P-GW interfaces with several key network elements. On the mobile network side, it connects to the Serving Gateway (S-GW) via the S5/S8 interface (GTP-based or PMIP-based) for user plane traffic and control signaling. The S5 interface is used when the S-GW and P-GW are within the same PLMN, while S8 is used for roaming scenarios between PLMNs. On the external network side, the P-GW connects to PDNs via the SGi interface, which is a standard IP interface. For control plane functions, the P-GW communicates with the PCRF over the Gx interface to receive dynamic policy and charging control (PCC) rules. It also interfaces with Online Charging Systems (OCS) via the Gy interface and Offline Charging Systems (OFCS) via the Gz interface.

A critical role of the P-GW is as an anchor for mobility. When a UE moves between different eNodeBs or even between 3GPP and non-3GPP access networks (like Wi-Fi), the P-GW remains the stable IP point of attachment. This ensures session continuity as the UE's IP address is preserved. The P-GW also supports advanced features like Traffic Detection Function (TDF) for application detection and reporting, and Bearer Binding and Event Reporting Function (BBERF) for non-3GPP accesses. In later 3GPP releases, with the introduction of 5G Core (5GC), many P-GW functions were integrated into the new User Plane Function (UPF), but the P-GW remains central to 4G EPS deployments and is a key element in interworking between 4G and 5G networks.

Purpose & Motivation

The P-GW was created as part of the System Architecture Evolution (SAE) in 3GPP Release 8 to address the limitations of previous 3G packet core architectures, specifically the Gateway GPRS Support Node (GGSN). The GGSN in 2G/3G networks handled similar gateway functions but was part of a less flexible, more monolithic architecture. The EPC, with the P-GW as a distinct entity, introduced a flatter, all-IP architecture designed for higher data throughput, lower latency, and more efficient packet routing. This was essential to support the burgeoning demand for mobile broadband services driven by smartphones and new applications.

The P-GW solves several key problems. It centralizes the policy enforcement and charging functions, allowing operators to implement sophisticated service plans and monetization strategies based on user, application, or network conditions. By acting as the single IP anchor point, it simplifies mobility management and enables seamless handovers between different radio access technologies. Furthermore, its design supports deep packet inspection and service-aware capabilities, which are crucial for implementing parental controls, enterprise VPNs, and optimized traffic management. The separation of the S-GW and P-GW also allowed for more flexible network deployments, where the S-GW could be distributed for latency optimization while the P-GW could be centralized for policy consistency.

Key Features

  • IP address allocation and management for UEs (IPv4, IPv6, dual-stack)
  • Policy and Charging Enforcement Function (PCEF) for applying QoS, gating, and bandwidth limits
  • Anchor point for user plane mobility between 3GPP and non-3GPP accesses
  • Packet filtering, inspection (DPI), and routing between SGi and S5/S8 interfaces
  • Interaction with PCRF (Gx), OCS (Gy), and OFCS (Gz) for dynamic policy and charging
  • Support for multiple PDN connections per UE and dedicated bearers

Evolution Across Releases

Rel-8 Initial

Introduced as a core component of the new Evolved Packet Core (EPC) for LTE. Defined its basic functions: PDN gateway, IP address allocation, policy enforcement (PCEF), charging, and mobility anchoring. Established key interfaces: S5/S8 (to S-GW), SGi (to external PDNs), and Gx (to PCRF).

Enhanced support for emergency services and IMS emergency calls over the P-GW. Introduced enhancements for fixed broadband access interworking. Improved policy control mechanisms.

Introduced support for Dual-Stack IPv4/IPv6 and enhanced charging interactions. Defined enhancements for interworking with non-3GPP accesses (e.g., trusted/untrusted WLAN) with optimizations for the S2a/S2b interfaces terminating at the P-GW.

Enhanced Policy and Charging Control (PCC) with the introduction of the Traffic Detection Function (TDF) and Application Detection and Control (ADC) rules, allowing the P-GW to perform deeper service-aware policy enforcement.

Introduced support for Machine-Type Communications (MTC) and optimizations like Power Saving Mode (PSM) and Extended Idle Mode DRX, requiring P-GW support for handling low-mobility, infrequent data. Enhanced support for WLAN integration.

Further enhancements for LTE-WLAN Aggregation (LWA) and RAN-assisted WLAN interworking. Introduced control and user plane separation (CUPS) for the P-GW, allowing its functions to be split into a P-GW-C (Control plane) and P-GW-U (User plane) for more flexible scaling and deployment.

Continued CUPS refinements and enhancements for Mission Critical Services (MCS). Introduced support for Location Services (LCS) via the P-GW. Improved support for Network Slicing in preparation for 5G interworking.

Defined the interworking procedures between 4G EPS (with P-GW) and the new 5G Core Network (5GC). The P-GW can interconnect with the 5GC's User Plane Function (UPF) via the N4/N9 interfaces, enabling seamless 4G/5G mobility and session continuity.

Enhanced support for 5G-4G interworking and edge computing. Introduced integration with the 5G Access Traffic Steering, Switching and Splitting (ATSSS) feature, allowing the P-GW/UPF to manage multi-access PDU sessions.

Further enhancements for edge computing (EDGEAPP) and integration with 5G system. Improved support for UAV/drone communications and satellite access, requiring P-GW adaptations for handling these new access types.

Ongoing evolution for network automation, AI/ML integration in the core network, and enhanced support for extreme IoT scenarios. Continued refinements for converged 4G/5G user plane handling.

Expected to include further enhancements for network energy efficiency, advanced traffic management, and support for next-generation service requirements, maintaining the P-GW's role in legacy and interworking scenarios.

Defining Specifications

SpecificationTitle
TS 23.221 3GPP TS 23.221
TS 24.229 3GPP TS 24.229
TS 24.302 3GPP TS 24.302
TS 26.233 3GPP TS 26.233
TS 26.938 3GPP TS 26.938
TS 29.061 3GPP TS 29.061
TS 29.468 3GPP TS 29.468
TS 29.561 3GPP TS 29.561
TS 29.804 3GPP TS 29.804
TS 29.806 3GPP TS 29.806
TS 29.826 3GPP TS 29.826
TS 29.866 3GPP TS 29.866
TS 31.829 3GPP TR 31.829
TS 32.251 3GPP TR 32.251
TS 32.296 3GPP TR 32.296
TS 32.298 3GPP TR 32.298
TS 32.820 3GPP TR 32.820
TS 32.833 3GPP TR 32.833
TS 33.863 3GPP TR 33.863
TS 36.300 3GPP TR 36.300
TS 36.868 3GPP TR 36.868