free5GC Distributed Installation Guide
Network Topology
Install free5GC
About MongoDB
- MongoDB MUST be installed on the HSS machine in distributed installation and make sure all entities are accessing to the that database.
- Please add UE infomation to webUI on the HSS machine.
- Please modify the MongoDB address (at the first line of
free5gc.conf
config file) for every entity.
Install AMF, SMF, HSS, PCRF
Please follow steps in Part A under Installation from free5GC Installation on KVM.
Install UPF
Please follow steps in Part A and Part B under Installation from free5GC Installation on KVM.
Execution Order
Please run UPF daemon before running SMF daemon.
Setup AMF
Modify ./install/etc/free5gc/free5gc.conf
-
AMF s1ap address
amf: s1ap: addr: 192.188.2.2
-
GUMMEI
amf: gummei: plmn_id: mcc: 208 mnc: 93 mme_gid: 1 mme_code: 1
-
TAI
amf: tai: plmn_id: mcc: 208 mnc: 93 tac: 1
-
SMF SBI
smf: http: addr: 192.188.2.4 port: 8080
In diameter configuration file ./install/etc/free5gc/freediameter/amf.conf
- Diameter listen address
ListenOn = "192.188.2.2";
- HSS Diameter address in
./install/etc/free5gc/freediameter/amf.conf
ConnectPeer = "hss.localdomain" { ConnectTo = "192.188.2.3"; No_TLS; };
Run ./free5gc-amfd
to start the AMF deamon.
Setup HSS
In diameter configuration file ./install/etc/free5gc/freediameter/hss.conf
- Diameter listen address
ListenOn = "192.188.2.3";
- AMF diameter address
ConnectPeer = "amf.localdomain" { ConnectTo = "192.188.2.2"; No_TLS; };
Run ./nextepc-hssd
to start the HSS deamon.
Setup UPF
Modify ./install/etc/free5gc/free5gc.conf
-
PFCP
upf: pfcp: addr: 192.188.2.6
-
GTP-U
upf: gtpu: - addr: 192.188.2.6
Run ./free5gc-upfd
to start the UPF deamon.
Setup SMF
Modify ./install/etc/free5gc/free5gc.conf
- PFCP
smf: pfcp: - addr: 192.188.2.4
- UPF
smf: upf: - addr: 192.188.2.6
- SMF SBI
smf: http: addr: 192.188.2.4 port: 8080
In diameter configuration file ./install/etc/free5gc/freediameter/smf.conf
- Diameter listen address
ListenOn = "192.188.2.4";
- PCRF Diameter address in
./install/etc/free5gc/freediameter/smf.conf
ConnectPeer = "pcrf.localdomain" { ConnectTo = "192.188.2.5"; No_TLS; };
Run ./free5gc-smfd
to start the SMF daemon.
Setup PCRF
In diameter configuration file ./install/etc/free5gc/freediameter/pcrf.conf
- Diameter listen address
ListenOn = "192.188.2.5";
- SMF Diameter address
ConnectPeer = "smf.localdomain" { ConnectTo = "192.188.2.4"; No_TLS; };