Difference between revisions of "UERANSIM untuk test 5G"

From OnnoWiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
  [[File:UERANSIM-EPC.png|600px|thumb|center|EPC Open5gs]]
 
  [[File:UERANSIM-EPC.png|600px|thumb|center|EPC Open5gs]]
  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:
+
 
andler.c:735)
+
  10/11 08:26:13.962: [sbi] WARNING: Try to discover [nudm-sdm] (../lib/sbi/path.c:114)
[3bb53418-491c-41ed-alc9-2d8fcc500ce7] (NF-discover) NF has already b
+
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]  
+
  10/11 08:26:13.963: [sbi] WARNING: NF EndPoint updated [127.0.0.12:80] (../lib/sbi/context.c:1572)
INFO: [3bb53418-491c-41ed-a1c9-2d8fcc500ce7] (NF-discover) NF Profile updated 58)
+
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]
 
  10/11 08:26:13.966: [sbi] WARNING: Try to discover [npcf-am-policy-control]
 
  10/11 08:26:13.967: [sbi] INFO:
 
  10/11 08:26:13.967: [sbi] INFO:
Line 14: Line 15:
 
  (../lib/sbi/path.c:114) (NF-discover) NF registered (../1 (NF-discover) NF Profile updated
 
  (../lib/sbi/path.c:114) (NF-discover) NF registered (../1 (NF-discover) NF Profile updated
 
  58)
 
  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:  
+
  10/11 08:26:14.176: [gmm] INFO: [imsi-510330000012345] Registration complete (../src/amf/gmm-sm.c:1124)
[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]  
+
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)
 
  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)
 
  (../lib/sbi/path.c:114)
 
  (../lib/sbi/path.c:114)
 
  (NF-discover) NF registered (../1 (NF-discover) NF Profile updated
 
  (NF-discover) NF registered (../1 (NF-discover) NF Profile updated
  10/11 08:26:14.178: [sbi] WARNING: Try to discover [nnssf-nsselection] 10/11 08:26:14.179: [sbi] INFO: [3ae3fc68-491c-41ed-bef0-6b660371ec58] 10/11 08:26:14.179: [sbi] INFO:
+
  10/11 08:26:14.178: [sbi] WARNING: Try to discover [nnssf-nsselection]
 +
10/11 08:26:14.179: [sbi] INFO: [3ae3fc68-491c-41ed-bef0-6b660371ec58] 10/11 08:26:14.179: [sbi] INFO:
 
  [3ae3fc68-491c-41ed-bef0-6b660371ec58]
 
  [3ae3fc68-491c-41ed-bef0-6b660371ec58]
 
  58)
 
  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]  
+
  10/11 08:26:14.181: [amf] WARNING: Try to discover [nsmf-pdusession] (../src/amf/sbi-path.c:339)
INFO: [366fda3a-491c-41ed-88d8-c3a3950698ee] (NF-discover) NF Profile updated
+
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)
 
  58)
  

Revision as of 15:01, 25 December 2022

Screenshot saat menjalankan EPC

EPC Open5gs
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]
10/11 08:26:13.967: [sbi] INFO:
10/11 08:26:13.967: [sbi] INFO:
X
[36555d2c-491c-41ed-b4e6-0d46ce2f77d4] [36555d2c-491c-41ed-b4e6-0d46ce2f77d4]
(../lib/sbi/path.c:114) (NF-discover) NF registered (../1 (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)
(../lib/sbi/path.c:114)
(NF-discover) NF registered (../1 (NF-discover) NF Profile updated
10/11 08:26:14.178: [sbi] WARNING: Try to discover [nnssf-nsselection]
10/11 08:26:14.179: [sbi] INFO: [3ae3fc68-491c-41ed-bef0-6b660371ec58] 10/11 08:26:14.179: [sbi] INFO:
[3ae3fc68-491c-41ed-bef0-6b660371ec58]
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)


2. ENB

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 ^Croot@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-cli
root@ueransim: /usr/local/src/UERANSIM/build# cd ../config/ root@ueransim: /usr/local/src/UERANSIM/config# ls custom-gnb.yaml
root@ueransim: /usr/local/src/UERANSIM/config# cd .. root@ueransim:/usr/local/src/UERANSIM# ./build/nr-gnb -c config/open5gs-gnb.yaml
nr-binder
custom-ue.yaml
free5gc-gnb.yaml free5gc-ue.yaml open5gs-gnb.yaml open5gs-ue.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
[ngap] [info] NG Setup procedure is successful
[2022-10-11 08:19:37.200] [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]


3. UE

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
[debug] Sending RRC Setup Request
[2022-10-11 08:26:13.894] [rrc] [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
[debug] Security Mode Command received [debug] Selected integrity [2] ciphering [0] [debug] Registration accept received
[2022-10-11 08:26:13.916] [nas] [2022-10-11 08:26:13.916] [nas] [2022-10-11 08:26:13.938] [nas] [2022-10-11 08:26:13.938] [nas] [2022-10-11 08:26:13.938] [nas] [2022-10-11 08:26:13.938] [nas] [2022-10-11 08:26:13.938] [nas] [2022- 
10-11 08:26:13.938] [nas] [2022-10-11 08:26:14.142] [nas] [2022-10-11 08:26:14.165] [nas] [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 [
[info] UE switches to state [MM-REGISTERED/NORMAL-SERVICE] [debug] Sending Registration Complete [info] Initial Registration is successful [debug] Sending PDU Session Establishment Request
[debug] UAC access attempt is allowed for identity[0], category [MO_sig] [debug] Configuration Update Command received
[debug] PDU Session Establishment Accept received
10.45.0.2] is up.


4. Ping Test

UERANSIM Ping
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