5G architecture · interactive explorer

The 5G architecture, every piece explained.

RAN splits, CU-CP / CU-UP / DU / RU breakdown, every interface (NG-C, NG-U, F1-C, F1-U, E1, Xn, X2, S1, NAS, N1–N6), full protocol stack, and radio architecture. Vendor-neutral. 3GPP TS 38.401, 38.410, 38.473, 38.463 aligned.

4 split modes · 18 interfaces · 7 protocol layers · 3GPP-aligned
Configuration
RAN Splits

Four ways to physically deploy the same gNB

Every gNB is logically the same. The choice is where the functions physically live — and which fiber/transport you light between them.

Mode 1 · D-RAN

Distributed RAN

All baseband functions (CU + DU + RU) live in one box at the cell site. The classic deployment — simple, no fronthaul.

Where it lives: One vendor-integrated gNB at the cell site
Mode 2 · C-RAN

Centralized RAN

RU at the cell site, BBU (CU+DU) pooled in a central office. Fronthaul is CPRI/eCPRI fiber. Vendor-locked.

Where it lives: RU = mast, BBU pool = nearby central office (≤ 20 km)
Mode 3 · vRAN

Virtualised RAN

CU and DU run as software on commodity x86/ARM servers (OpenShift / K8s). Still single-vendor stack, but on COTS hardware.

Where it lives: RU = mast, vDU/vCU = edge/regional cloud
Mode 4 · O-RAN

Open RAN (7.2x split)

Open standardised interfaces (Open Fronthaul 7.2x, F1, E1, A1, E2). Multi-vendor: pick best-of-breed RU, DU, CU, RIC.

Where it lives: Multi-vendor; orchestrated by SMO + RIC; xApps & rApps add intelligence
UEphone Uu radio · NAS · RRC gNB-RUPHY low + RF Open FH 7.2x eCPRI · CUS · MP gNB-DUPHY high · MAC · RLC F1-C F1AP · SCTP F1-U GTP-U · UDP gNB-CU-CPRRC · PDCP-C gNB-CU-UPSDAP · PDCP-U E1 E1AP · SCTP NG-C NGAP · SCTP NG-U GTP-U · UDP AMFMobility SMFSession UPFUser Plane N4 · PFCP AUSF UDM PCF NRF SBA · HTTP/2 DNInternet N6 RADIO UNIT DISTRIBUTED UNIT CENTRAL UNIT (CP + UP) 5G CORE (SBA)
Network Elements

Every box, what it does, where it lives

Each card is a real 3GPP network function — defined in TS 38.401 (RAN) and TS 23.501 (Core).

CU-CP

gNB-CU-CP

Control plane · RRC · PDCP-C

Terminates RRC toward the UE, PDCP control plane, NGAP to AMF. Holds UE context. Speaks F1-C to DU, E1 to CU-UP. TS 38.401

CU-UP

gNB-CU-UP

User plane · SDAP · PDCP-U

QoS-flow → DRB mapping (SDAP), PDCP user plane, ciphering. Speaks F1-U to DU and NG-U to UPF. TS 38.401

DU

gNB-DU

RLC · MAC · PHY-high

Lower layers: RLC ARQ, MAC scheduler, PHY high (coding, modulation, layer mapping). Speaks F1 to CU, FH to RU. TS 38.401

RU

O-RU / RRU

PHY-low · RF · antenna

iFFT/FFT, beamforming weight application, DAC/ADC, PA/LNA, antenna feed. O-RAN 7.2x split definition. O-RAN WG4 CUS

AMF

Access & Mobility Function

NAS-MM · paging · registration

UE registration, idle/connected mobility, authentication anchor, NGAP termination to gNB. TS 23.501 · 24.501

SMF

Session Management Function

PDU session · IP allocation · QoS

PDU session establishment, IP address allocation, QoS rules to UPF via N4 PFCP. TS 23.501 · 29.502

