Description
The Diameter Routing Agent (DRA) is a fundamental component within the 3GPP Diameter-based signaling architecture, primarily used in the Evolved Packet Core (EPC) for LTE networks and, in certain interworking scenarios, with the 5G Core (5GC). It operates as a specialized Diameter relay agent, intercepting, examining, and forwarding Diameter messages between various network functions (NFs) such as the Policy and Charging Rules Function (PCRF), Online Charging System (OCS), and Home Subscriber Server (HSS). Its core function is to perform routing based on information within the Diameter messages, including the Application-ID, Destination-Realm, and Destination-Host AVPs (Attribute-Value Pairs). This routing intelligence decouples the network functions from needing direct, static knowledge of each other's addresses, which is essential in large-scale, multi-vendor deployments and for facilitating roaming.
Architecturally, a DRA can operate in two primary modes: stateless and stateful. In stateless mode, the DRA routes each Diameter request independently based on the information in that single message. In stateful mode, which is mandatory for certain procedures like the Gx interface for policy control, the DRA maintains transaction state. It binds together the request and answer messages of a Diameter session, ensuring that all subsequent signaling for that session is routed back through the same DRA instance and to the same downstream network function (e.g., the same PCRF). This session binding is critical for maintaining consistent policy and charging contexts. The DRA achieves this by inserting a proprietary Route-Record AVP as it forwards a request, which is then used to route the corresponding answer back.
The DRA's role extends beyond simple routing. It provides critical network functions like load balancing across pools of network elements (e.g., multiple PCRFs), message prioritization, topology hiding, and diameter edge agent (DEA) functionality for inter-operator roaming interfaces (e.g., S9, S6a). By acting as a central routing hub, it dramatically reduces the number of direct Diameter connections (NxN mesh) required between network functions, simplifying network management, improving scalability, and enhancing network resilience. In 5G networks, while the Service-Based Architecture (SBA) uses HTTP/2 and service-based interfaces, the DRA remains relevant for interworking with EPC, legacy Diameter interfaces, and within the Binding Support Function (BSF) for 5GC policy control, ensuring a smooth transition between network generations.
Purpose & Motivation
The DRA was introduced to solve critical scalability and operational challenges arising from the adoption of the Diameter protocol as the primary signaling protocol for policy, charging, and authentication in the 3GPP Evolved Packet Core (EPC), starting with Release 8. Prior to the DRA, network functions like the PCRF, OCS, and HSS were envisioned to communicate via direct point-to-point Diameter connections. In a large network with multiple instances of each function, this creates an NxN mesh of connections, which is complex to provision, manage, and scale. Adding a new network function would require reconfiguring all existing peers, leading to operational inefficiency and potential service disruption.
The DRA addresses this by introducing a centralized routing layer. Its creation was motivated by the need to support commercial deployments involving equipment from multiple vendors and to facilitate seamless roaming between operators. Without a DRA, roaming would require complex bilateral agreements and direct connections between every HSS and visited network PCRF, which is impractical. The DRA, acting as a Diameter Edge Agent, provides a standardized, secure point of interconnection for roaming partners. Furthermore, it enables advanced network capabilities like load balancing and session binding, which are essential for reliable policy and charging control. It abstracts the underlying network topology, allowing operators to scale, upgrade, or replace network functions without impacting the entire signaling fabric.
Key Features
- Diameter message routing based on Application-ID, Realm, and Host AVPs
- Stateful session binding for Gx, Rx, and other policy/charging interfaces
- Load balancing across pools of network functions (e.g., PCRF, OCS)
- Topology hiding and Diameter Edge Agent (DEA) functionality for roaming
- Reduction of NxN signaling connections to a hub-and-spoke model
- Support for both stateless and stateful (transaction-stateful) operation modes
Evolution Across Releases
Introduced as a core component for Diameter signaling in the EPC. Initial architecture defined its role as a Relay Agent for routing messages on interfaces like Gx (PCRF-PCEF), Rx (PCRF-AF), and S6a (MME-HSS). Specified the need for stateful operation to bind Diameter sessions, particularly for policy and charging control.
Defining Specifications
| Specification | Title |
|---|---|
| TS 23.203 | 3GPP TS 23.203 |
| TS 29.154 | 3GPP TS 29.154 |
| TS 29.201 | 3GPP TS 29.201 |
| TS 29.213 | 3GPP TS 29.213 |
| TS 29.521 | 3GPP TS 29.521 |
| TS 29.809 | 3GPP TS 29.809 |
| TS 29.810 | 3GPP TS 29.810 |
| TS 29.816 | 3GPP TS 29.816 |
| TS 29.817 | 3GPP TS 29.817 |