GSM Architecture Explained: MSC, BSC, BTS, HLR, VLR, AuC and Call Flow

Follow one fictional GSM subscriber to see how radio access, switching, location records, authentication and incoming-call delivery fit together.

KnowledgeGate Team

Exam prep & CS education

Updated 1 Dec 20266 min read
GSM Architecture Explained: MSC, BSC, BTS, HLR, VLR, AuC and Call Flow

GSM diagrams look like boxes connected by initials, but questions become easy only when you know who carries the radio signal, switches the call, remembers the subscriber, and reacts when the phone moves. A location update changes register ownership; the incoming call then uses that state to find the handset. Use CS Fundamentals for Exams & Placements as the wider Computer Networks study home.

1. GSM architecture at a glance: radio access, switching, and subscriber data

The mobile station MS-17, meaning mobile equipment plus SIM, crosses Um to BTS-B7, Abis to BSC-B2, and the A interface to MSC-B/VLR-B. BSS = BTS + BSC is the radio-access side. The circuit-switched core has MSC, VLR, HLR, AuC, and the gateway function. GMSC is the gateway role for calls entering GSM from an external network.

Element

Primary job

Information it may use

What it does not do

BTS

Transmit and receive for one cell

Radio channel and burst data

Switch external calls

BSC

Control a group of BTSs

Channel and handover state

Store the permanent profile

MSC

Switch calls and coordinate mobility

Serving and routing state

Transmit radio bursts

HLR

Keep the home profile and serving pointer

Subscription and serving VLR

Track the idle phone's exact BTS

VLR

Keep temporary local subscriber state

IMSI, TMSI, location area

Remain the permanent home record

AuC

Supply authentication material

Long-term secret and generated data

Carry speech or reveal Ki

BTS and BSC manage radio access. MSC manages switching and mobility. HLR, VLR, and AuC supply state and authentication data. Logical functions can share equipment, especially MSC and VLR, but their roles remain distinct.

The earlier Mobile Technology in Computer Networks connects cellular reuse, multiple-access methods, and handoff. The state traces below instead follow authentication, location update, and incoming-call delivery.

GSM logical architecture for subscriber IMSI 404450001234567 shows MS-17, BTS-B7, MSC-B/VLR-B, HLR-H1, AuC-H1, GMSC-G1, and serving area LA-2007.

2. BTS and BSC: what happens on the radio side

BTS-B7 sends and receives radio bursts on assigned channels for MS-17, then passes traffic and signalling to BSC-B2. It neither decides the permanent profile, replaces core HLR access, nor switches external calls.

BSC-B2 supervises BTS-B7, BTS-B8, and BTS-B9, allocates and releases radio resources, and can control a B7-to-B8 handover. Both cells are inside LA-2007, so neither the HLR serving-VLR pointer nor the VLR location-area value changes.

  • B7 -> B8, same BSC: intra-BSC radio handover.

  • B8 -> BTS-C1, another BSC but the same MSC: the MSC participates, while VLR-B can remain the serving VLR.

  • Entry into LA-3004 under MSC-C/VLR-C: a wider location-register update follows.

A cell change does not imply an HLR update.

3. MSC and GMSC: switching is not subscriber storage

MSC-B sets up, routes, controls, and releases circuit-switched calls while coordinating mobility with the BSS and registers. VLR-B supplies temporary subscriber and location information; HLR-H1 remains the home record.

GMSC-G1 receives an external call and asks the HLR where to route it. It is not automatically the serving MSC and does not store the handset's exact cell. Classic GSM call setup and mobility signalling are not TCP or UDP sessions. TCP vs UDP: Transport Layer Explained covers that adjacent concept, not GSM call control.

4. HLR, VLR, and AuC: profile, whereabouts, and trust

Store

State for this subscriber

Boundary

HLR-H1

Permanent profile; serving pointer VLR-B

No exact idle-handset BTS

VLR-B

IMSI 404450001234567; LA-2007; TMSI 0x7C91E205

Temporary, local state

AuC-H1

Long-term secret and authentication material

Does not send Ki to BTS or handset

Classic GSM authentication is a comparison. The network sends fictional RAND 11223344556677889900AABBCCDDEEFF; the SIM returns SRES 89ABCDEF; expected SRES is 89ABCDEF, so the check passes. Fictional Kc 0123456789ABCDEF is the ciphering key. The comparison consumes A3/A8 outputs; it does not reveal either algorithm. Long-term Ki stays inside the SIM and AuC trust domain. It is never sent over Um.

