Open5gs: Konfigurasi Awal MCC 999 MNC 70 dengan Open5GS dan IMS satu mesin/VM

From OnnoWiki
Jump to navigation Jump to search

Sumber: https://github.com/herlesupreeth/Open5gs_Config


  • OpenStack VM dengan root user dan single interface (enp0s3)
  • Modifications required for respective setups

Modify all module locations based on your installation. e.g: load_extension:

- module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dbg_msg_dumps.fdx .....
  • APN names
  • UE pool IP addresses
  • P-CSCF address
  • Network interface name


amf.yaml

vi amf.yaml


logger:
   file: /root/open5gs/install/var/log/open5gs/amf.log

parameter:

amf:
    sbi:
      - addr: 127.0.0.5
        port: 7777
    ngap:
      - addr: 127.0.0.5
    guami:
      - plmn_id:
          mcc: 001
          mnc: 01
        amf_id:
          region: 2
          set: 1
    tai:
      - plmn_id:
          mcc: 001
          mnc: 01
        tac: 1
    plmn_support:
      - plmn_id:
          mcc: 001
          mnc: 01
        s_nssai:
          - sst: 1
    security:
        integrity_order : [ NIA2, NIA1, NIA0 ]
        ciphering_order : [ NEA0, NEA1, NEA2 ]
    network_name:
        full: Open5GS
    amf_name: open5gs-amf0

nrf:
    sbi:
      - addr:
          - 127.0.0.10
          - ::1
        port: 7777

ausf.yaml

vi ausf.yaml


logger:
    file: /root/open5gs/install/var/log/open5gs/ausf.log

parameter:

ausf:
    sbi:
      - addr: 127.0.0.11
        port: 7777

nrf:
    sbi:
      - addr:
          - 127.0.0.10
          - ::1
        port: 7777

hss.yaml

vi hss.yaml


db_uri: mongodb://localhost/open5gs

logger:
    file: /root/open5gs/install/var/log/open5gs/hss.log

parameter:

hss:
    freeDiameter:
      identity: hss.epc.mnc001.mcc001.3gppnetwork.org
      realm: epc.mnc001.mcc001.3gppnetwork.org
      port: 3868
      sec_port: 5868
      listen_on: 127.0.0.8
      load_extension:
        - module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dbg_msg_dumps.fdx
          conf: 0x8888
        - module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_rfc5777.fdx
        - module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_mip6i.fdx
        - module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_nasreq.fdx
        - module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_nas_mipv6.fdx
        - module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_dcca.fdx
        - module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_dcca_3gpp.fdx
      connect:
        - identity: mme.epc.mnc001.mcc001.3gppnetwork.org
          addr: 127.0.0.2
          port: 3868

mme.yaml

vi mme.yaml
logger:
    file: /root/open5gs/install/var/log/open5gs/mme.log

parameter:

mme:
    freeDiameter:
      identity: mme.epc.mnc001.mcc001.3gppnetwork.org
      realm: epc.mnc001.mcc001.3gppnetwork.org
      port: 3868
      sec_port: 5868
      listen_on: 127.0.0.2
      load_extension:
        - module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dbg_msg_dumps.fdx
          conf: 0x8888
        - module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_rfc5777.fdx
        - module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_mip6i.fdx
        - module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_nasreq.fdx
        - module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_nas_mipv6.fdx
        - module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_dcca.fdx
        - module: /root/open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_dcca_3gpp.fdx
      connect:
        - identity: hss.epc.mnc001.mcc001.3gppnetwork.org
          addr: 127.0.0.8
          port: 3868
    s1ap:
      dev: ens3
    gtpc:
      dev: ens3
    gummei: 
      plmn_id:
        mcc: 001
        mnc: 01
      mme_gid: 2
      mme_code: 1
    tai:
      plmn_id:
        mcc: 001
        mnc: 01
      tac: 1
    security:
        integrity_order : [ EIA1, EIA2, EIA0 ]
        ciphering_order : [ EEA0, EEA1, EEA2 ]
    network_name:
        full: Open5GS
    mme_name: open5gs-mme0

sgwc:
    gtpc:
      addr: 127.0.0.3

smf:
    gtpc:
      - addr:
        - 127.0.0.4
        - ::1

nrf.yaml

vi nrf.yaml


logger:
    file: /root/open5gs/install/var/log/open5gs/nrf.log

parameter:

nrf:
    sbi:
      addr:
        - 127.0.0.10
        - ::1
      port: 7777

nssf.yaml

vi nssf.yaml


logger:
    file: /root/open5gs/install/var/log/open5gs/nrf.log

nssf:
    sbi:
      - addr: 127.0.0.14
        port: 7777
    nsi:
      - addr: ::1
        port: 7777
        s_nssai:
          sst: 1

nrf:
    sbi:
      - addr:
          - 127.0.0.10
          - ::1
        port: 7777

pcf.yaml


pcrf.yaml


sgwc.yaml


sgwu.yaml


smf.yamk


udm.yaml


udr.yaml


udf.yaml


Referensi

Pranala Menarik