Project

General

Profile

Open5GS-Traces » History » Version 17

jolly, 01/30/2024 08:41 AM

1 1 jolly
h1. Open5GS-Traces
2
3 16 jolly
p{background:red}. *!This is Work-In-Progress!*
4 5 jolly
5 8 jolly
h2. Setup of this example
6
7
* Ericsson RBS 6402 (eNodeB)
8
* Open5GS (4G network elements)
9
* OsmoHLR with OsmoDia2GSUP (HSS)
10
* OsmoMSC (SMS)
11
12 17 jolly
13 8 jolly
h2. Idle
14 1 jolly
15 10 jolly
When all phones are Idle, one will see the following trace with Wireshark on the link between eNodeB (Ericsson RBS) and MME (Open5GS).
16 1 jolly
17 15 jolly
p{border: solid 1px}. !wireshark_enb_idle.png!
18 8 jolly
19
The eNodeB (IP 10.0.15.117) is connected to MME (IP 10.0.15.1) via SCTP. Also the eNodeB syncs its clock to NTP server (IP 10.0.15.1).
20
21 9 jolly
The network 10.0.15.0/24 is the RAN network in this example.
22
23 17 jolly
24 9 jolly
h2. 4G Attachment
25
26 1 jolly
A 4G phone is attached to the network, using SIM cards that is registered in the HSS. The APN name used is "internet".
27 10 jolly
28 16 jolly
p{border: solid 1px}. !wireshark_enb_attach.png!
29 1 jolly
30 12 jolly
Lets go into detail:
31
32 17 jolly
33 12 jolly
h3. Attach request
34 1 jolly
35 16 jolly
p{border: solid 1px}. !wireshark_enb_attach_attach_request.png!
36 17 jolly
37
The UE sends an "Attach request". The request message type is highlighted blue in the picture above.  It is the message type of the "NAS-PDU" information element of the "initiatingMessage".
38
39
Also within the "NAS-PDU" is the "EPS mobile identity". In this case the UE has the mobile country code "999" and the mobile network code "10". The IMSI is not shown. Because the UE was attached before, a TMSI is used. 
40
41
The UE uses the APN name "internet". This is the default configuration in the example setup. It can be configured in the configuration file for OsmoHLR. (osmo-hlr.cfg)
42 1 jolly
43 14 jolly
h3. ESM information request
44
45 16 jolly
p{border: solid 1px}. !wireshark_enb_attach_ESM_infomation_request.png!
46 14 jolly
47
h3. ESM information response
48
49 16 jolly
p{border: solid 1px}. !wireshark_enb_attach_ESM_infomation_response.png!
50 14 jolly
51
h3. Attach accept
52
53 16 jolly
p{border: solid 1px}. !wireshark_enb_attach_attach_accept.png!
54 14 jolly
55
h3. Attach complete
56
57 16 jolly
p{border: solid 1px}. !wireshark_enb_attach_attach_complete.png!
58 14 jolly
59
60 10 jolly
h2. 4G Detachment
61
62 1 jolly
The 4G phone is turned off or the airplane mode is turned on.
63 10 jolly
64 16 jolly
p{border: solid 1px}. !wireshark_enb_detach.png!
65 14 jolly
66
Lets go into detail:
67
68
h.3 Detach Reqeust
69
70 16 jolly
p{border: solid 1px}. !wireshark_enb_detach_detach_request.png!
71 14 jolly
72
h.3 UE context release
Add picture from clipboard (Maximum size: 48.8 MB)