UPF

User Plane Function

N3/N6/N9 · GTP-U · DPI · QoS

The data-plane workhorse — GTP-U termination, packet inspection, traffic steering, QoS enforcement (QER), usage reporting. TS 29.244

+8

NRF · UDM · UDR · AUSF · PCF · NSSF · SEPP · NEF · BSF · CHF · NWDAF · SCP

SBA service mesh

Discovery, subscriber data, authentication, policy, slice selection, border gateway, exposure, charging, analytics — every NF talks over HTTP/2 + JSON.

Interfaces · Reference Points

Every wire between every box

Filter by plane. Each row is a 3GPP-defined reference point with its protocol stack and spec.

InterfaceEndpointsProtocol StackCarriesSpec
F1-C CPgNB-DU ↔ gNB-CU-CPF1AP / SCTP / IPUE-context setup, RRC transfer, paging, error indicationTS 38.473
F1-U UPgNB-DU ↔ gNB-CU-UPNR-U / GTP-U / UDP / IPUser-plane PDUs between DU and CU-UP (DRB data)TS 38.425
E1 CPgNB-CU-CP ↔ gNB-CU-UPE1AP / SCTP / IPBearer-context create/modify, security keys, GTP-U TEIDsTS 38.463
Open FH 7.2x · M-Plane MPO-DU ↔ O-RUNETCONF / SSH / TCPRU config (cells, carriers, MTU, syncE), operationsO-RAN MP.0
Open FH 7.2x · CUS-Plane UPO-DU ↔ O-RUeCPRI / EthernetIQ samples, beamforming weights, U-plane & C-plane & S-planeO-RAN CUS.0
NG-C CPgNB ↔ AMFNGAP / SCTP / IPUE-context, PDU-session resource setup, paging, handoverTS 38.413
NG-U UPgNB ↔ UPFGTP-U / UDP / IPUser-plane PDUs between RAN and UPF (QFI marking)TS 29.281
Xn-C CPgNB ↔ gNBXnAP / SCTP / IPInter-gNB handover, dual connectivity, secondary node infoTS 38.423
Xn-U UPgNB ↔ gNBGTP-U / UDP / IPUser-plane forwarding during inter-gNB handoverTS 38.424
N1 CPUE ↔ AMF (over Uu+NG-C)NAS-5GS / RRC / PDCP / RLC / MAC / PHYRegistration, authentication, PDU-session NAS messagesTS 24.501
N2 CPgNB ↔ AMF (same as NG-C)NGAP / SCTP / IPLogical reference point name for NG-C in core viewTS 23.501
N3 UPgNB ↔ UPF (same as NG-U)GTP-U / UDP / IPLogical reference point name for NG-U in core viewTS 23.501
N4 CPSMF ↔ UPFPFCP / UDP / IPPDR / FAR / QER / URR rule installation, session-reportTS 29.244
N6 DNUPF ↔ Data NetworkIPv4 / IPv6 / EthernetInternet / enterprise data network reach-outTS 23.501
N9 UPUPF ↔ UPFGTP-U / UDP / IPInter-UPF (home-routed roaming, anchor / I-UPF chaining)TS 23.501
X2-C CPeNB ↔ eNB / eNB ↔ en-gNBX2AP / SCTP / IPLTE inter-eNB handover, EN-DC secondary-node modificationTS 36.423
X2-U UPeNB ↔ eNBGTP-U / UDP / IPUser-plane forwarding during LTE handover or split bearerTS 36.425
S1-MME CPeNB ↔ MMES1AP / SCTP / IPLTE control plane: attach, bearer setup, paging, handoverTS 36.413
S1-U UPeNB ↔ S-GWGTP-U / UDP / IPLTE user-plane PDUsTS 36.414
S6a MPMME ↔ HSSDiameter / SCTP / IPAuthentication vectors (AKA), subscriber profile, AVPsTS 29.272
A1 MPNon-RT RIC ↔ Near-RT RICHTTPS / REST / JSONPolicy & ML model deployment from rApp → xAppO-RAN A1
E2 MPNear-RT RIC ↔ E2 Node (gNB/eNB)E2AP / SCTP · KPM, RC, NI service modelsRAN metrics, control commands (handover override, slicing)O-RAN WG3
O1 MPSMO ↔ O-RAN managed elementsNETCONF / YANGFCAPS — config, fault, performance, securityO-RAN O1
Protocol Stack

