Project

General

Profile

Open5GS-Traces » History » Revision 18

Revision 17 (jolly, 01/30/2024 08:41 AM) → Revision 18/40 (jolly, 01/30/2024 10:32 AM)

h1. Open5GS-Traces 

 p{background:red}. *!This is Work-In-Progress!* 

 h2. Setup of this example 

 * Ericsson RBS 6402 (eNodeB) 
 * Open5GS (4G network elements) 
 * OsmoHLR with OsmoDia2GSUP (HSS) 
 * OsmoMSC (SMS) 


 h2. Idle 

 When all phones are Idle, one will see the following trace with Wireshark on the link between eNodeB (Ericsson RBS) and MME (Open5GS). 

 p{border: solid 1px}. !wireshark_enb_idle.png! 

 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). 
 

 The network 10.0.15.0/24 is the RAN network in this example. 


 h2. 4G Attachment 

 p{border: solid 1px}. !wireshark_enb_attach.png! 

 A 4G phone is attached to the network, using SIM cards that is registered in the HSS. The APN name used is "internet". 
 

 p{border: solid 1px}. !wireshark_enb_attach.png! 

 Lets go into detail: 


 h3. Attach request 

 p{border: solid 1px}. !wireshark_enb_attach_attach_request.png! 

 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". The "NAS-PDU" message type is highlighted blue in the picture above. 
 

 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.  


 h3. ESM information request 

 p{border: solid 1px}. !wireshark_enb_attach_ESM_infomation_request.png! 

  

 The MME sends an "ESM information request" to the UE, to request APN name. The "NAS-PDU" message type is highlighted blue in the picture above. 
 

 h3. ESM information response 

 p{border: solid 1px}. !wireshark_enb_attach_ESM_infomation_response.png! 

 The UE send an "ESM information response." The UE uses the APN name "internet". The "NAS-PDU" message type is highlighted blue in the picture above. 
 This is the default configuration in the example setup. It can be configured in the configuration file for OsmoHLR. (osmo-hlr.cfg) 


 

 h3. ESM information request 

 p{border: solid 1px}. !wireshark_enb_attach_ESM_infomation_request.png! 

 h3. ESM information response 

 p{border: solid 1px}. !wireshark_enb_attach_ESM_infomation_response.png! 

 h3. Attach accept 

 p{border: solid 1px}. !wireshark_enb_attach_attach_accept.png! 

 h3. Attach complete 

 p{border: solid 1px}. !wireshark_enb_attach_attach_complete.png! 


 h2. 4G Detachment 

 The 4G phone is turned off or the airplane mode is turned on. 

 p{border: solid 1px}. !wireshark_enb_detach.png! 

 Lets go into detail: 

 h.3 Detach Reqeust 

 p{border: solid 1px}. !wireshark_enb_detach_detach_request.png! 

 h.3 UE context release 

Add picture from clipboard (Maximum size: 48.8 MB)