Skip to content

Setup Example

Fabricio edited this page Aug 30, 2021 · 1 revision

Setup used to test the application with open5GS:

I used two VMs:

  • VM1 with the application
  • VM2 with the open5GS Core

Used config files:

Note: I only show the config files I changed.

mme.yaml

logger:
    file: /var/log/open5gs/mme.log

mme:
    freeDiameter: /etc/freeDiameter/mme.conf
    s1ap:
      - addr: 172.16.168.131
    gtpc:
      - addr: 127.0.0.2
    gummei: 
      plmn_id:
        mcc: 208
        mnc: 93
      mme_gid: 2
      mme_code: 1
    tai:
      plmn_id:
        mcc: 208
        mnc: 93
      tac: 1
    security:
        integrity_order : [ EIA2, EIA1, 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

sgwu.yaml

logger:
    file: /var/log/open5gs/sgwu.log

sgwu:
    pfcp:
      - addr: 127.0.0.6
    gtpu:
      - addr: 172.16.168.131
      - addr: 127.0.0.6

How I did run the application in VM1:

root@ubuntu:/home/fabricio# python3 eNB_LOCAL.py -i 172.16.168.130 -m 172.16.168.131 -u 0 -o 20893 -g 172.16.168.131

I was using a USIM with different MCC/MNC (90170).

Options used:

  • Option 15 for eNB Setup
  • Option 20 for the Attach procedure
  • Option 50 to enable GTP-U (did some pings to 1.1.1.1)
  • Option 21 to Detach

The resulting pcap file can be downloaded here

Clone this wiki locally