Académique Documents
Professionnel Documents
Culture Documents
Video at youtube:
https://www.youtube.com/watch?v=FPfExr9bEEg&list=PLgQvzs
PaZX_bimBc5Wu4m6-cVD4bZDav9&index=9
İki Teknoloji 1
What is GTP?
Inner IP Packet
Outer IP Packet
İki Teknoloji
Irfan Ali 2 2
What is the purpose of GTP Tunneling?
Mehmet’s IP address
46.1.78.189 -> GTP is
10.40.40.12 Internet IP-in-UDP Tunneling
10.10.10.1 P-GW Ayse
DHCP
10.10.10.0/24 IP_a ->
Hi
IP_m
10.10.10.2
UDP_
S-GW IP_pgw -> IP_a ->
dst= TEID_k Hi
IP_sgw 2152 IP_m
10.10.20.1
GTP Tunnel
IP UDP GTP-U
header
10.10.20.0/24
UDP_
IP_sgw -> IP_a ->
dst= TEID_x Hi
IP_enb 2152 IP_m
10.10.20.2
eNB
IP_a ->
Hi
IP_m
Mehmet
Mehmet’s IP address
10.40.40.12
İki Teknoloji
Irfan Ali 3 3
How does the GTP-U Tunnel get setup?
UDP_ UDP_
IP_pgw -> IP_a -> IP_pgw ->
IP_sgw
dst= TEID_a
IP_m IP_sgw
dst= TEID_k GTP-C message
2152 2123
İki Teknoloji
Irfan Ali 4 4
How does GTP-U Tunnel get setup: Example
TEIDcs Rx Tx Tx Rx TEIDcs
Rx Tx Tx Rx TEIDcp
IPc,sgw IPc,pgw
TEID IPc,sgw IPc,pgw
TEID TEID TEID
TEIDbs
TEIDbp
TEIDcs
Tx TEIDcp
Rx Tx Rx Rx Tx Tx Rx
IPu,sgw IPu,pgw IPu,sgw IPu,pgw
TEID TEID
TEID TEID
İki Teknoloji
Irfan Ali 5 5
Packet Trace: Create Session Request (S11); MME->SGW
SGW/
MME S11 PGW
0x1
2123 2123
SGW/
eNB S1U PGW
2152 2152
İki Teknoloji
Irfan Ali 6 6
Packet Trace: Create Session Response (S11); SGW -> MME
SGW/
MME S11 PGW
0x80..01
0x1
2123 2123
SGW/
eNB S1U PGW
0xc0..1
2152 2152
İki Teknoloji
Irfan Ali 7 7
Packet Trace: Modify Bearer Request (S11); MME ->SGW
SGW/
MME S11 PGW
0x800..001
0x80..01
0x1
2123 2123
SGW/
eNB S1U PGW
0xc0..1
0x3ea 2152 2152
İki Teknoloji
Irfan Ali 8 8
Packet Trace: GTP-U: S1-U; eNB -> SGW/PGW
SGW/
UE eNB PGW Server
S1U
10.255.1.111 10.1.2.11 10.1.1.12 10.0.0.100
0x010000
2152 2152
Rx Tx
Tx Rx
İki Teknoloji
Irfan Ali 9 9
Packet Trace GTP-U: S1-U; eNB <- SGW/PGW
SGW/
UE eNB PGW Server
S1U
10.255.1.111 10.1.2.11 10.1.1.12 10.0.0.100
İki Teknoloji
Irfan Ali 10 10
GTP Path and Path Management
SGW PGW
• Path is between two endpoints. Each end
Path point is IP_address+UDP_Port#
TEIDas
• There can be several GTP tunnels on a
TEIDbs
2123 2123 path (each with different TEIDs).
TEIDcs
IPc,pgw
• There is typically a “software process” that
IPc,sgw
binds to each end-point.
TEIDxs
2152
Path
2152
• Path Management messages: To ensure
TEIDys
that a path is alive (both the physical link
TEIDzs
and process at the endpoint), periodic
Rx
IPu,sgw
Tx Tx Rx
IPu,pgw
echo-request and echo-response are sent.
TEID
TEID • Failure-detection and error-recovery
mechanisms are defined.
İki Teknoloji
Irfan Ali 11 11
Packet Traces: GTP-U Echo-request & Echo Response
In GTP-Cv2 Echo
request/response messages
do not contain TEID field
In GTP-Cv2 Echo
request/response messages
do not contain TEID field
İki Teknoloji
Irfan Ali 12 12
Interfaces on which GTP is used
Internet
UE’s IP address
S1-MME
S1AP
eNB
İki Teknoloji
Irfan Ali 13 13
Specifications
• GTPC v2 TS 29.274
• GTPU v1 TS 29.281
• GTPC v1 TS 29.060
İki Teknoloji
Irfan Ali 14 14
Annex
İki Teknoloji 15
Rules for GTP-C IP address and port numbers
• Three types of messages GTP-C GTP-C
Peer A Peer B
Initial Message
Triggered Message
İki Teknoloji
Irfan Ali 16 16