BroadNet
DIAMETERFundamentals

Diameter vs RADIUS: why Diameter replaced RADIUS

Updated 4 min readStandards-based
Direct answer

Diameter replaced RADIUS for operator-scale AAA because RADIUS runs over unreliable UDP with no failover, a 1-octet attribute space and weak security. Diameter adds reliable SCTP/TCP transport, explicit capability negotiation, a 32-bit AVP space, peer discovery, per-message error codes and TLS/IPsec — while keeping the same AVP-based model, so translation agents can bridge the two.

§01

Where RADIUS fell short

RADIUS (RFC 2865) was designed in the 1990s for dial-up network access: a client sends an Access-Request over UDP and hopes for an Access-Accept. That model does not scale to a mobile core. UDP gives no reliable delivery, so loss detection and retransmission are left to the application. There is no server-initiated message, so a network cannot proactively terminate or re-authorize a session. The attribute Type field is a single octet (256 values), the shared-secret security is weak, and there is no built-in failover between servers. As LTE demanded server-initiated re-auth, reliable transport and a much larger attribute space, RADIUS ran out of room.

§02

What Diameter added

Diameter kept the AVP idea but rebuilt the protocol around operator requirements. It runs over reliable SCTP or TCP, so delivery, ordering and retransmission are handled by the transport, and it defines explicit failover between peers using the watchdog. It negotiates capabilities at connection time (CER/CEA) so peers agree on applications before traffic flows. Its AVP Code is 32 bits with a vendor space, giving effectively unlimited attributes. It supports server-initiated messages (Re-Auth, Abort-Session). And it defines a structured error model with distinct transient and permanent result codes, plus TLS/DTLS and IPsec for security.

§03

Diameter vs RADIUS at a glance

The two protocols share a lineage but differ on every property that matters for a carrier control plane. The table below summarises the practical differences an operator weighs when moving AAA from RADIUS to Diameter.

Diameter (RFC 6733) vs RADIUS (RFC 2865)
PropertyRADIUSDiameter
TransportUDP (unreliable)SCTP or TCP (reliable)
Delivery / failoverApplication-level, no standard failoverTransport-reliable + watchdog failover (RFC 3539)
Attribute space1-octet Type (256 values)32-bit AVP Code + vendor space
Attribute size1-octet length (max 255 octets)24-bit length (large values, Grouped AVPs)
Capability negotiationNoneCER/CEA at connection setup
Server-initiated messagesNo (CoA/Disconnect added later, RFC 5176)Yes — Re-Auth (RAR), Abort-Session (ASR)
Peer discoveryStatic configurationRealm routing + dynamic discovery (DNS/SRV)
Error handlingImplicit (accept/reject)Explicit Result-Code ranges 1xxx–5xxx
SecurityShared secret, MD5 hidingTLS / DTLS / IPsec
§04

Realm routing and peer discovery

RADIUS proxies by static configuration. Diameter routes on the Destination-Realm AVP: a node forwards a message toward the realm that owns the user, using a realm-based routing table, and can discover peers dynamically through DNS NAPTR/SRV records rather than hand-configured hosts. This realm model is what makes inter-operator Diameter roaming work — a visited network routes an S6a request to the home realm without knowing the home HSS's address in advance — and it is the same routing that Diameter Routing Agents and Edge Agents police at the border.

§05

Migration and translation agents

Because both protocols are AVP-based, Diameter was designed to interwork with RADIUS through a translation agent that maps RADIUS attributes to Diameter AVPs and back, so an operator can migrate incrementally rather than in a single cutover. A common pattern keeps RADIUS at the access edge (Wi-Fi, fixed broadband) while the core AAA, policy and charging run on Diameter, with a translation gateway between them. New LTE, IMS and 5G interfaces are Diameter-native, so over time the RADIUS footprint shrinks to legacy access.

FAQ

Frequently asked

Why did Diameter replace RADIUS?

Because RADIUS runs over unreliable UDP, has only a 256-value attribute space, offers no capability negotiation or standard failover, and no server-initiated messages. Diameter adds reliable SCTP/TCP transport, watchdog failover, a 32-bit AVP space, CER/CEA capability negotiation, server-initiated re-auth, realm routing and TLS/IPsec — everything a mobile core needs.

Is Diameter backward-compatible with RADIUS?

Not on the wire — they are different protocols — but Diameter was designed to interwork through a translation agent that maps RADIUS attributes to Diameter AVPs and back. This lets operators keep RADIUS at the access edge while running Diameter in the core, migrating incrementally rather than in one cutover.

What transport does Diameter use instead of UDP?

Diameter runs over SCTP or TCP, both reliable, with SCTP preferred for signalling because of multi-streaming and multi-homing. Reliable transport plus the RFC 3539 watchdog gives Diameter the delivery guarantees and peer failover that RADIUS over UDP never had.

How is the Diameter AVP space bigger than RADIUS attributes?

RADIUS uses a single-octet attribute Type (256 values) and a single-octet length (max 255 octets). Diameter uses a 32-bit AVP Code with a vendor namespace and a 24-bit length, plus Grouped AVPs, giving effectively unlimited attributes and large, structured values.

Can Diameter and RADIUS run in the same network?

Yes. A typical deployment keeps RADIUS at the access edge (Wi-Fi, fixed broadband) and runs Diameter for core AAA, policy (Gx) and charging (Gy), with a translation gateway between them. LTE, IMS and 5G interfaces are Diameter-native, so the RADIUS footprint gradually shrinks to legacy access.

References

Source specifications

The published standards this page is grounded in. Opens in a new tab.

BNMaintained by the BroadNet engineering team·Carrier-grade messaging since 2003
Put it on the wire

Build with a real SMPP bind and REST API.

Request test access with real test keys: send to your own verified number first, then move to production across 200+ countries once your sender identity and routes are approved.