Changes between Version 20 and Version 21 of Internal/OAIEPC


Ignore:
Timestamp:
Mar 27, 2017, 4:53:20 PM (8 years ago)
Author:
msherman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OAIEPC

    v20 v21  
    4545   * set MCC and MNC in GUMMEI_LIST and TAI_LIST to chosen values {{{001, 01}}}
    4646   * set network interfaces as appropriate. If mme, hss, and spgw are on the same machine, only S1 interface will not be localhost.
    47    
     47  1. in spgw.conf
     48   * set s12 interface as needed, it will be the same as the s1 interface above.
     49   * set pgw interface for external/ client egress traffic
     50   * enable/disable masquerate and tpc clamping as needed
     51    * If s1 interface MTU is 1500, a maximum MTU of 1488 must be advertised to clients, and MSS clamping enabled to prevent fragmentation. This is due to 12 byte GTP overhead.
     52   * set DNS IP addresses, this will be advertised to clients.
     53  1. in freediameter config files
     54   * set identity and realm as appropriate in both hss and mme files.
     55  1. in hss.conf
     56   * set mysql username and password
     57   * set OP key used for sim cards. This example uses all 1s, as that is the configuration of the ORBIT sim cards.
     58    * this is used to generate keys for each sim. SIMs can also be configured with hardcoded keys, once the database is set up.
     59   * edit fqdns at bottom of hss.config to enable 001 01 plmn
     60    *. fqdn defined in spec, but you can just replace 208 93 with 001 001. #BOTH MUST BE 3 DIGITS
     611. generate FD keys
     62 1. in {{{openair-cn/SCRIPTS}}}
     63 1. {{{./check_hss_s6a_certificate /usr/local/etc/oai/freeDiameter/ hss.orbit-lab.org}}}
     64 1. {{{./check_mme_s6a_certificate /usr/local/etc/oai/freeDiameter/ nano.orbit-lab.org}}}
     651. Compile and install hss, mme, and spgw
     66{{{
     67cd YOUR_openair-cn_DIRECTORY
     68cd SCRIPTS
     69./build_mme -i #Need to run only once to install missing packages
     70./build_hss -i #Need to run only once to install missing packages
     71./build_spgw -i #Need to run only once
     72}}}
     731. set up DB for hss
     74 1. {{{./run_hss -i ~/openair-cn/SRC/OAI_HSS/db/oai_db.sql #Run only once to install database}}}
     75 1. you can specify a different database dump, to replicate set ups.
     76 1. append info to DB as appropriate   
     77 1. Add mme hostname as entry in table mmeidentity
     78 1. add user/sim to users table, and pdn to pdn table
     79  1. mmeidentity for user must match index of mme used
     80  1. imsi specified for both user and pdn
     81  1. specify user key with UNHEX function
    4882
    49 1. use script to append items to db
    50  1. mmeidentity for user must match index of mme used
    51  1. imsi specified for both user and pdn
    52  1. specify user key with UNHEX function
    53  1. edit line at bottom of hss.config to enable 001 01 plmn
    54   1. fqdn defined in spec
     83== Notes and References ==
     84
    55851. GENI
    5686 1. EPC URN: {{{urn:publicid:IDN+instageni.rutgers.edu+image+ch-geni-net:OAIEPCOrbit}}}