Changes between Version 1 and Version 2 of Tutorials/g0WmLTE/Tutorial5


Ignore:
Timestamp:
Oct 20, 2015, 8:33:47 PM (9 years ago)
Author:
stojadin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/g0WmLTE/Tutorial5

    v1 v2  
    1717
    1818Primary objective is to establish the LTE connection between the UE and eNB.
    19   1. '''ssh into nodes:''' Open the two ssh sessions from the console to the two nodes
     19  1. '''ssh into nodes:''' Open two ssh sessions from the console to the two nodes
    2020|| [[Image(node1-1.png, width=200)]] || [[Image(node1-2.png, width=200)]] ||
    21   2. '''Prepare configuration files:''' The configuration file used for eNB is 'enb.band5.tm1.usrpb210.conf':
    22      i. Operating frequency band parameters:
    23           a. E-UTRA band
    24           b. Corresponding duplex mode (e.g. FDD/TDD),
    25           c. Downlink frequency [Hz], uplink frequency offset [Hz] (which is given in reference to the downlink frequency).
    26           d. LTE bandwidth: N_RB_DL = {6,15,25,50,75,100} corresponding to bandwidth = {1.4,3,5,10,15,20} MHz
    27           For example:
    28           {{{
    29     ////////// Physical parameters:
    30     component_carriers = (
    31                          {
    32                            frame_type                                         = "FDD";
    33                            eutra_band                                         = 7;
    34                            downlink_frequency                                 = 2660000000L;
    35                            uplink_frequency_offset                            = -120000000;
    36                            N_RB_DL                                            = 25; #N_RB_DL choice: 6,15,25,50,75,100
    37                          }
    38                          );
    39           }}}
    40           In this example, LTE operates in E-UTRA band 7 which allows the FDD mode. LTE operates at 5 MHz bandwidth around downlink and uplink center frequencies which are at 2660 MHz and 2540 MHz, respectively.
     21  2. '''Prepare configuration files:''' The configuration file used for eNB is ''enb.band5.tm1.usrpb210.conf'', located at ''/root/openinterface5g/targets/PROJECTS/GENERIC-LTE-EPC/CONF/''. Another configuration may be used, or a new configuration file can be created using one of the existing ones, so that the parameters can be adjusted.
     22  3. '''Run the lte-softmodem:''' The following commands need to be run in order the execute the LTE softmodem. By default, the IP address of eNB is 10.0.1.1, and the IP of UE is 10.0.1.9. These parameters can be changed in ''/root/openinterface5g/targets/bin/init_nas_nos1''.
    4123
    42           Parameters in oai.conf can be varied as long as they are within predefined set of values which can be found in file ~/rel_0.1_26.10.2014/openair2/ENB_APP/enb_config.c or ~/trunk/openair2/ENB_APP/enb_config.c
     24    i. On both nodes, run
    4325
    44      ii. Make sure to have correct IP address configuration for parameters "ENB_IPV4_ADDRESS_FOR_S1_MME" and "ENB_IPV4_ADDRESS_FOR_S1U" to match node numbers.   For example, for nodeX-Y, these IP address parameters become as "10.10.X.Y/16". So for our basestation node the relevant sections in the oai.conf file in /root directory on the nodes we should look like (we don't want MME support and have to adjust the ip addresses to match what we have on the control interface of the node):
    45      {{{
    46     ////////// MME parameters:
    47     mme_ip_address      = ( { ipv4       = "10.10.0.100";
    48                               ipv6       = "10:10:0::100";
    49                               active     = "no";
    50                               preference = "ipv4";
    51                             }
    52                           );
     26{{{
     27source /root/openairinterface5g/targets/bin/init_nas_nos1
     28}}}
    5329
    54     NETWORK_INTERFACES :
    55     {
    56         ENB_INTERFACE_NAME_FOR_S1_MME            = "eth1";
    57         ENB_IPV4_ADDRESS_FOR_S1_MME              = "10.10.9.1/24";
     30    ii. On eNB (node1-1), run
    5831
    59         ENB_INTERFACE_NAME_FOR_S1U               = "eth1";
    60         ENB_IPV4_ADDRESS_FOR_S1U                 = "10.10.9.1/24";
    61         ENB_PORT_FOR_S1U                         = 2152; # Spec 2152
    62     };
    63      }}}
    64   3. '''Run the lte-softmodem:''' Depending on whether you want to run it with or without mme, execute lte-softmodem on corresponding nodes:
     32{{{
     33sh /root/openairinterface5g/targets/bin/init_nas_nos1 eNB
     34/root/openairinterface5g/targets/bin/lte-softmodem-nos1.Rel10 -d -O /root/conf/enb.band5.tm1.usrpb210.conf 2>&1 | tee ENB.log
     35}}}
    6536
    66  || || On the eNB node (node9-1) || On the UE node (node6-20)  ||
    67  || w/o MME || {{{ lte-softmodem-nomme -Ooai.conf -V}}} || {{{ lte-softmodem -U -Ooai.conf -C 2660000000 -V}}} ||
     37Depending on whether you want to run it with or without the graphical analyzer, execute lte-softmodem on corresponding nodes:
     38
     39 || || On the eNB node (node1-1) || On the UE node (node1-2)  ||
     40 || w/o  || {{{ lte-softmodem-nomme -Ooai.conf -V}}} || {{{ lte-softmodem -U -Ooai.conf -C 2660000000 -V}}} ||
    6841 || w MME || {{{ lte-softmodem -Ooai.conf -V}}} || {{{ lte-softmodem -U -Ooai.conf -C 2660000000 -V}}} ||
    6942