| | 35 | |
| | 36 | After loading the image turnon the nodes using command: {{{omf tell -a on -t node13-14,node13-7,node8-14,node8-7,node3-2,node2-2}}} |
| | 37 | |
| | 38 | 2) Starting EPC : Run the following commands to enable eth0 interface and to start EPC components - HSS, MME and SPGW: |
| | 39 | {{{ |
| | 40 | ssh root@node2-2 |
| | 41 | cd /root/openair-cn/SCRIPTS |
| | 42 | ifconfig eth0 192.168.3.1/24 up |
| | 43 | ./run_hss |
| | 44 | ./run_mme |
| | 45 | ./run_spgw |
| | 46 | }}} |
| | 47 | |
| | 48 | 3) Configuring Server |
| | 49 | {{{ |
| | 50 | ssh root@node3-2 |
| | 51 | ifconfig eth0 192.168.3.2/24 up |
| | 52 | ip route add 172.16.0.2 via 192.168.3.1 |
| | 53 | }}} |
| | 54 | |
| | 55 | 4) Starting eNodeB |
| | 56 | {{{ |
| | 57 | ssh root@node8-7 |
| | 58 | ifconfig eth1 mtu 1440 |
| | 59 | cd /root/openairinterface5g/cmake_targets/lte_build_oai/build |
| | 60 | sudo -E ./lte-softmodem -P /tmp/oai_enb.pcap -O /root/openairinterface5g/targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.25PRB.usrpb210.conf --T_nowait |
| | 61 | }}} |
| | 62 | |
| | 63 | === Connecting UE to LTE network === |
| | 64 | Considering UE1 |
| | 65 | {{{ |
| | 66 | ssh root@node13-14 |
| | 67 | cd /root/openairinterface5g/cmake_targets/tools/ |
| | 68 | source ./init_nas_s1 UE |
| | 69 | cd /root/openairinterface5g/targets/bin |
| | 70 | sudo -E ./lte-softmodem.Rel14 -U -C2685000000 -r25 --ue-scan-carrier --ue-txgain 70 --ue-rxgain 80 -W |
| | 71 | }}} |
| | 72 | |
| | 73 | In a separate terminal |
| | 74 | {{{ |
| | 75 | ssh root@node13-14 |
| | 76 | sudo ifconfig oip1 up |
| | 77 | ifconfig oip1 mtu 800 |
| | 78 | route add default gw 172.16.0.2 |
| | 79 | }}} |
| | 80 | |
| | 81 | The Tx and Rx gain have to adjusted based on physical location of UE and eNB |