SGW/PGW

Serving Gateway / Packet Data Network Gateway

Core Network
Introduced in Rel-12
The SGW and PGW are key nodes in the Evolved Packet Core (EPC) for 4G LTE networks. The SGW routes and forwards user data packets, acting as the mobility anchor during handovers. The PGW provides connectivity to external packet data networks, enforces policy, and performs IP address allocation.

Description

The Serving Gateway (SGW) and Packet Data Network Gateway (PGW) are fundamental components of the 4G LTE Evolved Packet Core (EPC) architecture, defined from 3GPP Release 8 onwards. They are often co-located in network implementations, referred to as the S/P-GW. The SGW is the user-plane anchor point for intra-LTE mobility (e.g., handovers between eNodeBs) and inter-3GPP mobility (e.g., handovers to 2G/3G networks). It manages and stores UE contexts, including parameters of the IP bearer service and network internal routing information. All user IP packets are routed through the SGW. It interfaces with the eNodeB via the S1-U interface and with other SGWs via the S5/S8 interface for handovers. The SGW also generates charging data per UE and PDN connection for use by the charging function.

The Packet Data Network Gateway (PGW) is the point of exit and entry for UE traffic to external Packet Data Networks (PDNs), such as the internet or an IMS network. It is the anchor for mobility between 3GPP and non-3GPP technologies (e.g., Wi-Fi). Key functions include IP address allocation for the UE (via DHCP or from an external AAA server), policy enforcement and flow-based charging as instructed by the Policy and Charging Rules Function (PCRF), packet filtering, and lawful interception. The PGW performs deep packet inspection to apply policy and charging rules. It connects to the SGW via the S5 (in a non-roaming scenario) or S8 (in a roaming scenario) interface and to external networks via the SGi interface.

Together, the SGW and PGW handle the entire user data path. The SGW focuses on mobility management and routing within the 3GPP network, while the PGW manages external connectivity, policy, and charging. In the control plane, they interact with the Mobility Management Entity (MME) via the S11 interface for bearer management and with the PCRF via the Gx interface for policy and charging control. Their combined role is critical for providing seamless mobility, quality of service, and secure, billable internet access to mobile subscribers.

Purpose & Motivation

The SGW and PGW were introduced with the Evolved Packet System (EPS) in 3GPP Release 8 to create a simplified, all-IP core network for LTE. They replaced the complex suite of 2G and 3G core network nodes (like SGSN and GGSN) with a flatter, more efficient architecture optimized for high-speed packet data. The primary motivation was to reduce latency, increase data throughput, and support always-on connectivity, which were limitations of previous 3GPP architectures that were originally designed for circuit-switched voice.

The separation of the SGW and PGW functions allows for flexible network deployment. The SGW can be distributed closer to the radio network to optimize the user data path and reduce latency for local traffic. The PGW can be centralized to efficiently manage policies, charging, and connectivity to multiple external networks. This architecture solved the problem of inefficient data routing in earlier networks and provided a clear anchor point for mobility and policy enforcement, which was essential for enabling new services like VoIP over LTE (VoLTE) and high-quality mobile broadband.

Key Features

  • User-plane anchor for intra-LTE and inter-3GPP mobility (SGW)
  • Gateway to external Packet Data Networks like the internet (PGW)
  • Policy enforcement and flow-based charging control (PGW)
  • IP address allocation for User Equipment (PGW)
  • Lawful interception support
  • Bearer management based on QoS requirements

Evolution Across Releases

Rel-12 Initial

In Release 12, the SGW and PGW were well-established. Enhancements focused on network efficiency and support for new services. Key developments included further optimizations for Machine-Type Communications (MTC), enhancements to the S5/S8 interfaces for control and user plane separation (CUPS) studies, and improvements for dual connectivity and small cell architectures.

Release 13 introduced architectural enhancements for LTE in unlicensed spectrum (LAA) and further MTC optimizations like extended discontinuous reception (eDRX). Work on control and user plane separation (CUPS) for the EPC progressed, laying the groundwork for splitting the PGW and SGW into control and user plane parts.

Release 14 formally standardized Control and User Plane Separation (CUPS) for the PGW and SGW. This allowed the control plane (PGW-C, SGW-C) and user plane (PGW-U, SGW-U) functions to scale independently, enabling network flexibility, distributed deployment, and cost reduction. Support for enhanced Mobile Broadband (eMBB) and critical communications was also expanded.

As the first 5G release, Rel-15 defined the 5G Core (5GC) network, which introduces new network functions (SMF, UPF) that subsume the roles of the PGW-C, PGW-U, SGW-C, and SGW-U. For EPC/4G networks, Rel-15 included further enhancements for interworking with 5GC (non-standalone architecture) and support for network slicing in the EPC.

Release 16 continued enhancements for the integrated EPC and 5GC (EPC+5GC), focusing on service-based architecture integration. It included improvements for ultra-reliable low-latency communications (URLLC) and location services that also apply to EPC-based deployments, ensuring backward compatibility and smooth migration.

Rel-17 introduced further optimizations for existing EPC deployments, particularly for IoT and industrial IoT scenarios. Enhancements included improved support for time-sensitive communication and integration with 5GC capabilities for hybrid networks.

As part of 5G-Advanced, Release 18 work focuses on the evolution of the 5G System. For legacy EPC functions, the focus is on ensuring seamless interworking and migration, with continued support for network slicing and edge computing paradigms that originated in the EPC architecture.

Release 19 continues the 5G-Advanced trajectory. While the core development is on 5GC, specifications maintain support and reference for EPC nodes like SGW/PGW for interworking scenarios, network sharing, and the support of legacy LTE devices and services within evolving 5G networks.

Defining Specifications

SpecificationTitle
TS 22.278 3GPP TS 22.278
TS 22.803 3GPP TS 22.803