GPRS Tunneling Protocol GTP
GPRS Tunneling Protocol GTP
Agenda
HLR
Gn TE MT BSS Gb Iu TE MT UTRAN SGSN Gn Gp Iu TE MT UTRAN SGSN Other PLMN SGSN Gn Gn GGSN Gi PDN TE Gc
SNDCP LLC RLC MAC GSM RF Um RLC MAC GSM RF BSSGP Network Service L1bis Gb
MS
Application
BSS
SGSN
GGSN
GTP-U UDP/IP L2 L1
Gn
GTP-U UDP/IP L2 L1
Gi
MS
UTRAN
3G-SGSN
3G-GGSN
GTP Overview
GPRS Tunneling Protocol is
The protocol between GPRS Support Nodes Includes both the GTP signaling (GTP-C) & data transfer (GTP-U) procedures Is defined for the Gn interface, i.e. the interface between GSNs within a PLMN & For the Gp interface between GSNs in different PLMNs Allows multi-protocol packets to be tunneled through the UMTS/GPRS backbone
GTP Header
Octets 1 2 3 4 5 6 7 8 9 10 11 12 8 7
Version
5
PT
4
(*)
3
E
2
S
1
PN
Message Type Length (1st Octet) Length (2nd Octet) Tunnel Endpoint Identifier (1st Octet) Tunnel Endpoint Identifier (2nd Octet) Tunnel Endpoint Identifier (3rd Octet) Tunnel Endpoint Identifier (4th Octet) Sequence Number (1st Octet) Sequence Number (2nd Octet) N-PDU number Next Extension Header Type
SGSN specific
GTP Messages
GTP defines a set of messages. These are classified into
Path Management messages Tunnel Management messages Location Management messages Mobility Management messages
APN Attributes
Some of the attributes are - APN Network Identifier - Access Mode Transparent (no authentication) / Non-transparent - IP address pool - Primary DHCP server - Secondary DHCP server - DHCP gateway address - RADIUS server - Backup RADIUS server - IP address of the next hop for the Gi interface Attributes to get logs - Current allocated IP address count - Current PDP context count
Trace Type
End User Address Access Point Name Protocol Configuration Options SGSN Address for signaling
Optional
Conditional Conditional Conditional Mandatory
Mandatory
Conditional Mandatory Conditional Optional Optional Optional
Cause
Reordering required Recovery Tunnel Endpoint Identifier Data 1
Mandatory
Conditional Optional Conditional
Conditional
Conditional Conditional Optional Conditional Conditional Conditional Optional Optional
Sent from GSN if no active PDP context exists for the received G-PDU. When an error indication is received, the receiving GSN deletes the corresponding PDP context. The elements TEID and GSN address are derived from the data message and uniquely specify the PDP context.
GTP-MAP Interworking
MAP GTP GTP UDP IP L2 L1 Gn+ UDP IP L2 L1 MAP TCAP SCCP MTP3 MTP2 L1 Gc TCAP SCCP MTP3 MTP2 L1
GGSN
SGSN
HLR
For GTP-U An increasing number of T-PDUs are transmitted via GTP-U tunnel when transmission order must be preserved. The receiving GGSN would reorder the incoming T-PDUs in seq. if the reordering required flag in the PDP context is set. In this case if required the GGSN would maintain a window and a timers to make sure that a G-PDU was lost. The sequence number is kept unchanged irrespective of the tunnels it travels before the destination.