Separate five identifiers: IMSI 404450001234567 identifies the subscription; TMSI 0x7C91E205 is a temporary local identity; MSISDN +91 98100 12345 is the public dialled number; MSRN +91 1170004321 is temporary incoming-call routing data; and IMEI identifies equipment. EIR is the database associated with equipment identity.

5. Worked example: location update after a VLR change

Time

HLR-H1

VLR-A

VLR-B

Radio and core path

09:00

Points to VLR-A

Old TMSI 0x19A2D4C1 maps to the IMSI

No record

LA-1001, BTS-A4/BSC-A1/MSC-A/VLR-A

09:12 detection

Points to VLR-A

Old record exists

Update using old TMSI and old LA context

LA-2007, BTS-B7/BSC-B2/MSC-B/VLR-B

Procedure and ownership:

  1. VLR-B identifies the subscription using the old VLR context or IMSI.

  2. VLR-B obtains authentication data through the home-system path.

  3. The network sends the same RAND through MSC-B, BSC-B2, and BTS-B7.

  4. The SIM returns SRES 89ABCDEF.

  5. VLR-B compares 89ABCDEF with expected 89ABCDEF: equal, so authentication passes.

  6. VLR-B creates its record and assigns TMSI 0x7C91E205.

  7. HLR-H1 changes its pointer from VLR-A to VLR-B.

  8. HLR-H1 directs VLR-A to cancel the old record.

Ki crosses no interface. At 09:13, HLR-H1 points to VLR-B; VLR-B stores the IMSI, LA-2007, and new TMSI; VLR-A has no active record. While idle, the handset could be under B7, B8, or B9. Three categories changed: home routing pointer, serving-VLR record, and temporary identity. IMSI and MSISDN did not.

Sequence and state-change figure for MS-17 shows movement from LA-1001 to LA-2007, authentication PASS, and TMSI change from 0x19A2D4C1 to 0x7C91E205.

6. Worked example: routing an incoming call

At 09:20, a caller dials MSISDN +91 98100 12345. GMSC-G1 queries HLR-H1, which sees VLR-B, obtains temporary MSRN +91 1170004321 from the serving MSC/VLR side, and returns it. The gateway routes the call to MSC-B. MSRN is routing data, not a replacement for IMSI, TMSI, or MSISDN.

MSC-B knows LA-2007, so it pages through BSC-B2 across B7, B8, and B9. MS-17 answers through B7, BSC-B2 assigns a radio resource, and MSC-B completes setup. Moving B7 to B8 inside the area needs no location update, but paging still covers the area.

This is mobility and call routing. Routing Algorithms: Distance Vector vs Link State explains how packet-network routes are computed. The shared word does not make their state or algorithms interchangeable.

7. GSM architecture question patterns and traps

Common questions ask you to match nodes with jobs, label Um, Abis, and A, trace state across a cell, location-area, or VLR boundary, or identify changes during update, authentication, or call delivery.

Mistake

Consequence

Correction

BTS switches external calls

Radio and switching roles reverse

MSC switches; BTS provides radio access

BSC stores the permanent subscription

Mobility state is misplaced

HLR is the home record

HLR tracks the exact BTS

Paging logic disappears

HLR points towards the serving area; VLR holds location-area state

VLR is permanent

Stale visitor records look valid

VLR data is temporary and serving-area specific

AuC sends Ki over air

Authentication becomes insecure

Only challenge and derived responses or keys participate

Every cell change updates HLR

Signalling is exaggerated

The crossed boundary determines which records change

Rapid checks:

  1. B7 -> B8 inside LA-2007: the radio point changes; HLR pointer and VLR location-area value do not.

  2. LA-2007/VLR-B -> LA-3004/VLR-C: VLR-C gains a record, HLR changes its pointer, and VLR-B's active record is cancelled.

  3. Received SRES 76543210, expected 89ABCDEF: they are unequal, so authentication fails.

8. GSM architecture in the short version

BTS talks over radio. BSC controls BTSs and radio resources. MSC switches calls and coordinates mobility. HLR keeps the home profile and serving pointer. VLR keeps temporary local subscriber and location-area state. AuC supplies authentication material while protecting Ki.

Redraw both diagrams from memory. Then explain why location update changes VLR-A -> VLR-B, while the incoming call follows MSISDN -> HLR -> MSRN -> MSC-B -> page LA-2007. If ownership is unclear, repeat the section 4 state table.

For the next step, use CS Fundamentals for Placements by Sanchit Sir for core-subject revision that includes Computer Networks.