Control plane & user plane, layer by layer

Click any layer to see what it does. Aligned to 3GPP TS 38.300 §6.

Control Plane UE ↔ AMF

L7NAS-MM / NAS-SMRegistration · auth · PDU session · paging
L3RRCIdle/connected state machine · cell selection · measurements
L2.3PDCPCiphering · integrity · in-sequence delivery
L2.2RLCARQ · segmentation · re-ordering
L2.1MACHARQ · scheduling · logical-to-transport channel
L1PHYOFDM · channel coding · MIMO · RACH

User Plane UE ↔ UPF

L7Application (HTTP, RTP, …)End-user data
L3IP (v4/v6)UE IP address from SMF
L2.4SDAPQoS-flow → DRB mapping (5G-only)
L2.3PDCPCiphering · header compression (ROHC) · reordering
L2.2RLCAM/UM/TM mode · segmentation
L2.1MACHARQ · multiplexing · scheduling
L1PHYPDSCH / PUSCH · LDPC · MIMO
Radio Architecture

From digital baseband to the antenna feed

The physical side of 5G — what actually hits the air.

Antenna & Massive MIMO RF

32T32R, 64T64R, 128T128R cross-pol arrays. Antenna elements at λ/2 spacing.

  • Active antenna array (AAA / AAS)
  • Beamforming weights at the RU
  • Digital + analog hybrid beamforming
  • SRS-based reciprocity at TDD

RF chain (PA · LNA · ADC) PHY-low

Power amp, low-noise amp, mixer, filter, ADC/DAC. Defines EIRP, noise figure, ACLR.

  • PA backoff for OFDM PAPR
  • Digital pre-distortion (DPD)
  • Calibration loop · temperature comp
  • Output power class (FR1 200W · FR2 25dBm/element)

OFDM & numerology PHY

μ = 0…6 → 15 / 30 / 60 / 120 / 240 / 480 / 960 kHz SCS. CP-OFDM down, CP-OFDM or DFT-s-OFDM up.

  • FR1 sub-6 (μ=0 or 1)
  • FR2 mmWave (μ=2 or 3)
  • FR2-2 52.6–71 GHz (μ=5,6)
  • Numerology drives slot duration & latency

Channel coding L1

Data channels use LDPC; control channels use Polar. Both are rate-matched, soft-buffered, HARQ-combined.

  • LDPC for PDSCH / PUSCH
  • Polar for PDCCH / PUCCH long
  • RM (Reed-Muller) for short control
  • HARQ-IR with up to 16 processes

Synchronization & sync sources PHY

Tight time-frequency sync end-to-end. eCPRI fronthaul needs sub-µs alignment.

  • GNSS (GPS / GLONASS) at RU
  • SyncE for frequency
  • PTP IEEE 1588 for time-phase
  • SSB-based UE downlink sync

Spectrum & bands FR

n1 / n3 / n7 / n28 / n41 / n77 / n78 / n79 / n257 / n258 / n260 / n261 — 3GPP-defined NR bands.

  • FR1: 410 MHz – 7.125 GHz
  • FR2: 24.25 – 52.6 GHz
  • FR2-2: 52.6 – 71 GHz (Rel-17)
  • TDD or FDD per band, BWP-based

Now run it live.

Apply this architecture inside our hands-on 5G Core Lab and the cinematic 5G Advanced Core video course.