Changes between Version 45 and Version 46 of Tutorials/4G5G/amarisoft


Ignore:
Timestamp:
Nov 6, 2024, 5:29:27 PM (5 months ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/4G5G/amarisoft

    v45 v46  
    5959
    6060   {{{#!shell
    61 root@srv1-lg1:~# ifconfig DATA1
    62 DATA1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9000
     61root@srv1-lg1:~# ifconfig eno1
     62eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9000
    6363        inet 10.38.1.1  netmask 255.255.0.0  broadcast 10.38.255.255
    6464        inet6 fe80::1e34:daff:fe42:c3c  prefixlen 64  scopeid 0x20<link>
    6565        ether 1c:34:da:42:0c:3c  txqueuelen 1000  (Ethernet)
    66         RX packets 61195963  bytes 199994153268 (199.9 GB)
    67         RX errors 0  dropped 6680  overruns 0  frame 0
    68         TX packets 58734853  bytes 190912589303 (190.9 GB)
     66        RX packets 1599884  bytes 10618410950 (10.6 GB)
     67        RX errors 0  dropped 1  overruns 0  frame 0
     68        TX packets 1054291  bytes 7901702669 (7.9 GB)
    6969        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    7070
    71 
    72 root@srv1-lg1:~# ifconfig DATA2
    73 DATA2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9000
     71root@srv1-lg1:~# ifconfig eno2
     72eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9000
    7473        inet 10.39.1.1  netmask 255.255.0.0  broadcast 10.39.255.255
    7574        inet6 fe80::1e34:daff:fe42:c3d  prefixlen 64  scopeid 0x20<link>
    7675        ether 1c:34:da:42:0c:3d  txqueuelen 1000  (Ethernet)
    77         RX packets 7378  bytes 651944 (651.9 KB)
    78         RX errors 0  dropped 6682  overruns 0  frame 0
    79         TX packets 282  bytes 82239 (82.2 KB)
     76        RX packets 370  bytes 43904 (43.9 KB)
     77        RX errors 0  dropped 1  overruns 0  frame 0
     78        TX packets 42  bytes 8066 (8.0 KB)
    8079        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    8180
     
    9291    serial: 3176DF5
    9392    addr: 10.39.2.1
    94     claimed: False
     93    claimed: True
    9594    fpga: XG
    9695    mgmt_addr: 10.37.2.1
     
    126125  This network uses PLMN 310014 (USA Test network) as configured in mme.cfg.
    127126{{{#!shell
    128 root@srv1-lg1:/opt/amarisoft# cd ltemme-linux-2024-03-15
    129 root@srv1-lg1:/opt/amarisoft/ltemme-linux-2024-03-15# ./lte_init.sh
    130 Select CTRL default interface
    131 Configure NAT for CTRL
     127root@srv1-lg1:~# cd /opt/amarisoft/ltemme-linux-2024-09-13
     128root@srv1-lg1:/opt/amarisoft/ltemme-linux-2024-09-13# ./lte_init.sh ens3f0
     129Select ens3f0 interface
     130Configure NAT for ens3f0
    132131net.ipv4.tcp_congestion_control = bbr
    133 net.core.rmem_max = 50000000
    134 net.core.wmem_max = 5000000
    135 root@srv1-lg1:/opt/amarisoft/ltemme-linux-2024-03-15# ./ltemme config/mme.cfg
    136 Core Network version 2024-03-15, Copyright (C) 2012-2024 Amarisoft
     132net.core.rmem_max = 62500000
     133net.core.wmem_max = 62500000
     134root@srv1-lg1:/opt/amarisoft/ltemme-linux-2024-09-13# ./ltemme config/mme.cfg
     135Core Network version 2024-09-13, Copyright (C) 2012-2024 Amarisoft
    137136This software is licensed to Rutgers University (The State University of New Jersey).
    138137License server: license.orbit-lab.org (0b-b4-46-dc-2f-83-58-cb)
    139 Support and software update available until 2024-08-18.
    140 
    141 (mme) gnb
    142   PLMN     RAN_ID                        IP:Port #UEctx     TACs
    143 310014    0x12345                127.0.1.1:60769      0     0x64
     138Support and software update available until 2025-08-18.
     139
    144140(mme)
     141
    145142}}}
    146143* Type 'help' at the prompt to explore the available mme commands.
     
    150147* Run Amarisoft 5G NR Stand alone gNodeB as shown below by passing the gNodeB configuration file as an argument. The configuration file defines SDR(USRP N310) address, operating band, bandwidth and other parameters. To run 4G LTE eNodeB, please use enb-n310.cfg
    151148{{{#!shell
    152 root@srv1-lg1:~# cd /opt/amarisoft/lteenb-linux-2024-03-15
    153 root@srv1-lg1:/opt/amarisoft/lteenb-linux-2024-03-15# ./lteenb config/gnb-sa-n310.cfg
    154 Base Station version 2024-03-15, Copyright (C) 2012-2024 Amarisoft
     149root@srv1-lg1:~# cd /opt/amarisoft/lteenb-linux-2024-09-13
     150root@srv1-lg1:/opt/amarisoft/lteenb-linux-2024-09-13# ./lteenb config/gnb-sa-n310.cfg
     151Base Station version 2024-09-13, Copyright (C) 2012-2024 Amarisoft
    155152This software is licensed to Rutgers University (The State University of New Jersey).
    156153License server: license.orbit-lab.org (0b-b4-46-dc-2f-83-58-cb)
    157 Support and software update available until 2024-08-18.
     154Support and software update available until 2025-08-18.
    158155
    159156[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.4.0.HEAD-0-g5fac246b
    160157[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=10.38.2.1,type=n3xx,product=n310,serial=3176DF5,name=ni-n3xx-3176DF5,fpga=XG,claimed=False,addr=10.38.2.1,master_clock_rate=122.88e6
    161158[INFO] [MPM.PeriphManager] init() called with device args `fpga=XG,master_clock_rate=122.88e6,mgmt_addr=10.38.2.1,name=ni-n3xx-3176DF5,product=n310,clock_source=internal,time_source=internal'.
    162 RF0: sample_rate=30.720 MHz dl_freq=2589.420 MHz ul_freq=2589.420 MHz (band n41) dl_ant=2 ul_ant=1
     159RF0: sample_rate=30.720 MHz dl_freq=3489.420 MHz ul_freq=3489.420 MHz (band n78) dl_ant=1 ul_ant=1
    163160WARNING: The GPS is not locked. If you need time synchronization, you should restart the program when the GPS is locked.
     161(enb)
    164162(enb) ng
    165163gNB NG connection state:
     
    167165(enb) cell phy
    168166[gnb0012345] PLMN=310014 gNB_ID=0x12345
    169 --------Global-------- -----------DL---------- -----------UL---------- -----SSB---
    170 Cell    RAT BAND  BW P   ARFCN ANT NL SCS  QAM   ARCFN ANT NL SCS  QAM   ARFCN SCS
    171 0x001    NR  n41  20 0  517884   2  2  30  256  517884   1  1  30  256  517710  30
     167--------Global-------- -----------DL-------------- -----------UL---------- -----SSB---
     168Cell    RAT BAND  BW P   ARFCN ANT NL SCS  QAM POW   ARCFN ANT NL SCS  QAM   ARFCN SCS
     1690x001    NR  n78  20 0  632628   1  1  30  256 -42  632628   1  1  30  256  632544  30
    172170(enb)
    173171
     
    181179
    182180{{{#!shell
    183 root@srv2-lg1:~# cd /opt/amarisoft/lteue-linux-2024-03-15
    184 root@srv2-lg1:/opt/amarisoft/lteue-linux-2024-03-15# ./lteue config/ue-nr-sa-n310.cfg
    185 UE version 2024-03-15, Copyright (C) 2012-2024 Amarisoft
     181root@srv2-lg1:~# cd /opt/amarisoft/lteue-linux-2024-09-13
     182root@srv2-lg1:/opt/amarisoft/lteue-linux-2024-09-13# ./lteue config/ue-nr-sa-n310.cfg
     183UE version 2024-09-13, Copyright (C) 2012-2024 Amarisoft
    186184This software is licensed to Rutgers University (The State University of New Jersey).
    187185License server: license.orbit-lab.org (0b-b4-46-dc-2f-83-58-cb)
    188 Support and software update available until 2024-08-18.
     186Support and software update available until 2025-08-18.
    189187
    190188[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.4.0.HEAD-0-g5fac246b
    191189[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
    192190[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'.
    193 RF0: sample_rate=30.720 MHz dl_freq=2589.420 MHz ul_freq=2589.420 MHz (band n41) dl_ant=2 ul_ant=1
     191[WARNING] [RFNOC::GRAPH] One or more blocks timed out during flush!
     192RF0: sample_rate=30.720 MHz dl_freq=3489.420 MHz ul_freq=3489.420 MHz (band n78) dl_ant=1 ul_ant=1
    194193WARNING: 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
     194(ue) DCell 0: SIB found
     195UHD status: L=0 U=0 S=1
    196196
    197197(ue) ue
     
    205205(ue) ue
    206206        # 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
     207  NR    0     1  0 4602      running              registered     1 192.168.2.6
     208  NR    1     2  0 4601      running              registered     1 192.168.2.2
     209  NR    2     3  0 4603      running              registered     1 192.168.2.10
    210210  NR    3     4  0    0      offline               power off     0
    211211  NR    4     5  0    0      offline               power off     0
     
    213213
    214214}}}
     215
    215216* Type 'ue' at the prompt to see the status of the UEs and type 'power_on' to start a UE. The above simulation shows 5 UEs, and the number of UEs is specified as UE_COUNT in the configuration file.
    216217* Go back to 'mme' prompt in srv1-lg1 and check the gnb, ue list. 
     
    219220(mme) gnb
    220221  PLMN     RAN_ID                        IP:Port #UEctx     TACs
    221 310014    0x12345                127.0.1.1:38563      0     0x64
     222310014    0x12345                127.0.1.1:36113      0     0x64
    222223(mme) ue
    223224            SUPI           IMEISV  CN M-TMSI/5G-TMSI REG           TAC #BEARER IP_ADDR
    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
     225 001010123456790 0123456700000201 5GC     0xcefe4111   Y 310014.  0x64       1 default/192.168.2.2
     226 001010123456791 0123456700000301 5GC      0xb52af4b   Y 310014.  0x64       1 default/192.168.2.10
     227 001010123456789 0123456700000101 5GC     0xd8957de1   Y 310014.  0x64       1 default/192.168.2.6
    227228(mme)
    228229