Changes between Version 18 and Version 19 of Tutorials/4G5G/amarisoft
- Timestamp:
- Jan 21, 2022, 7:02:51 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/4G5G/amarisoft
v18 v19 43 43 === Tutorial Execution === 44 44 [[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. 46 46 47 47 {{{#!td … … 108 108 109 109 [[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. 112 113 {{{#!shell 113 114 root@srv1-lg1:~# cd /opt/amarisoft/ltemme-linux-2021-09-18 … … 123 124 124 125 }}} 126 * Type 'help' at the prompt to explore the available mme commands. 125 127 [[CollapsibleEnd]] 126 128 127 129 [[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 128 131 {{{#!shell 129 132 root@srv1-lg1:~# cd /opt/amarisoft/lteenb-linux-2021-09-18 … … 166 169 167 170 }}} 171 * Type 'help' at the prompt and use commands like 'cell phy' to look at the various parameters of the base station. 172 168 173 [[CollapsibleEnd]] 169 174 170 175 [[CollapsibleStart(Run UE)]] 171 176 {{{#!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. 172 178 root@srv2-lg1:~# cd /opt/amarisoft/lteue-linux-2021-09-18 173 179 root@srv2-lg1:/opt/amarisoft/lteue-linux-2021-09-18# ./lteue config/ue-nr-sa-n310.cfg … … 211 217 212 218 }}} 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. 213 221 214 222 {{{#!shell … … 223 231 224 232 }}} 233 * The base station (srv1-lg1) can now talk to the UEs via the IP addresses assigned above. 225 234 [[CollapsibleEnd]] 226 235 227 236 [[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 || 228 244 [[CollapsibleEnd]] 229 245