81 | | The Tx and Rx gain have to adjusted based on physical location of UE and eNB |
| 81 | The Tx and Rx gain have to adjusted based on physical distance between UE and eNB. Same procedure is repeated if you want to add UE2 and UE3 but the IP address will be different. IP address assignment by MME depends on when the UE is attached to network. If UE1, UE2 and UE3 are attached sequentially then their IP address will be {{{172.16.0.2, 172.16.0.4 and 172.16.0.6}}} respectively. |
| 82 | |
| 83 | === Connecting Multiple UEs === |
| 84 | More users can also be connected for a realistic LTE scenarnio. Apart from the nodes used above {{{node18-2, node18-19 and node3-19}}} has USRPb210s and can be used to emulate UEs. The same UE image can be used but we have to change IMSI and MSISDN for newly added UEs. The following procedure has to be followed to add multiple UE - |
| 85 | * IMEI should be different for different users. Take the same IMEI from HSS database, add it to config of UE but while adding in database (DB) again, make it null (IMP). |
| 86 | * Remove any existing UE with same imsi from DB |
| 87 | * Add in DB using the command below with IMSI, MSISDN |
| 88 | {{{ |
| 89 | ssh root@node2-2 (EPC) |
| 90 | mysql -u root -p |
| 91 | linux |
| 92 | INSERT INTO users (`imsi`, `msisdn`, `imei`, `imei_sv`, `ms_ps_status`, `rau_tau_timer`, `ue_ambr_ul`, `ue_ambr_dl`, `access_restriction`, `mme_cap`, `mmeidentity_idmmeidentity`, `key`, `RFSP-Index`, `urrp_mme`, `sqn`, `rand`, `OPc`) VALUES ('To be changed', 'To be changed', NULL, NULL, 'NOT_PURGED', '120', '50000000', '100000000', '47', '0000000000', '7', 0x8BAF473F2F8FD09487CCCBD7097C6862, '1', '0', '', 0x00000000000000000000000000000000, ''); |
| 93 | }}} |
| 94 | * At UE change and build the config file as below: |
| 95 | {{{ |
| 96 | ./conf2uedata -c ~/openairinterface5g/openair3/NAS/TOOLS/ue_eurecom_test_sfr.conf -o ~/openairinterface5g/targets/bin |
| 97 | }}} |
| 98 | * Build the UE again using: |
| 99 | {{{ |
| 100 | source ./init_nas_s1 UE |
| 101 | }}} |