Adaptations as per inclusion of SGWC, SGWU, SMF, UPF
This commit is contained in:
13
mme/mme.yaml
13
mme/mme.yaml
@@ -41,15 +41,18 @@ mme:
|
||||
mnc: MNC
|
||||
tac: 1
|
||||
security:
|
||||
integrity_order : [ EIA1, EIA2, EIA0 ]
|
||||
integrity_order : [ EIA2, EIA1, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
network_name:
|
||||
full: Open5GS
|
||||
mme_name: open5gs-mme0
|
||||
|
||||
sgw:
|
||||
sgwc:
|
||||
gtpc:
|
||||
addr: SGW_IP
|
||||
addr: SGWC_IP
|
||||
|
||||
pgw:
|
||||
smf:
|
||||
gtpc:
|
||||
addr: PGW_IP
|
||||
- addr:
|
||||
- SMF_IP
|
||||
- ::1
|
||||
|
@@ -37,8 +37,8 @@ sed -i 's|MCC|'$MCC'|g' install/etc/open5gs/mme.yaml
|
||||
sed -i 's|MME_IP|'$IP_ADDR'|g' install/etc/open5gs/mme.yaml
|
||||
sed -i 's|MME_IF|'$IF_NAME'|g' install/etc/open5gs/mme.yaml
|
||||
sed -i 's|HSS_IP|'$HSS_IP'|g' install/etc/open5gs/mme.yaml
|
||||
sed -i 's|SGW_IP|'$SGW_IP'|g' install/etc/open5gs/mme.yaml
|
||||
sed -i 's|PGW_IP|'$PGW_IP'|g' install/etc/open5gs/mme.yaml
|
||||
sed -i 's|SGWC_IP|'$SGWC_IP'|g' install/etc/open5gs/mme.yaml
|
||||
sed -i 's|SMF_IP|'$SMF_IP'|g' install/etc/open5gs/mme.yaml
|
||||
sed -i 's|EPC_DOMAIN|'$EPC_DOMAIN'|g' install/etc/open5gs/mme.yaml
|
||||
|
||||
# Sync docker time
|
||||
|
@@ -24,8 +24,8 @@ pcrf:
|
||||
- module: /open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_dcca.fdx
|
||||
- module: /open5gs/install/lib/x86_64-linux-gnu/freeDiameter/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: pgw.EPC_DOMAIN
|
||||
addr: PGW_IP
|
||||
- identity: smf.EPC_DOMAIN
|
||||
addr: SMF_IP
|
||||
port: 3868
|
||||
- identity: pcscf.IMS_DOMAIN
|
||||
addr: PCSCF_IP
|
||||
|
@@ -35,7 +35,7 @@ export DB_URI="mongodb://${MONGO_IP}/open5gs"
|
||||
cp /mnt/pcrf/pcrf.yaml install/etc/open5gs
|
||||
sed -i 's|MONGO_IP|'$MONGO_IP'|g' install/etc/open5gs/pcrf.yaml
|
||||
sed -i 's|PCRF_IP|'$IP_ADDR'|g' install/etc/open5gs/pcrf.yaml
|
||||
sed -i 's|PGW_IP|'$PGW_IP'|g' install/etc/open5gs/pcrf.yaml
|
||||
sed -i 's|SMF_IP|'$SMF_IP'|g' install/etc/open5gs/pcrf.yaml
|
||||
sed -i 's|EPC_DOMAIN|'$EPC_DOMAIN'|g' install/etc/open5gs/pcrf.yaml
|
||||
sed -i 's|IMS_DOMAIN|'$IMS_DOMAIN'|g' install/etc/open5gs/pcrf.yaml
|
||||
sed -i 's|PCSCF_IP|'$PCSCF_IP'|g' install/etc/open5gs/pcrf.yaml
|
||||
|
@@ -77,4 +77,4 @@ sed -i 's|RTPENGINE_IP|'$RTPENGINE_IP'|g' /etc/kamailio_pcscf/kamailio_pcscf.cfg
|
||||
#ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
# Add static route to route traffic back to UE as there is not NATing
|
||||
ip r add 192.168.101.0/24 via ${PGW_IP}
|
||||
ip r add 192.168.101.0/24 via ${UPF_IP}
|
||||
|
@@ -85,7 +85,7 @@ ip6tables -I rtpengine -p udp -j RTPENGINE --id "$TABLE"
|
||||
ip6tables-save > /etc/ip6tables.rules
|
||||
|
||||
# Add static route to route traffic back to UE as there is not NATing
|
||||
ip r add 192.168.101.0/24 via ${PGW_IP}
|
||||
ip r add 192.168.101.0/24 via ${UPF_IP}
|
||||
|
||||
set -x
|
||||
|
||||
|
Reference in New Issue
Block a user