Changes between Version 18 and Version 19 of Tutorials/4G5G/amarisoft


Ignore:
Timestamp:
Jan 21, 2022, 7:02:51 PM (2 years ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/4G5G/amarisoft

    v18 v19  
    4343=== Tutorial Execution ===
    4444[[CollapsibleStart(Check SDRs)]]
    45 * Upon logging into the nodes, run eth_config.sh script to setup the 10G data interfaces on the nodes, DATA1, DATA2. After running the script, you should see that the data interfaces have the appropriate IP addresses assigned, as per this [https://wiki.cosmos-lab.org/wiki/Architecture/Domains/cosmos_sb1#IPAddressAssignment table].The nodes should then be able to access the USRP N310s sdr1-s1-lg1 and sdr1-md1 which can be checked by running uhd_find_devices.
     45* Upon logging into the nodes, run eth_config.sh script on both the nodes. This sets up the 10G data interfaces DATA1, DATA2. After running the script, you should see that the data interfaces have the appropriate IP addresses assigned, as per this [https://wiki.cosmos-lab.org/wiki/Architecture/Domains/cosmos_sb1#IPAddressAssignment table]. The nodes should then be able to access the USRP N310s sdr1-s1-lg1 and sdr1-md1 which can be checked by running uhd_find_devices.
    4646
    4747{{{#!td
     
    108108
    109109[[CollapsibleStart(Run MME)]]
    110 * Run the Amarisoft MME on srv1-lg1. Run lte_init.sh to setup IP forwarding so that the UEs can connect to the Internet. 
    111  Tihhnetwork uses PLMN 310014 (USA Test network) as configured in mme.cfg.
     110* We are going to run the MME, gNodeB on srv1-lg1 and the UE simulator on srv2-lg1.
     111* Run the Amarisoft MME on srv1-lg1. Run lte_init.sh to setup IP forwarding so that the UEs can connect to the Internet, once they establish a connection with the base station. 
     112  This network uses PLMN 310014 (USA Test network) as configured in mme.cfg.
    112113{{{#!shell
    113114root@srv1-lg1:~# cd /opt/amarisoft/ltemme-linux-2021-09-18
     
    123124
    124125}}}
     126* Type 'help' at the prompt to explore the available mme commands.
    125127[[CollapsibleEnd]]
    126128
    127129[[CollapsibleStart(Run eNodeB/gNodeB)]]
     130* 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
    128131{{{#!shell
    129132root@srv1-lg1:~# cd /opt/amarisoft/lteenb-linux-2021-09-18
     
    166169
    167170}}}
     171* Type 'help' at the prompt and use commands like 'cell phy' to look at the various parameters of the base station.
     172
    168173[[CollapsibleEnd]]
    169174
    170175[[CollapsibleStart(Run UE)]]
    171176{{{#!shell
     177* Run the Amarisoft MME simulator on srv2-lg1 by passing the configuration file ue-nr-sa-n310.cfg as an argument. To run UE simulator in 4G LTE mode, please use ue-n310.cfg.
    172178root@srv2-lg1:~# cd /opt/amarisoft/lteue-linux-2021-09-18
    173179root@srv2-lg1:/opt/amarisoft/lteue-linux-2021-09-18# ./lteue config/ue-nr-sa-n310.cfg
     
    211217
    212218}}}
     219* Type 'ue' at the prompt to see the status of the UEs and type 'power_on' to start a UE. The above simulation shows 2 UEs, and the number of UEs is specified UE_COUNT in the configuration file.
     220* Go back to 'mme' prompt in srv1-lg1 and check the gnb, ue list. 
    213221
    214222{{{#!shell
     
    223231
    224232}}}
     233* The base station (srv1-lg1) can now talk to the UEs via the IP addresses assigned above.
    225234[[CollapsibleEnd]]
    226235
    227236[[CollapsibleStart(Using the Web Interface)]]
     237* Amarisoft Web Interface can be used to analyse software logs and get information in real time. It can also be used to execute UE scenarios.
     238* Point your web browser to http://10.37.1.1/lte/ (10.37.1.1 is the CTRL IP address of srv1-lg1, where the MME and gNodeB are running)
     239* Click 'server' in the left client panel to add MME, gNodeB and UE. Use the appropriate IP addresses and ports as shown below
     240|| Server || addr || port ||
     241|| MME || 10.37.1.1 || 9000 ||
     242|| gNodeB || 10.37.1.1 || 9001 ||
     243|| UE  || 10.37.1.2 || 9002 ||
    228244[[CollapsibleEnd]]
    229245