Changes between Version 45 and Version 46 of Tutorials/4G5G/amarisoft
- Timestamp:
- Nov 6, 2024, 5:29:27 PM (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/4G5G/amarisoft
v45 v46 59 59 60 60 {{{#!shell 61 root@srv1-lg1:~# ifconfig DATA162 DATA1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 900061 root@srv1-lg1:~# ifconfig eno1 62 eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000 63 63 inet 10.38.1.1 netmask 255.255.0.0 broadcast 10.38.255.255 64 64 inet6 fe80::1e34:daff:fe42:c3c prefixlen 64 scopeid 0x20<link> 65 65 ether 1c:34:da:42:0c:3c txqueuelen 1000 (Ethernet) 66 RX packets 61195963 bytes 199994153268 (199.9GB)67 RX errors 0 dropped 6680overruns 0 frame 068 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) 69 69 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 70 70 71 72 root@srv1-lg1:~# ifconfig DATA2 73 DATA2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000 71 root@srv1-lg1:~# ifconfig eno2 72 eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000 74 73 inet 10.39.1.1 netmask 255.255.0.0 broadcast 10.39.255.255 75 74 inet6 fe80::1e34:daff:fe42:c3d prefixlen 64 scopeid 0x20<link> 76 75 ether 1c:34:da:42:0c:3d txqueuelen 1000 (Ethernet) 77 RX packets 7378 bytes 651944 (651.9 KB)78 RX errors 0 dropped 6682overruns 0 frame 079 TX packets 282 bytes 82239 (82.2KB)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) 80 79 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 81 80 … … 92 91 serial: 3176DF5 93 92 addr: 10.39.2.1 94 claimed: False93 claimed: True 95 94 fpga: XG 96 95 mgmt_addr: 10.37.2.1 … … 126 125 This network uses PLMN 310014 (USA Test network) as configured in mme.cfg. 127 126 {{{#!shell 128 root@srv1-lg1: /opt/amarisoft# cd ltemme-linux-2024-03-15129 root@srv1-lg1:/opt/amarisoft/ltemme-linux-2024-0 3-15# ./lte_init.sh130 Select CTRL defaultinterface131 Configure NAT for CTRL127 root@srv1-lg1:~# cd /opt/amarisoft/ltemme-linux-2024-09-13 128 root@srv1-lg1:/opt/amarisoft/ltemme-linux-2024-09-13# ./lte_init.sh ens3f0 129 Select ens3f0 interface 130 Configure NAT for ens3f0 132 131 net.ipv4.tcp_congestion_control = bbr 133 net.core.rmem_max = 50000000134 net.core.wmem_max = 5000000135 root@srv1-lg1:/opt/amarisoft/ltemme-linux-2024-0 3-15# ./ltemme config/mme.cfg136 Core Network version 2024-0 3-15, Copyright (C) 2012-2024 Amarisoft132 net.core.rmem_max = 62500000 133 net.core.wmem_max = 62500000 134 root@srv1-lg1:/opt/amarisoft/ltemme-linux-2024-09-13# ./ltemme config/mme.cfg 135 Core Network version 2024-09-13, Copyright (C) 2012-2024 Amarisoft 137 136 This software is licensed to Rutgers University (The State University of New Jersey). 138 137 License 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 138 Support and software update available until 2025-08-18. 139 144 140 (mme) 141 145 142 }}} 146 143 * Type 'help' at the prompt to explore the available mme commands. … … 150 147 * 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 151 148 {{{#!shell 152 root@srv1-lg1:~# cd /opt/amarisoft/lteenb-linux-2024-0 3-15153 root@srv1-lg1:/opt/amarisoft/lteenb-linux-2024-0 3-15# ./lteenb config/gnb-sa-n310.cfg154 Base Station version 2024-0 3-15, Copyright (C) 2012-2024 Amarisoft149 root@srv1-lg1:~# cd /opt/amarisoft/lteenb-linux-2024-09-13 150 root@srv1-lg1:/opt/amarisoft/lteenb-linux-2024-09-13# ./lteenb config/gnb-sa-n310.cfg 151 Base Station version 2024-09-13, Copyright (C) 2012-2024 Amarisoft 155 152 This software is licensed to Rutgers University (The State University of New Jersey). 156 153 License server: license.orbit-lab.org (0b-b4-46-dc-2f-83-58-cb) 157 Support and software update available until 202 4-08-18.154 Support and software update available until 2025-08-18. 158 155 159 156 [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.4.0.HEAD-0-g5fac246b 160 157 [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 161 158 [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=2ul_ant=1159 RF0: sample_rate=30.720 MHz dl_freq=3489.420 MHz ul_freq=3489.420 MHz (band n78) dl_ant=1 ul_ant=1 163 160 WARNING: The GPS is not locked. If you need time synchronization, you should restart the program when the GPS is locked. 161 (enb) 164 162 (enb) ng 165 163 gNB NG connection state: … … 167 165 (enb) cell phy 168 166 [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 SCS171 0x001 NR n 41 20 0 517884 2 2 30 256 517884 1 1 30 256 51771030167 --------Global-------- -----------DL-------------- -----------UL---------- -----SSB--- 168 Cell RAT BAND BW P ARFCN ANT NL SCS QAM POW ARCFN ANT NL SCS QAM ARFCN SCS 169 0x001 NR n78 20 0 632628 1 1 30 256 -42 632628 1 1 30 256 632544 30 172 170 (enb) 173 171 … … 181 179 182 180 {{{#!shell 183 root@srv2-lg1:~# cd /opt/amarisoft/lteue-linux-2024-0 3-15184 root@srv2-lg1:/opt/amarisoft/lteue-linux-2024-0 3-15# ./lteue config/ue-nr-sa-n310.cfg185 UE version 2024-0 3-15, Copyright (C) 2012-2024 Amarisoft181 root@srv2-lg1:~# cd /opt/amarisoft/lteue-linux-2024-09-13 182 root@srv2-lg1:/opt/amarisoft/lteue-linux-2024-09-13# ./lteue config/ue-nr-sa-n310.cfg 183 UE version 2024-09-13, Copyright (C) 2012-2024 Amarisoft 186 184 This software is licensed to Rutgers University (The State University of New Jersey). 187 185 License server: license.orbit-lab.org (0b-b4-46-dc-2f-83-58-cb) 188 Support and software update available until 202 4-08-18.186 Support and software update available until 2025-08-18. 189 187 190 188 [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.4.0.HEAD-0-g5fac246b 191 189 [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 190 [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! 192 RF0: sample_rate=30.720 MHz dl_freq=3489.420 MHz ul_freq=3489.420 MHz (band n78) dl_ant=1 ul_ant=1 194 193 WARNING: 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 195 UHD status: L=0 U=0 S=1 196 196 197 197 (ue) ue … … 205 205 (ue) ue 206 206 # UE_ID CL RNTI RRC_STATE EMM_STATE #ERAB IP_ADDR 207 NR 0 1 0 460 7 running registered 1 192.168.2.2208 NR 1 2 0 460 5 running registered 1 192.168.2.6209 NR 2 3 0 460 6running registered 1 192.168.2.10207 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 210 210 NR 3 4 0 0 offline power off 0 211 211 NR 4 5 0 0 offline power off 0 … … 213 213 214 214 }}} 215 215 216 * 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. 216 217 * Go back to 'mme' prompt in srv1-lg1 and check the gnb, ue list. … … 219 220 (mme) gnb 220 221 PLMN RAN_ID IP:Port #UEctx TACs 221 310014 0x12345 127.0.1.1:3 8563 0 0x64222 310014 0x12345 127.0.1.1:36113 0 0x64 222 223 (mme) ue 223 224 SUPI IMEISV CN M-TMSI/5G-TMSI REG TAC #BEARER IP_ADDR 224 0010101234567 89 0123456700000101 5GC 0xe8cc82 Y 310014. 0x64 1192.168.2.2225 00101012345679 0 0123456700000201 5GC 0xb19f2401 Y 310014. 0x64 1 192.168.2.6226 0010101234567 91 0123456700000301 5GC 0x9cde30c0 Y 310014. 0x64 1 192.168.2.10225 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 227 228 (mme) 228 229