SrsRAN untuk test 4G

From OnnoWiki
Revision as of 14:29, 25 December 2022 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Screenshot Open5gs menerima sambungan dari srsRAN

Screenshot saat EPC Open5gs


10/12 04:13:52.284: [mme] INFO:     ENB_UE_S1AP_ID [2] MME_UE_S1AP_ID [35] TAC [1] CellID [0x17b01] (../src/mme/slap-handler.c:363)
10/12 04:13:52.284: [emm] INFO: [510330000012344] Detach request (../src/mme/emm-sm.c:523)
10/12 04:13:52.288: [mme] INFO: [Removed] Number of MME-Sessions is now 0 (../src/mme/mme-context.c:3558)
10/12 04:13:52.289: [mme] INFO: UE Context Release [Action:2] (../src/mme/slap-handler.c:1453)
10/12 04:13:52.289: [mme] INFO:     ENB_UE_S1AP_ID[2] MME_UE_S1AP_ID[35] (../src/mme/slap-handler.c:1454)
10/12 04:13:52.289: [mme] INFO:     IMSI: [510330000012344] (../src/mme/slap-handler.c:1457)
10/12 04:13:52.289: [mme] INFO: 
10/12 04:14:02.453: [mme] INFO:
10/12 04:14:02.453: [mme] INFO: 
10/12 04:14:24.076: [mme] INFO: eNB-S1 accepted [192.168.100.238]: 33804 in sl_path module (../src/mme/slap-sctp.c:114)
10/12 04:14:24.076: [mme] INFO: eNB-51 accepted [192.168.100.238] in master_sm module (../src/mme/mme-sm.c:106) 
10/12 04:14:24.076: [mme] INFO: [Added] Number of eNBs is now 1 (../src/mme/mme-context.c:1841)
10/12 04:14:24.077: [mme] INFO: eNB-S1 [192.168.100.238] max_num_of_ostreams : 30 (../src/mme/mme-sm.c:148)
10/12 04:14:25.924: [mme] INFO: InitialUEMessage (../src/mme/slap-handler.c:223)
10/12 04:14:25.924: [mme] INFO: [Added] Number of eNB-UEs is now 1 (../src/mme/mme-context.c:3537)
10/12 04:14:25.924: [mme] INFO: S_TMSI [G:2,C:1,M_TMSI: 0xef00798b] 
ENB_UE_S1AP_ID[1] MME_UE_S1AP_ID[36] TAC [1] CellID [0x17b01] (../src/mme/slap-hand
10/12 04:14:25.924: [mme] INFO: ler.c:363)
[510330000012344] Attach request (../src/mme/emm-sm.c:203)
10/12 04:14:25.924: [emm] INFO:
10/12 04:14:25.924: [mm] INFO: 04)
GUTI [G:2,C:1,M_TMSI: 0xef00798b] IMSI [510330000012344] (../src/mme/emm-handler.c:2
10/12 04:14:25.924: [mme] INFO:
10/12 04:14:26.224: [emm] INFO:
10/12 04:14:26.224: [emm] INFO:
10/12 04:14:26.224: [emm] INFO:
10/12 04:14:26.224: [emm] INFO:
IMSI [510330000012344] (../src/mme/slap-handler.c:1457) [Removed] Number of eNB-UEs is now 0 (../src/mme/mme-context.c:3544) eNB-S1 [192.168.100.238] connection refused!!! (../src/mme/mme-sm.c:164) [Removed] Number of eNBs is now 
0 (../src/mme/mme-context.c:1875)
[Added] Number of MME-Sessions is now 1 (../src/mme/mme-context.c:3551) [510330000012344] Attach complete (../src/mme/emm-sm.c:1039)
IMSI [510330000012344] (../src/mme/emm-handler.c:242)
UTC [2022-10-12T04:14:26] Timezone [0]/DST[0] (../src/mme/emm-handler.c:248) LOCAL [2022-10-12T04:14:26] Timezone [0]/DST [0] (../src/mme/emm-handler.c:252)


2. ENB

srsRAN ENB
CStopping ..
Couldn't stop after 5s. Forcing exit.
Killed

root@srsran:/usr/local/src/srsRAN/srsenb# ../build/srsenb/src/srsenb enb.conf
Active RF plugins: libsrsran_rf_zmq.so
Inactive RF plugins:
--- Software Radio Systems LTE eNodeB ---

Reading configuration file enb.conf...

Built in Release mode using commit ce8a3cael on branch master.
Opening i channels in RF device=zmq with args=fail on disconnect=true, tx port=tcp://*:2000, rx port=tcp://localhost:20 01, id=enb, base_srate=23.046
Supported RF device list: zmg file
CHx base_srate=23.046
CHx id=enb
Current sample rate is 1.92 MHz with a base rate of 23.04 MHz (x12 decimation)
CH0 rx_port=tcp://localhost:2001
CH0 từ port=tcp://*:2000
CH0 fail_on_disconnect=true

==== eNodeB started ===
Type <t> to view trace
Current sample rate is 11.52 MHz with a base rate of 23.04 MHz (x2 decimation)
Current sample rate is 11.52 MHz with a base rate of 23.04 MHz (x2 decimation)
Setting frequency: 
DL=1845.0 Mhz, UL=1750.0 MHz for cc_idx=0 nof_prb=50
RACH: tti=341, cc=0, pci-i, preamble=20, offset=0, temp_crnti=0x46
User Ox46 connected


3. UE

srsRAN UE
root@srsran:/usr/local/src/srsRAN/srsue# ../build/srsue/src/srsue ue.conf
Active RF plugins: libsrsran_rf_zmq.so Inactive RF plugins:
Reading configuration file ue.conf...
Built in Release mode using commit ce8a3cael on branch master.
Opening 1 channels in RF device=zmq with args=tx_port=tcp://*:2001, rx_port=tcp://localhost:2000,id=ue, base_srate=23.0 4e6
Supported RF device list: zmq file
CHx base srate=23.04e6
CHx id=ue
Current sample rate is 1.92 MHz with a base rate of 23.04 MHz (x12 decimation) CHO rx_port=tcp://localhost:2000
CHO tx_port=tcp://*:2001
Waiting PHY to initialize... done!
Attaching UE...
Current sample rate is 1.92 MHz with a base rate of 23.04 MHz (x12 decimation) Current sample rate is 1.92 MHz with a base rate of 23.04 MHz (x12 decimation)
Found Cell: Mode=FDD, PCI-1, PRB=50, Ports=1, CP=Normal, CFO=-0.2 KHz Current sample rate is 11.52 MHz with a base rate of 23.04 MHz (x2 decimation) Current sample rate is 11.52 MHz with a base rate of 23.04 MHz (x2 decimation) 
Found PLMN: Id=51033, TAC=1
Random Access Transmission: seq=20, tti=341, ra-rnti=0x2
RRC Connected
Random Access Complete.
Network attach successful. IP: 10.45.0.8
nTp) 12/10/2022 4:14:26 TZ:0
c-rnti=0x46, ta=0


