Free tech learning for everyone, from basics to pro

5G / 6GEmerging Technologies and SecurityIntermediate

5G architecture: RAN, core and the service-based architecture

In short: A 5G system has three main parts: the radio access network (RAN), the transport network and the 5G Core. The core is built from software network functions that talk over HTTP/2 APIs, known as the service-based architecture. Control and user planes are separated, so traffic can be handled close to users.

The big picture

A 5G system connects user equipment (UE), such as phones, routers and sensors, to data networks such as the internet or a company network. Between them sit the radio access network (RAN), which handles the radio link, and the 5G Core (5GC), which handles authentication, sessions, mobility and policy. A transport network of fibre, microwave or other links joins them.

End-to-end 5G systemUEphone ordeviceRANgNB: RU, DU,CUTransportfronthaul,backhaul5G CoreAMF, SMF, UPFData networkinternet, apps
Figure 1. The main parts of a 5G system, from the user device through the radio network and core to the data network.

The radio access network

The 5G base station is called a gNB. It is often split into three parts so that work can be placed where it fits best:

  • Radio Unit (RU): antennas and radio hardware at the mast.
  • Distributed Unit (DU): time-critical processing, usually near the RU.
  • Centralised Unit (CU): less time-critical functions, which can be pooled in a regional site. It is further split into control plane (CU-CP) and user plane (CU-UP).

The O-RAN approach, promoted by the O-RAN Alliance, defines open interfaces between these parts so operators can mix vendors, and adds RAN Intelligent Controllers (RICs) that host optimisation apps. Openness brings flexibility but also more interfaces to secure.

Non-standalone and standalone

ModeHow it worksWhat you get
Non-standalone (NSA)5G radio added to a 4G network; the 4G core (EPC) and 4G signalling anchor the connectionFaster speeds, quick to deploy, but few new 5G core features
Standalone (SA)5G radio connected to a 5G CoreFull 5G features: network slicing, better identity protection, service-based core

Many early 5G launches used NSA. Features such as network slicing need SA.

The 5G Core and service-based architecture

5G Core service-based architectureService busHTTP/2 APIsAMFaccess, mobilitySMFsessionsAUSFauthenticationUDMsubscriber dataPCFpolicyNRFdiscoveryNSSFslice selectionNEFAPI exposure
Figure 2. 5G Core control plane functions expose services to each other over a common API-based interface.

In earlier generations, core elements were boxes joined by fixed point-to-point interfaces. The 5G Core instead uses a service-based architecture (SBA): each network function (NF) offers services over HTTP/2 APIs, and functions find each other through the Network Repository Function (NRF). NFs are designed to run as cloud-native software, often in containers.

FunctionRole
AMF (Access and Mobility Management)Registration, connection and mobility of devices; entry point for signalling
SMF (Session Management)Creates and manages data sessions, assigns IP addresses, controls the UPF
UPF (User Plane Function)Forwards user traffic between RAN and data network; can be placed at the edge
AUSF and UDMAuthentication service and subscriber data and credentials
PCF (Policy Control)Quality of service and charging policy
NSSF and NEFSlice selection, and controlled exposure of network capabilities to external apps

Control and user plane separation (CUPS) means the SMF (control) can be central while UPFs (user traffic) sit close to users, which is the basis for multi-access edge computing. Key reference points to recognise: N2 (RAN to AMF), N3 (RAN to UPF, user data in GTP-U tunnels), N4 (SMF to UPF) and N6 (UPF to data network).

Tip: for security, think of the 5G Core as a cloud application. API security, container hardening, identity between functions and segmentation all apply, as covered in 5G security.

Practice

Which 5G Core function forwards user data packets?
The User Plane Function (UPF). Control functions such as the SMF manage it but do not carry user traffic.
How do network functions find each other in the 5G SBA?
They register with and query the Network Repository Function (NRF), then call each other over HTTP/2 APIs.
Why does network slicing need standalone 5G?
Slicing depends on 5G Core functions such as the NSSF and slice-aware session management, which NSA deployments using the 4G core do not provide.

Key takeaways

  • A 5G system is UE, RAN, transport and the 5G Core.
  • The gNB can be split into RU, DU and CU; O-RAN opens these interfaces.
  • Standalone 5G uses the 5G Core and unlocks features such as slicing.
  • The 5G Core is service-based: network functions talk over HTTP/2 APIs.
  • Separated control and user planes let UPFs run at the edge.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.