Project

General

Profile

DUL open5gs configuration » History » Version 2

lynxis, 11/11/2020 11:07 PM

1 2 lynxis
h1. DUL Open5GS configuration
2 1 lynxis
3 2 lynxis
The DUL doesn't need any special Open5GS configuration. The eNodeB and cells must be present with the correct mcc/mnc/tac settings in the mme.yaml which has been configured via the managed objects.
4 1 lynxis
Attach are example configuration files matching the enodeB/cell configuration on [[DUL 20 Configuration]].
5
6
h3. network configuration
7
8 2 lynxis
The machine hosting the Open5GS must be direct connected to the side network (TN A/TN B) and have the following IPs configured:
9 1 lynxis
10
|_.iface|_.description|
11
|eth0|optional interface to LMT, not needed|
12
|eth1|side network TN A/TN B for enodeB traffc|
13
|eth2|uplink to the internet. NAT for UE traffic|
14
15
* example /etc/network/interfaces.conf
16
17
<pre>
18
auto lo
19
iface lo inet loopback
20
21
auto eth0
22
iface eth0 inet static
23
        address 169.254.1.3/16
24
        gateway 169.254.1.15
25
26
auto eth1
27
iface eth1 inet static
28
        address 10.23.0.1/24
29
        post-up ip a a 10.23.0.2/24 dev eth1
30
        post-up ip a a 10.23.0.3/24 dev eth1
31
        post-up ip a a 10.23.0.4/24 dev eth1
32
        post-up ip a a 10.23.0.5/24 dev eth1
33
        post-up ip a a 10.23.0.6/24 dev eth1
34
        post-up ip a a 10.23.0.7/24 dev eth1
35
        post-up ip a a 10.23.0.8/24 dev eth1
36
        post-up ip a a 10.23.0.9/24 dev eth1
37
        post-up ip a a 10.23.0.10/24 dev eth1
38
        post-up ip a a 10.23.0.11/24 dev eth1
39
        post-up ip a a 10.23.0.12/24 dev eth1
40
        post-up ip a a 10.23.0.13/24 dev eth1
41
42
auto eth2
43
iface eth2 inet dhcp
44
        post-up iptables -A POSTROUTING -j MASQUERADE -s 10.45.0.0/16 -t nat
45
</pre>
46
47 2 lynxis
h3. Open5GS
48 1 lynxis
49 2 lynxis
Open5GS was installed following the "Quickstart manual":https://open5gs.org/open5gs/docs/guide/01-quickstart/
50 1 lynxis
The configuration was tested on debian buster with the following versions.
51
52
<pre>
53
root@rbs-open5gs:/# dpkg -l '*open5gs*'
54
Desired=Unknown/Install/Remove/Purge/Hold
55
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
56
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
57
||/ Name                 Version      Architecture Description
58
+++-====================-============-============-=============================================
59
ii  open5gs:amd64        2.0.20       amd64        5G Core and EPC (metapackage)
60
ii  open5gs-amf:amd64    2.0.20       amd64        AMF (Access and Mobility Management Function)
61
ii  open5gs-ausf:amd64   2.0.20       amd64        AUSF (Authentication Server Function)
62
ii  open5gs-common:amd64 2.0.20       amd64        5G Core and EPC (Shared Files)
63
ii  open5gs-hss:amd64    2.0.20       amd64        HSS (Home Subscriber Server)
64
ii  open5gs-mme:amd64    2.0.20       amd64        MME (Mobility Management Entity)
65
ii  open5gs-nrf:amd64    2.0.20       amd64        NRF (Network Repository Function)
66
ii  open5gs-pcrf:amd64   2.0.20       amd64        PCRF (Policy and Charging Rules Function)
67
ii  open5gs-sgwc:amd64   2.0.20       amd64        SGW-C (Serving Gateway - Control Plane)
68
ii  open5gs-sgwu:amd64   2.0.20       amd64        SGW-U (Serving Gateway - User Plane)
69
ii  open5gs-smf:amd64    2.0.20       amd64        SMF (Session Management Function)
70
ii  open5gs-udm:amd64    2.0.20       amd64        UDM (Unified Data Management)
71
ii  open5gs-udr:amd64    2.0.20       amd64        UDR (Unified Data Repository)
72
ii  open5gs-upf:amd64    2.0.20       amd64        UPF (User Plane Function)
73
</pre>
74
75 2 lynxis
h3. Running a NTP server
76 1 lynxis
77
The eNodeB is configured to use 10.23.0.2/10.23.0.3 as NTP server.
78
For testing chrony was used using the attached chrony.conf.
79
80
<pre>
81
apt-get install chrony
82
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)