diff --git a/configs/open5gs/smf.yaml.in b/configs/open5gs/smf.yaml.in index 8048bdf47..25f9f8acf 100644 --- a/configs/open5gs/smf.yaml.in +++ b/configs/open5gs/smf.yaml.in @@ -100,7 +100,7 @@ logger: # - addr: cafe:1::1/64 # # -# o Specific APN(e.g 'volte') uses 10.46.0.1/16, cafe:2::1/64 +# o Specific APN(e.g 'ims') uses 10.46.0.1/16, cafe:2::1/64 # All other APNs use 10.45.0.1/16, cafe:1::1/64 # $ sudo ip addr add 10.45.0.1/16 dev ogstun # $ sudo ip addr add 10.46.0.1/16 dev ogstun @@ -111,9 +111,9 @@ logger: # - addr: 10.45.0.1/16 # - addr: cafe:1::1/64 # - addr: 10.46.0.1/16 -# apn: volte +# apn: ims # - addr: cafe:2::1/64 -# apn: volte +# apn: ims # # o Multiple Devices (default: ogstun) # $ sudo ip addr add 10.45.0.1/16 dev ogstun @@ -126,10 +126,10 @@ logger: # - addr: cafe:1::1/64 # dev: ogstun2 # - addr: 10.46.0.1/16 -# apn: volte +# apn: ims # dev: ogstun3 # - addr: cafe:2::1/64 -# apn: volte +# apn: ims # dev: ogstun3 # # o Pool Range Sample diff --git a/configs/open5gs/upf.yaml.in b/configs/open5gs/upf.yaml.in index e78b9a986..1007d3859 100644 --- a/configs/open5gs/upf.yaml.in +++ b/configs/open5gs/upf.yaml.in @@ -74,7 +74,7 @@ logger: # - addr: cafe:1::1/64 # # -# o Specific APN(e.g 'volte') uses 10.46.0.1/16, cafe:2::1/64 +# o Specific APN(e.g 'ims') uses 10.46.0.1/16, cafe:2::1/64 # All other APNs use 10.45.0.1/16, cafe:1::1/64 # $ sudo ip addr add 10.45.0.1/16 dev ogstun # $ sudo ip addr add 10.46.0.1/16 dev ogstun @@ -85,9 +85,9 @@ logger: # - addr: 10.45.0.1/16 # - addr: cafe:1::1/64 # - addr: 10.46.0.1/16 -# apn: volte +# apn: ims # - addr: cafe:2::1/64 -# apn: volte +# apn: ims # # o Multiple Devices (default: ogstun) # $ sudo ip addr add 10.45.0.1/16 dev ogstun @@ -100,10 +100,10 @@ logger: # - addr: cafe:1::1/64 # dev: ogstun2 # - addr: 10.46.0.1/16 -# apn: volte +# apn: ims # dev: ogstun3 # - addr: cafe:2::1/64 -# apn: volte +# apn: ims # dev: ogstun3 # # o Pool Range Sample diff --git a/docs/_docs/guide/01-quickstart.md b/docs/_docs/guide/01-quickstart.md index 5609afc07..a9bd0c7be 100644 --- a/docs/_docs/guide/01-quickstart.md +++ b/docs/_docs/guide/01-quickstart.md @@ -76,7 +76,7 @@ $ sudo zypper install open5gs ### Configure Open5GS --- -##### 5G Core(5GC) +##### 5G Core Modify [install/etc/open5gs/amf.yaml](https://github.com/{{ site.github_username }}/open5gs/blob/master/configs/open5gs/amf.yaml.in) to set the NGAP IP address, PLMN ID, TAC and NSSAI. @@ -135,7 +135,7 @@ $ diff -u /etc/open5gs/upf.yaml.old /etc/open5gs/upf.yaml - addr: 10.45.0.1/16 - addr: cafe::1/64 ``` -##### 4G/EPC +##### 4G EPC Modify [install/etc/open5gs/mme.yaml](https://github.com/{{ site.github_username }}/open5gs/blob/master/configs/open5gs/mme.yaml.in) to set the S1AP IP address, PLMN ID, and TAC. diff --git a/docs/_docs/guide/02-building-open5gs-from-sources.md b/docs/_docs/guide/02-building-open5gs-from-sources.md index c0920d39d..e705f2490 100644 --- a/docs/_docs/guide/02-building-open5gs-from-sources.md +++ b/docs/_docs/guide/02-building-open5gs-from-sources.md @@ -87,7 +87,7 @@ $ cd ../ ### Configure Open5GS --- -##### 5G Core(5GC) +##### 5G Core Modify [install/etc/open5gs/amf.yaml](https://github.com/{{ site.github_username }}/open5gs/blob/master/configs/open5gs/amf.yaml.in) to set the NGAP IP address, PLMN ID, TAC and NSSAI. @@ -146,7 +146,7 @@ $ diff -u /etc/open5gs/upf.yaml.old /etc/open5gs/upf.yaml - addr: 10.45.0.1/16 - addr: cafe::1/64 ``` -##### 4G/EPC +##### 4G EPC Modify [install/etc/open5gs/mme.yaml](https://github.com/{{ site.github_username }}/open5gs/blob/master/configs/open5gs/mme.yaml.in) to set the S1AP IP address, PLMN ID, and TAC. diff --git a/docs/_docs/troubleshoot/02-now-in-github-issues.md b/docs/_docs/troubleshoot/02-now-in-github-issues.md index 290cc8def..bc4541e5c 100644 --- a/docs/_docs/troubleshoot/02-now-in-github-issues.md +++ b/docs/_docs/troubleshoot/02-now-in-github-issues.md @@ -3,6 +3,66 @@ title: Now in the Github Issue head_inline: "" --- +#### How to change UE IP Pool + +The Open5GS package contains a systemd-networkd configuration file for `ogstun`. Therefore, you must first modify the configuration file as follows. + +```diff +$ diff -u /etc/systemd/network/99-open5gs.network /etc/systemd/network/99-open5gs.network.new +--- /etc/systemd/network/99-open5gs.network 2020-09-17 09:29:09.137392040 -0400 ++++ /etc/systemd/network/99-open5gs.network.new 2020-09-17 09:29:03.375719620 -0400 +@@ -2,5 +2,5 @@ + Name=ogstun + + [Network] +-Address=10.45.0.1/16 ++Address=10.46.0.1/16 + Address=cafe::1/64 +``` + +Restart systemd-networkd +``` +$ sudo systemctl restart systemd-networkd +``` + +Now, you need to modify the configuration file of Open5GS to adjust the UE IP Pool. UE IP Pool can be allocated by SMF or UPF, but in this tutorial, we will modify both configuration files. + +```diff +$ diff -u smf.yaml smf.yaml.new +--- smf.yaml 2020-09-17 09:31:16.547882093 -0400 ++++ smf.yaml.new 2020-09-17 09:32:18.267726844 -0400 +@@ -190,7 +190,7 @@ + - addr: 127.0.0.4 + - addr: ::1 + pdn: +- - addr: 10.45.0.1/16 ++ - addr: 10.46.0.1/16 + - addr: cafe::1/64 + dns: + - 8.8.8.8 +``` + +```diff +$ diff -u upf.yaml upf.yaml.new +--- upf.yaml 2020-09-17 09:31:16.547882093 -0400 ++++ upf.yaml.new 2020-09-17 09:32:25.199619989 -0400 +@@ -139,7 +139,7 @@ + gtpu: + - addr: 127.0.0.7 + pdn: +- - addr: 10.45.0.1/16 ++ - addr: 10.46.0.1/16 + - addr: cafe::1/64 + + # +``` + +Restart SMF/UPF +``` +$ sudo systemctl restart open5gs-smfd.service +$ sudo systemctl restart open5gs-upfd.service +``` + #### Wireshark cannot decode NAS-5GS By default, wireshark cannot decode NAS-5GS message when the security header type is "Integrity protected and ciphered".