Changes between Version 43 and Version 44 of Tutorials/4G5G/amarisoft


Ignore:
Timestamp:
Jun 11, 2024, 3:10:52 PM (3 months ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/4G5G/amarisoft

    v43 v44  
    181181
    182182{{{#!shell
    183 
    184 
    185 root@srv2-lg1:~# cd /opt/amarisoft/lteue-linux-2022-09-16/
    186 root@srv2-lg1:/opt/amarisoft/lteue-linux-2022-09-16# ./lteue config/ue-nr-sa-n310.cfg
    187 LTE UE version 2022-09-16, Copyright (C) 2012-2022 Amarisoft
     183root@srv2-lg1:~# cd /opt/amarisoft/lteue-linux-2024-03-15
     184root@srv2-lg1:/opt/amarisoft/lteue-linux-2024-03-15# ./lteue config/ue-nr-sa-n310.cfg
     185UE version 2024-03-15, Copyright (C) 2012-2024 Amarisoft
    188186This software is licensed to Rutgers University (The State University of New Jersey).
    189187License server: license.orbit-lab.org (0b-b4-46-dc-2f-83-58-cb)
    190 Support and software update available until 2023-08-18.
    191 
    192 [INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.0-release
    193 [INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=10.38.3.1,type=n3xx,product=n310,serial=3196937,claimed=False,addr=10.38.3.1,master_clock_rate=122.88e6
    194 [INFO] [MPM.PeriphManager] init() called with device args `clock_source=internal,master_clock_rate=122.88e6,time_source=internal,product=n310,mgmt_addr=10.38.3.1'.
    195 [INFO] [0/Replay_0] Initializing block control (NOC ID: 0x4E91A00000000004)
    196 [INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000011312)
    197 [INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000011312)
    198 [INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000)
    199 [INFO] [0/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000000)
    200 [INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000002)
    201 [INFO] [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000002)
    202 [INFO] [0/FIFO_0] Initializing block control (NOC ID: 0xF1F0000000000000)
    203 [INFO] [0/FIFO_1] Initializing block control (NOC ID: 0xF1F0000000000000)
    204 [INFO] [0/FIFO_2] Initializing block control (NOC ID: 0xF1F0000000000000)
    205 [INFO] [0/FIFO_3] Initializing block control (NOC ID: 0xF1F0000000000000)
     188Support and software update available until 2024-08-18.
     189
     190[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.4.0.HEAD-0-g5fac246b
     191[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=10.38.3.1,type=n3xx,product=n310,serial=3196937,name=ni-n3xx-3196937,fpga=XG,claimed=False,addr=10.38.3.1,master_clock_rate=122.88e6
     192[INFO] [MPM.PeriphManager] init() called with device args `fpga=XG,master_clock_rate=122.88e6,mgmt_addr=10.38.3.1,name=ni-n3xx-3196937,product=n310,clock_source=internal,time_source=internal'.
    206193RF0: sample_rate=30.720 MHz dl_freq=2589.420 MHz ul_freq=2589.420 MHz (band n41) dl_ant=2 ul_ant=1
    207 (ue) WARNING: The GPS is not locked. If you need time synchronization, you should restart the program when the GPS is locked.
    208 Chan Gain(dB)   Freq(MHz)
    209  TX1     45.0 2589.420000
    210  RX1     50.0 2589.420000
    211  RX2     50.0 2589.420000
    212 Cell 0: SIB found
     194WARNING: The GPS is not locked. If you need time synchronization, you should restart the program when the GPS is locked.
     195(ue) Cell 0: SIB found
    213196
    214197(ue) ue
    215       # UE_ID CL RNTI    RRC_STATE               EMM_STATE #ERAB IP_ADDR
    216 5G    0     1  0    0      offline               power off     0
    217 5G    1     2  0    0      offline               power off     0
    218 5G    2     3  0    0      offline               power off     0
    219 5G    3     4  0    0      offline               power off     0
    220 5G    4     5  0    0      offline               power off     0
     198        # UE_ID CL RNTI    RRC_STATE               EMM_STATE #ERAB IP_ADDR
     199  NR    0     1  0    0      offline               power off     0
     200  NR    1     2  0    0      offline               power off     0
     201  NR    2     3  0    0      offline               power off     0
     202  NR    3     4  0    0      offline               power off     0
     203  NR    4     5  0    0      offline               power off     0
    221204(ue) power_on 1 2 3
    222205(ue) ue
    223       # UE_ID CL RNTI    RRC_STATE               EMM_STATE #ERAB IP_ADDR
    224 5G    0     1  0 4608      running              registered     1 192.168.2.6
    225 5G    1     2  0 460a      running              registered     1 192.168.2.2
    226 5G    2     3  0 4609      running              registered     1 192.168.2.10
    227 5G    3     4  0    0      offline               power off     0
    228 5G    4     5  0    0      offline               power off     0
     206        # UE_ID CL RNTI    RRC_STATE               EMM_STATE #ERAB IP_ADDR
     207  NR    0     1  0 4607      running              registered     1 192.168.2.2
     208  NR    1     2  0 4605      running              registered     1 192.168.2.6
     209  NR    2     3  0 4606      running              registered     1 192.168.2.10
     210  NR    3     4  0    0      offline               power off     0
     211  NR    4     5  0    0      offline               power off     0
    229212(ue)
    230213
     
    236219(mme) gnb
    237220  PLMN     RAN_ID                        IP:Port #UEctx     TACs
    238 310014    0x12345                127.0.1.1:43436      0     0x64
     221310014    0x12345                127.0.1.1:38563      0     0x64
    239222(mme) ue
    240223            SUPI           IMEISV  CN M-TMSI/5G-TMSI REG           TAC #BEARER IP_ADDR
    241  001010123456789 8646780506839210 5GC     0x1af5c9e9   Y 310014.  0x64       0
    242  001010123456790 0123456700000201 5GC     0x46f7250d   Y 310014.  0x64       1 192.168.2.2
    243  001010123456789 0123456700000101 5GC     0xde3218e2   Y 310014.  0x64       1 192.168.2.6
    244  001010123456791 0123456700000301 5GC     0x801c89e1   Y 310014.  0x64       1 192.168.2.10
     224 001010123456789 0123456700000101 5GC       0xe8cc82   Y 310014.  0x64       1 192.168.2.2
     225 001010123456790 0123456700000201 5GC     0xb19f2401   Y 310014.  0x64       1 192.168.2.6
     226 001010123456791 0123456700000301 5GC     0x9cde30c0   Y 310014.  0x64       1 192.168.2.10
    245227(mme)
    246228
     
    253235{{{#!shell
    254236root@srv2-lg1:~# ip netns list
    255 ue1 (id: 4)
    256 ue2 (id: 3)
    257 ue4 (id: 2)
    258 ue5 (id: 1)
    259 ue3 (id: 0)
     237ue2 (id: 2)
     238ue3 (id: 1)
     239ue1 (id: 0)
    260240root@srv2-lg1:~# ip netns exec ue1 ip addr
    2612411: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
     
    265245    inet6 ::1/128 scope host
    266246       valid_lft forever preferred_lft forever
    267 10: pdn0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 500
     2477: pdn0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 500
    268248    link/none
    269     inet 192.168.2.18/24 scope global pdn0
     249    inet 192.168.2.2/24 scope global pdn0
    270250       valid_lft forever preferred_lft forever
    271251root@srv2-lg1:~# ip netns exec ue1 ping 192.168.2.1
    272252PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
    273 64 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time=104 ms
    274 64 bytes from 192.168.2.1: icmp_seq=2 ttl=64 time=41.9 ms
    275 64 bytes from 192.168.2.1: icmp_seq=3 ttl=64 time=33.9 ms
    276 64 bytes from 192.168.2.1: icmp_seq=4 ttl=64 time=40.6 ms
    277 64 bytes from 192.168.2.1: icmp_seq=5 ttl=64 time=42.9 ms
    278 64 bytes from 192.168.2.1: icmp_seq=6 ttl=64 time=40.9 ms
    279 64 bytes from 192.168.2.1: icmp_seq=7 ttl=64 time=32.9 ms
    280 64 bytes from 192.168.2.1: icmp_seq=8 ttl=64 time=30.8 ms
    281 64 bytes from 192.168.2.1: icmp_seq=9 ttl=64 time=28.8 ms
    282 64 bytes from 192.168.2.1: icmp_seq=10 ttl=64 time=26.8 ms
     25364 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time=98.1 ms
     25464 bytes from 192.168.2.1: icmp_seq=2 ttl=64 time=38.9 ms
     25564 bytes from 192.168.2.1: icmp_seq=3 ttl=64 time=37.2 ms
     25664 bytes from 192.168.2.1: icmp_seq=4 ttl=64 time=36.0 ms
     25764 bytes from 192.168.2.1: icmp_seq=5 ttl=64 time=35.8 ms
     25864 bytes from 192.168.2.1: icmp_seq=6 ttl=64 time=34.0 ms
     25964 bytes from 192.168.2.1: icmp_seq=7 ttl=64 time=33.3 ms
     26064 bytes from 192.168.2.1: icmp_seq=8 ttl=64 time=39.7 ms
     26164 bytes from 192.168.2.1: icmp_seq=9 ttl=64 time=31.0 ms
     26264 bytes from 192.168.2.1: icmp_seq=10 ttl=64 time=30.7 ms
     26364 bytes from 192.168.2.1: icmp_seq=11 ttl=64 time=29.2 ms
     26464 bytes from 192.168.2.1: icmp_seq=12 ttl=64 time=28.0 ms
     26564 bytes from 192.168.2.1: icmp_seq=13 ttl=64 time=27.0 ms
     26664 bytes from 192.168.2.1: icmp_seq=14 ttl=64 time=26.0 ms
     26764 bytes from 192.168.2.1: icmp_seq=15 ttl=64 time=24.0 ms
     26864 bytes from 192.168.2.1: icmp_seq=16 ttl=64 time=23.0 ms
     26964 bytes from 192.168.2.1: icmp_seq=17 ttl=64 time=21.9 ms
     27064 bytes from 192.168.2.1: icmp_seq=18 ttl=64 time=38.0 ms
     27164 bytes from 192.168.2.1: icmp_seq=19 ttl=64 time=37.0 ms
     27264 bytes from 192.168.2.1: icmp_seq=20 ttl=64 time=35.0 ms
    283273^C
    284274--- 192.168.2.1 ping statistics ---
    285 10 packets transmitted, 10 received, 0% packet loss, time 9015ms
    286 rtt min/avg/max/mdev = 26.891/42.475/104.831/21.496 ms
     27520 packets transmitted, 20 received, 0% packet loss, time 19022ms
     276rtt min/avg/max/mdev = 21.928/35.170/98.079/15.396 ms
     277root@srv2-lg1:~#
    287278
    288279}}}
    289280* Iperf server on the UE
    290281{{{#!shell
    291 root@srv2-lg1:~# ip netns exec ue1 iperf3 -s -B 192.168.2.18
     282root@srv2-lg1:~# ip netns exec ue1 iperf3 -s -B 192.168.2.2
    292283-----------------------------------------------------------
    293284Server listening on 5201
     
    297288* Iperf client on the base station
    298289{{{#!shell
    299 root@srv1-lg1:~# iperf3 -c 192.168.2.18 -b 0 -i 1
    300 Connecting to host 192.168.2.18, port 5201
    301 4] local 192.168.2.1 port 50836 connected to 192.168.2.18 port 5201
    302 [ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
    303 4]   0.00-1.00   sec  7.31 MBytes  61.3 Mbits/sec    0    925 KBytes
    304 4]   1.00-2.00   sec  6.09 MBytes  51.1 Mbits/sec    0   1004 KBytes
    305 4]   2.00-3.00   sec  5.78 MBytes  48.5 Mbits/sec    0    916 KBytes
    306 4]   3.00-4.00   sec  6.09 MBytes  51.1 Mbits/sec    0    829 KBytes
    307 4]   4.00-5.00   sec  5.78 MBytes  48.5 Mbits/sec    0    687 KBytes
    308 4]   5.00-6.00   sec  5.65 MBytes  47.4 Mbits/sec    0    648 KBytes
    309 4]   6.00-7.00   sec  6.15 MBytes  51.6 Mbits/sec    0    679 KBytes
    310 4]   7.00-8.00   sec  6.09 MBytes  51.1 Mbits/sec    0    707 KBytes
    311 4]   8.00-9.00   sec  6.03 MBytes  50.6 Mbits/sec    0   1.02 MBytes
    312 4]   9.00-10.00  sec  6.34 MBytes  53.2 Mbits/sec    0    950 KBytes
     290root@srv1-lg1:~# iperf3 -c 192.168.2.2 -b 0 -i 1
     291Connecting to host 192.168.2.2, port 5201
     2925] local 192.168.2.1 port 40848 connected to 192.168.2.2 port 5201
     293[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
     2945]   0.00-1.00   sec  6.92 MBytes  58.1 Mbits/sec    0    348 KBytes
     2955]   1.00-2.00   sec  13.5 MBytes   113 Mbits/sec    0    977 KBytes
     2965]   2.00-3.00   sec  13.8 MBytes   115 Mbits/sec    0   1.63 MBytes
     2975]   3.00-4.00   sec  12.5 MBytes   105 Mbits/sec    0   2.30 MBytes
     2985]   4.00-5.00   sec  13.8 MBytes   115 Mbits/sec    0   2.92 MBytes
     2995]   5.00-6.00   sec  13.8 MBytes   115 Mbits/sec    0   3.15 MBytes
     3005]   6.00-7.00   sec  13.8 MBytes   115 Mbits/sec    0   3.15 MBytes
     3015]   7.00-8.00   sec  13.8 MBytes   115 Mbits/sec    0   3.15 MBytes
     3025]   8.00-9.00   sec  13.8 MBytes   115 Mbits/sec    0   3.15 MBytes
     3035]   9.00-10.00  sec  13.8 MBytes   115 Mbits/sec    0   3.15 MBytes
    313304- - - - - - - - - - - - - - - - - - - - - - - - -
    314 [ ID] Interval           Transfer     Bandwidth       Retr
    315 4]   0.00-10.00  sec  61.3 MBytes  51.4 Mbits/sec    0             sender
    316 4]   0.00-10.00  sec  57.8 MBytes  48.5 Mbits/sec                  receiver
     305[ ID] Interval           Transfer     Bitrate         Retr
     3065]   0.00-10.00  sec   129 MBytes   108 Mbits/sec    0             sender
     3075]   0.00-10.21  sec   129 MBytes   106 Mbits/sec                  receiver
    317308
    318309iperf Done.