Difference between revisions of "Open5gs: Konfigurasi Awal"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 6: | Line 6: | ||
Modifikasi /etc/open5gs/amf.yaml untuk set NGAP IP address, PLMN ID, TAC dan NSSAI. | Modifikasi /etc/open5gs/amf.yaml untuk set NGAP IP address, PLMN ID, TAC dan NSSAI. | ||
− | + | cd /usr/local/src/open5gs/install/etc/open5gs | |
− | vi | + | cp amf.yaml amf.yaml.old |
+ | vi amf.yaml | ||
Pastikan | Pastikan | ||
− | + | amf: | |
− | + | sbi: | |
− | |||
− | |||
- addr: 127.0.0.5 | - addr: 127.0.0.5 | ||
port: 7777 | port: 7777 | ||
ngap: | ngap: | ||
− | + | # - addr: 127.0.0.5 | |
− | + | - addr: 10.10.0.5 | |
metrics: | metrics: | ||
− | + | - addr: 127.0.0.5 | |
port: 9090 | port: 9090 | ||
guami: | guami: | ||
- plmn_id: | - plmn_id: | ||
− | + | # mcc: 999 | |
− | + | # mnc: 70 | |
− | + | mcc: 001 | |
− | + | mnc: 01 | |
amf_id: | amf_id: | ||
region: 2 | region: 2 | ||
Line 34: | Line 33: | ||
tai: | tai: | ||
- plmn_id: | - plmn_id: | ||
− | + | # mcc: 999 | |
− | + | # mnc: 70 | |
− | + | mcc: 001 | |
− | + | mnc: 01 | |
− | tac: 1 | + | tac: 1 |
− | + | plmn_support: | |
− | + | - plmn_id: | |
− | + | # mcc: 999 | |
− | + | # mnc: 70 | |
− | + | mcc: 001 | |
− | + | mnc: 01 | |
− | + | s_nssai: | |
− | + | - sst: 1 | |
− | + | security: | |
− | Modify install/etc/open5gs/upf.yaml | + | integrity_order : [ NIA2, NIA1, NIA0 ] |
+ | ciphering_order : [ NEA0, NEA1, NEA2 ] | ||
+ | network_name: | ||
+ | full: Open5GS | ||
+ | amf_name: open5gs-amf0 | ||
+ | |||
+ | Modify install/etc/open5gs/upf.yaml untuk set GTP-U dan PFCP IP address. | ||
+ | |||
+ | cd /usr/local/src/open5gs/install/etc/open5gs | ||
+ | cp upf.yaml upf.yaml.old | ||
+ | vi upf.yaml | ||
+ | |||
+ | Pastikan | ||
− | + | upf: | |
− | |||
− | |||
− | |||
pfcp: | pfcp: | ||
- addr: 127.0.0.7 | - addr: 127.0.0.7 | ||
gtpu: | gtpu: | ||
− | + | # - addr: 127.0.0.7 | |
− | + | - addr: 10.11.0.7 | |
subnet: | subnet: | ||
- addr: 10.45.0.1/16 | - addr: 10.45.0.1/16 | ||
- addr: 2001:db8:cafe::1/48 | - addr: 2001:db8:cafe::1/48 | ||
+ | metrics: | ||
+ | - addr: 127.0.0.7 | ||
+ | port: 9090 | ||
− | 4G EPC | + | ==4G EPC== |
− | |||
− | + | Modify install/etc/open5gs/mme.yaml untuk set S1AP IP address, PLMN ID, dan TAC. | |
− | + | ||
− | + | cd /usr/local/src/open5gs/install/etc/open5gs | |
− | + | cp mme.yaml mme.yaml.old | |
+ | vi mme.yaml | ||
+ | |||
+ | Pastikan | ||
+ | |||
+ | mme: | ||
+ | freeDiameter: /usr/local/src/open5gs/install/etc/freeDiameter/mme.conf | ||
s1ap: | s1ap: | ||
− | + | # - addr: 127.0.0.2 | |
− | + | - addr: 10.10.0.2 | |
gtpc: | gtpc: | ||
- addr: 127.0.0.2 | - addr: 127.0.0.2 | ||
metrics: | metrics: | ||
− | addr: 127.0.0.2 | + | - addr: 127.0.0.2 |
− | + | port: 9090 | |
gummei: | gummei: | ||
plmn_id: | plmn_id: | ||
− | + | # mcc: 999 | |
− | + | # mnc: 70 | |
− | + | mcc: 001 | |
− | + | mnc: 01 | |
mme_gid: 2 | mme_gid: 2 | ||
mme_code: 1 | mme_code: 1 | ||
tai: | tai: | ||
plmn_id: | plmn_id: | ||
− | + | # mcc: 999 | |
− | + | # mnc: 70 | |
− | + | mcc: 001 | |
− | + | mnc: 01 | |
tac: 1 | tac: 1 | ||
security: | security: | ||
− | |||
− | |||
− | + | ||
− | + | Modify install/etc/open5gs/sgwu.yaml untuk set GTP-U IP address. | |
− | + | ||
− | + | cd /usr/local/src/open5gs/install/etc/open5gs | |
− | + | cp sgwu.yaml sgwu.yaml.old | |
+ | vi sgwu.yaml | ||
+ | |||
+ | Pastikan, | ||
+ | |||
+ | sgwu: | ||
pfcp: | pfcp: | ||
- addr: 127.0.0.6 | - addr: 127.0.0.6 | ||
gtpu: | gtpu: | ||
− | + | # - addr: 127.0.0.6 | |
− | + | - addr: 10.11.0.6 | |
+ | |||
− | + | Restart Open5GS, | |
− | |||
− | |||
Revision as of 10:33, 22 July 2023
Sumber: https://open5gs.org/open5gs/docs/guide/02-building-open5gs-from-sources/
5G Core
Modifikasi /etc/open5gs/amf.yaml untuk set NGAP IP address, PLMN ID, TAC dan NSSAI.
cd /usr/local/src/open5gs/install/etc/open5gs cp amf.yaml amf.yaml.old vi amf.yaml
Pastikan
amf: sbi: - addr: 127.0.0.5 port: 7777 ngap: # - addr: 127.0.0.5 - addr: 10.10.0.5 metrics: - addr: 127.0.0.5 port: 9090 guami: - plmn_id: # mcc: 999 # mnc: 70 mcc: 001 mnc: 01 amf_id: region: 2 set: 1 tai: - plmn_id: # mcc: 999 # mnc: 70 mcc: 001 mnc: 01 tac: 1 plmn_support: - plmn_id: # mcc: 999 # mnc: 70 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
Modify install/etc/open5gs/upf.yaml untuk set GTP-U dan PFCP IP address.
cd /usr/local/src/open5gs/install/etc/open5gs cp upf.yaml upf.yaml.old vi upf.yaml
Pastikan
upf: pfcp: - addr: 127.0.0.7 gtpu: # - addr: 127.0.0.7 - addr: 10.11.0.7 subnet: - addr: 10.45.0.1/16 - addr: 2001:db8:cafe::1/48 metrics: - addr: 127.0.0.7 port: 9090
4G EPC
Modify install/etc/open5gs/mme.yaml untuk set S1AP IP address, PLMN ID, dan TAC.
cd /usr/local/src/open5gs/install/etc/open5gs cp mme.yaml mme.yaml.old vi mme.yaml
Pastikan
mme: freeDiameter: /usr/local/src/open5gs/install/etc/freeDiameter/mme.conf s1ap: # - addr: 127.0.0.2 - addr: 10.10.0.2 gtpc: - addr: 127.0.0.2 metrics: - addr: 127.0.0.2 port: 9090 gummei: plmn_id: # mcc: 999 # mnc: 70 mcc: 001 mnc: 01 mme_gid: 2 mme_code: 1 tai: plmn_id: # mcc: 999 # mnc: 70 mcc: 001 mnc: 01 tac: 1 security:
Modify install/etc/open5gs/sgwu.yaml untuk set GTP-U IP address.
cd /usr/local/src/open5gs/install/etc/open5gs cp sgwu.yaml sgwu.yaml.old vi sgwu.yaml
Pastikan,
sgwu: pfcp: - addr: 127.0.0.6 gtpu: # - addr: 127.0.0.6 - addr: 10.11.0.6
Restart Open5GS,