Ping Test

srsRAN Ping
root@srsran:/usr/local/src/srsRAN/srsue# ping google.com
64 bytes from sa-in-fl13.1e100.net (74.125.200.113): icmp_seq=4 ttl=52 time=56.0 ms
64 bytes from sa-in-f113.1e100.net (74.125.200.113): icmp_seq=5 ttl=52 time=42.8 ms
64 bytes from sa-in-f113.1e100.net (74.125.200.113): icmp_seq=6 ttl=52 time=49.5 ms
64 bytes from sa-in-f113.1e100.net (74.125.200.113): icmp_seq=1 ttl=52 time=48.2 ms
64 bytes from sa-in-f113.1e100.net (74.125.200.113): icmp_seq=8 ttl=52 time=48.6 ms
64 bytes from sa-in-f113.1e100.net (74.125.200.113): icmp_seq=9 ttl=52 time=45.3 ms
64 bytes from sa-in-f113.1e100.net (74.125.200.113): icmp_seq=10 ttl=52 time=41.8 ms
64 bytes from sa-in-f113.1e100.net (74.125.200.113): icmp_seq=1 ttl=52 time=56.9 ms
64 bytes from sa-in-f113.1e100.net (74.125.200.113): icmp_seq=12 ttl=52 time=40.0 ms
64 bytes from sa-in-f113.1e100.net (74.125.200.113): icmp_seq=13 ttl=52 time=45.1 ms
64 bytes from sa-in-f113.1e100.net (74.125.200.113): icmp_seq=1 ttl=52 time=45.9 ms
64 bytes from sa-in-f113.1e100.net (74.125.200.113): icmp_seq=1 ttl=52 time=37.5 ms
64 bytes from sa-in-f113.1e100.net (74.125.200.113): icmp_seq=1 ttl=52 time=42.6 ms