Description
The Border Gateway (BG) is a critical architectural component within the GPRS core network, specifically part of the Gateway GPRS Support Node (GGSN) functionality or implemented as a standalone node. Its primary role is to serve as the demarcation point between the secure, operator-controlled GPRS backbone (the GPRS Tunneling Protocol or GTP-based domain) and external, untrusted packet data networks like the public Internet or corporate intranets. The BG enforces security policies, performs network address translation (NAT), and manages IP routing to ensure data packets are correctly forwarded between the mobile user's device (MS) and the destination PDN.
Architecturally, the BG interfaces internally with other GPRS network nodes, primarily the GGSN, via the Gi reference point. Externally, it connects to PDNs. It operates at the IP layer, inspecting and processing IP packets. Key functional components include a firewall for packet filtering and access control, a NAT module to translate between private GPRS backbone IP addresses and public IP addresses used on external networks, and routing functions to determine the optimal path for data traffic. It may also incorporate charging gateway functions to collect data usage records for billing.
In operation, when a mobile device activates a Packet Data Protocol (PDP) context, the GGSN assigns it an IP address from the GPRS network's address pool. Outbound traffic from the mobile station is tunneled via GTP to the GGSN, which then forwards IP packets to the BG. The BG performs necessary NAT, replacing the private source IP with a public one, applies firewall rules, and routes the packet onto the external PDN. For inbound traffic destined for the mobile, the reverse process occurs: the BG receives packets, translates the public destination IP to the corresponding private IP, and forwards them to the GGSN for GTP tunneling to the Serving GPRS Support Node (SGSN) and ultimately the radio access network. This architecture isolates the GPRS core from external threats and manages IP address scarcity.
Purpose & Motivation
The Border Gateway was introduced in 3GPP Release 99 to address fundamental challenges in securely and efficiently connecting mobile networks to external IP-based networks as GPRS enabled packet-switched data services. Prior to GPRS, cellular networks were primarily circuit-switched for voice, with limited data capabilities. The shift to packet data required a secure gateway to bridge the operator's private network realm and public data networks, protecting network infrastructure and subscriber data from external attacks.
It solved several key problems: First, it provided essential security through firewall functionality, preventing unauthorized access from the Internet into the GPRS core. Second, it enabled efficient use of scarce public IPv4 addresses via Network Address Translation (NAT), allowing many mobile devices to share a pool of public IPs. Third, it managed routing between different administrative domains, ensuring packets correctly traversed from the mobile network to various external PDNs (e.g., Internet, IMS, corporate networks). The BG's creation was motivated by the need for a standardized, controlled interface (the Gi reference point) that could support diverse services like WAP browsing, email, and later, IMS multimedia, while maintaining operator control over security, charging, and policy enforcement.
Key Features
- Firewall and packet filtering for security between GPRS backbone and external PDNs
- Network Address Translation (NAT) to conserve public IPv4 addresses
- IP routing and interconnection management for external packet data networks
- Support for the Gi reference point interface specification
- Integration with charging systems for data usage accounting
- Traffic policing and potential QoS marking at the network border
Evolution Across Releases
Introduced the Border Gateway as part of the GPRS architecture. Defined its role in providing secure interworking between the GPRS backbone and external Packet Data Networks (PDNs) via the Gi interface. Initial capabilities included basic firewall functions, NAT, and IP routing to enable early mobile data services like WAP and Internet access.
Defining Specifications
| Specification | Title |
|---|---|
| TS 21.905 | 3GPP TS 21.905 |
| TS 23.060 | 3GPP TS 23.060 |
| TS 23.228 | 3GPP TS 23.228 |
| TS 23.923 | 3GPP TS 23.923 |
| TS 28.702 | 3GPP TS 28.702 |
| TS 29.061 | 3GPP TS 29.061 |
| TS 32.102 | 3GPP TR 32.102 |
| TS 32.622 | 3GPP TR 32.622 |
| TS 32.632 | 3GPP TR 32.632 |
| TS 32.732 | 3GPP TR 32.732 |
| TS 33.210 | 3GPP TR 33.210 |