Difference between revisions of "UERANSIM untuk test 5G"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 24: | Line 24: | ||
10/11 08:26:14.182: [sbi] INFO: [366fda3a-491c-41ed-88d8-c3a3950698ee] (NF-discover) NF Profile updated 58) | 10/11 08:26:14.182: [sbi] INFO: [366fda3a-491c-41ed-88d8-c3a3950698ee] (NF-discover) NF Profile updated 58) | ||
+ | |||
+ | Dalam bahasa manusia, yang terjadi kira-kira sebagai berikut | ||
+ | |||
+ | * Core Network yang digunakan adalah Open5GS untuk simulasi sambungan 5G | ||
+ | * Pada 08:26:13.967 terlihat NF registerd, yang artinya sebuah gNB 5G berhasil connect ke Open5GS | ||
+ | * Pada 08:26:14.176 terlihat [imsi-510330000012345] Registration complete, yang artinya smartphone dengan IMSI 510330000012345 berhasil terdaftar | ||
+ | * Pada 08:26:14.177 terlihat [Added] Number of AMF-Sessions is now 1, yang artinya sudah dibuka sesi AMF untuk smartphone tersebut. | ||
==Screenshot saat menjalankan UERANSIM ENB== | ==Screenshot saat menjalankan UERANSIM ENB== | ||
Line 59: | Line 66: | ||
+ | Di sisi gNB yang menjalankan UeranSIM, kita dapat membaca beberapa hal dari log, seperti, | ||
+ | |||
+ | * Pada jam 08:19:37.199 gNB berhasil connect ke Open5GS. IP address yang digunakan oleh UERANSIM adalah 192.168.100.238 | ||
+ | * Pada jam 08:19:37.200 gNB meminta supaya Open5GS memberikan setup seperti MCC, MNC dll | ||
+ | * Pada jam 08:26:11.394 gNB mendeteksi adanya smartphone / UE yang ingin masuk | ||
+ | * Pada jam 08:26:13.895 gNB melakukan setup untuk smartphone untuk bisa tersambung dengan baik ke jaringan 5G | ||
==Screenshot saat menjalankan UERANSIM UE== | ==Screenshot saat menjalankan UERANSIM UE== | ||
Line 90: | Line 103: | ||
[2022-10-11 08:26:14.165] [nas] [info] PDU Session establishment is successful PSI [1] | [2022-10-11 08:26:14.165] [nas] [info] PDU Session establishment is successful PSI [1] | ||
[2022-10-11 08:26:14.185] [app] [info] Connection setup for PDU session [1] is successful, TUN interface [10.45.0.2] is up. | [2022-10-11 08:26:14.185] [app] [info] Connection setup for PDU session [1] is successful, TUN interface [10.45.0.2] is up. | ||
+ | |||
+ | |||
+ | |||
+ | Di sisi virtual radio EURANSIM UE, kita bisa melihat proses terjadinya sambungan antara simulator smartphone UE dengan gNB. Dalam bahasa manusia kira-kira sebagai berikut, | ||
+ | |||
+ | * Pada jam 08:26:13.894 smartphone UE memilih jaringan yang menggunakan PLMN yang cocok dengan UE | ||
+ | * Pada jam 08:26:13.894 smartphone UE meminta untuk tersambung ke gNB | ||
+ | * Pada jam 08:26:13.895 smartphone UE berhasil tersambung | ||
+ | |||
+ | yang dilanjutkan dengan proses authentiasi dan konfigurasi hingga akhirnya sesi komunikasi dibuka antara smartphone yang kita gunakan dengan core network. Pada saat seluruh proses berhasil dilakukan, maka terakhir akan dibuat interface tunnel seperti yang terlihat | ||
+ | |||
+ | * Pada jam 08:26:14.185 interface tunnel TUN berhasil dibuka dengan baik | ||
==Screenshot saat Ping Test ke Google== | ==Screenshot saat Ping Test ke Google== |
Latest revision as of 13:39, 28 December 2022
Screenshot saat menjalankan EPC
10/11 08:26:13.962: [sbi] WARNING: Try to discover [nudm-sdm] (../lib/sbi/path.c:114) 10/11 08:26:13.962: [sbi] WARNING: [3bb53418-491c-41ed-alc9-2d8fcc500ce7] (NF-discover) NF has already bandler.c:735) 10/11 08:26:13.963: [sbi] WARNING: NF EndPoint updated [127.0.0.12:80] (../lib/sbi/context.c:1572) 10/11 08:26:13.963: [sbi] WARNING: NF EndPoint updated [127.0.0.12:7777] (../lib/sbi/context.c:1481) 10/11 08:26:13.963: [sbi] INFO: [3bb53418-491c-41ed-a1c9-2d8fcc500ce7] (NF-discover) NF Profile updated 58) 10/11 08:26:13.966: [sbi] WARNING: Try to discover [npcf-am-policy-control] (../lib/sbi/path.c:114) 10/11 08:26:13.967: [sbi] INFO: [36555d2c-491c-41ed-b4e6-0d46ce2f77d4] (NF-discover) NF registered (../1 10/11 08:26:13.967: [sbi] INFO: [36555d2c-491c-41ed-b4e6-0d46ce2f77d4] (NF-discover) NF Profile updated 58) 10/11 08:26:14.176: [gmm] INFO: [imsi-510330000012345] Registration complete (../src/amf/gmm-sm.c:1124) 10/11 08:26:14.176: [amf] INFO: [imsi-510330000012345] Configuration update command (../src/amf/nas-path 10/11 08:26:14.177: [gmm] INFO: UTC [2022-10-11T08:26:14] Timezone [0]/DST [0] (../src/amf/gmm-build.c 10/11 08:26:14.177: [gmm] INFO: LOCAL [2022-10-11T08:26:14] Timezone [0] /DST [0] (../src/amf/gmm-build 10/11 08:26:14.177: [amf] INFO: [Added] Number of AMF-Sessions is now 1 (../src/amf/context.c:2239) 10/11 08:26:14.177: [gmm] INFO: UE SUPI [imsi-510330000012345] DNN [internet] S_NSSAI[SST:1 SD:0xffffff] ( 2) 10/11 08:26:14.178: [sbi] WARNING: Try to discover [nnssf-nsselection] (../lib/sbi/path.c:114) 10/11 08:26:14.179: [sbi] INFO: [3ae3fc68-491c-41ed-bef0-6b660371ec58] (NF-discover) NF registered (../1 10/11 08:26:14.179: [sbi] INFO: [3ae3fc68-491c-41ed-bef0-6b660371ec58] (NF-discover) NF Profile updated 58) 10/11 08:26:14.181: [amf] WARNING: Try to discover [nsmf-pdusession] (../src/amf/sbi-path.c:339) 10/11 08:26:14.182: [sbi] INFO: [366fda3a-491c-41ed-88d8-c3a3950698ee] (NF-discover) NF registered (../1 10/11 08:26:14.182: [sbi] INFO: [366fda3a-491c-41ed-88d8-c3a3950698ee] (NF-discover) NF Profile updated 58)
Dalam bahasa manusia, yang terjadi kira-kira sebagai berikut
- Core Network yang digunakan adalah Open5GS untuk simulasi sambungan 5G
- Pada 08:26:13.967 terlihat NF registerd, yang artinya sebuah gNB 5G berhasil connect ke Open5GS
- Pada 08:26:14.176 terlihat [imsi-510330000012345] Registration complete, yang artinya smartphone dengan IMSI 510330000012345 berhasil terdaftar
- Pada 08:26:14.177 terlihat [Added] Number of AMF-Sessions is now 1, yang artinya sudah dibuka sesi AMF untuk smartphone tersebut.
Screenshot saat menjalankan UERANSIM ENB
[2022-10-11 08:17:30.210] [sctp] [info] Trying to establish SCTP connection... (192.168.100.238:38412) [2022-10-11 08:17:30.215] [sctp] [info] SCTP connection established (192.168.100.238:38412) [2022-10-11 08:17:30.216] [sctp] [debug] SCTP association setup ascId[6] [2022-10-11 08:17:30.216] [ngap] [debug] Sending NG Setup Request [2022-10-11 08:17:30.233] [ngap] [debug] NG Setup Response received [2022-10-11 08:17:30.233] [ngap] [info] NG Setup procedure is successful ^C root@ueransim: /usr/local/src/UERANSIM root@ueransim: /usr/local/src/UERANSIM# cd build/ root@ueransim: /usr/local/src/UERANSIM/build# ls libdevbnd.so nr-gnb nr-ue nr-binder nr-cli root@ueransim: /usr/local/src/UERANSIM/build# cd ../config/ root@ueransim: /usr/local/src/UERANSIM/config# ls custom-gnb.yaml custom-ue.yaml free5gc-gnb.yaml free5gc-ue.yaml open5gs-gnb.yaml open5gs-ue.yaml root@ueransim: /usr/local/src/UERANSIM/config# cd .. root@ueransim:/usr/local/src/UERANSIM# ./build/nr-gnb -c config/open5gs-gnb.yaml UERANSIM v3.2.6 [2022-10-11 08:19:37.195] [sctp] [info] Trying to establish SCTP connection... (192.168.100.238:38412) [2022-10-11 08:19:37.199] [sctp] [info] SCTP connection established (192.168.100.238:38412) [2022-10-11 08:19:37.199] [sctp] [debug] SCTP association setup ascId[7] [2022-10-11 08:19:37.200] [ngap] [debug] Sending NG Setup Request [2022-10-11 08:19:37.200] [ngap] [debug] NG Setup Response received [2022-10-11 08:19:37.200] [ngap] [info] NG Setup procedure is successful [2022-10-11 08:26:11.394] [rrc] [debug] UE [1] new signal detected [2022-10-11 08:26:13.895] [rrc] [info] RRC Setup for UE [1] [2022-10-11 08:26:13.895] [ngap] [debug] Initial NAS message received from UE [1] [2022-10-11 08:26:13.937] [ngap] [debug] Initial Context Setup Request received [2022-10-11 08:26:14.165] [ngap] [info] PDU session resource (s) setup for UE [1] count [1]
Di sisi gNB yang menjalankan UeranSIM, kita dapat membaca beberapa hal dari log, seperti,
- Pada jam 08:19:37.199 gNB berhasil connect ke Open5GS. IP address yang digunakan oleh UERANSIM adalah 192.168.100.238
- Pada jam 08:19:37.200 gNB meminta supaya Open5GS memberikan setup seperti MCC, MNC dll
- Pada jam 08:26:11.394 gNB mendeteksi adanya smartphone / UE yang ingin masuk
- Pada jam 08:26:13.895 gNB melakukan setup untuk smartphone untuk bisa tersambung dengan baik ke jaringan 5G
Screenshot saat menjalankan UERANSIM UE
[2022-10-11 08:26:13.894] [rrc] [info] Selected cell plmn [510/33] tac[1] category [SUITABLE] [2022-10-11 08:26:13.894] [nas] [info] UE switches to state [MM-DEREGISTERED/PS] [2022-10-11 08:26:13.894] [nas] [info] UE switches to state [MM-DEREGISTERED/NORMAL-SERVICE] [2022-10-11 08:26:13.894] [nas] [debug] Initial registration required due to [MM-DEREG-NORMAL-SERVICE] [2022-10-11 08:26:13.894] [nas] [debug] UAC access attempt is allowed for identity[0], category [MO_sig] [2022-10-11 08:26:13.894] [nas] [debug] Sending Initial Registration [2022-10-11 08:26:13.894] [rrc] [debug] Sending RRC Setup Request [2022-10-11 08:26:13.894] [nas] [info] UE switches to state [MM-REGISTER-INITIATED] [2022-10-11 08:26:13.895] [rrc] [info] RRC connection established [2022-10-11 08:26:13.895] [rrc] [info] UE switches to state [RRC-CONNECTED] [2022-10-11 08:26:13.895] [nas] [info] UE switches to state [CM-CONNECTED] [2022-10-11 08:26:13.907] [nas] [debug] Authentication Request received [2022-10-11 08:26:13.907] [nas] [debug] Sending Authentication Failure due to SON out of range [2022-10-11 08:26:13.912] [nas] [debug] Authentication Request received [2022-10-11 08:26:13.916] [nas] [debug] Security Mode Command received [2022-10-11 08:26:13.916] [nas] [debug] Selected integrity [2] ciphering [0] [2022-10-11 08:26:13.938] [nas] [debug] Registration accept received [2022-10-11 08:26:13.938] [nas] [info] UE switches to state [MM-REGISTERED/NORMAL-SERVICE] [2022-10-11 08:26:13.938] [nas] [debug] Sending Registration Complete [2022-10-11 08:26:13.938] [nas] [info] Initial Registration is successful [2022-10-11 08:26:13.938] [nas] [debug] Sending PDU Session Establishment Request [2022-10-11 08:26:13.938] [nas] [debug] UAC access attempt is allowed for identity[0], category [MO_sig] [2022-10-11 08:26:14.142] [nas] [debug] Configuration Update Command received [2022-10-11 08:26:14.165] [nas] [debug] PDU Session Establishment Accept received [2022-10-11 08:26:14.165] [nas] [info] PDU Session establishment is successful PSI [1] [2022-10-11 08:26:14.185] [app] [info] Connection setup for PDU session [1] is successful, TUN interface [10.45.0.2] is up.
Di sisi virtual radio EURANSIM UE, kita bisa melihat proses terjadinya sambungan antara simulator smartphone UE dengan gNB. Dalam bahasa manusia kira-kira sebagai berikut,
- Pada jam 08:26:13.894 smartphone UE memilih jaringan yang menggunakan PLMN yang cocok dengan UE
- Pada jam 08:26:13.894 smartphone UE meminta untuk tersambung ke gNB
- Pada jam 08:26:13.895 smartphone UE berhasil tersambung
yang dilanjutkan dengan proses authentiasi dan konfigurasi hingga akhirnya sesi komunikasi dibuka antara smartphone yang kita gunakan dengan core network. Pada saat seluruh proses berhasil dilakukan, maka terakhir akan dibuat interface tunnel seperti yang terlihat
- Pada jam 08:26:14.185 interface tunnel TUN berhasil dibuka dengan baik
Screenshot saat Ping Test ke Google
root@srsran:/usr/local/src/srsRAN/srsue# ping google.com 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=40 ttl=102 time=15.2 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=41 ttl=102 time=15.2 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=42 ttl=102 time=15.6 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=43 ttl=102 time=15.4 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=44 ttl=102 time=15.4 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=45 ttl=102 time=15.2 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=46 ttl=102 time=15.7 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=47 ttl=102 time=15.4 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=48 ttl=102 time=15.5 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=49 ttl=102 time=15.4 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=50 ttl=102 time=15.2 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=51 ttl=102 time=15.2 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=52 ttl=102 time=15.8 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=53 ttl=102 time=15.5 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=54 ttl=102 time=15.5 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=55 ttl=102 time=15.1 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=56 ttl=102 time=15.8 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=57 ttl=102 time=15.4 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=58 ttl=102 time=15.2 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=59 ttl=102 time=15.2 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=60 ttl=102 time=15.4 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=61 ttl=102 time=15.2 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=62 ttl=102 time=15.4 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=63 ttl=102 time=15.4 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=64 ttl=102 time=15.2 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=65 ttl=102 time=16.1 ms 64 bytes from sa-in-f101.1e100.net (74.125.200.101): icmp_seq=66 ttl=102 time=15.0 ms