Skip to content

Commit 9560ed2

Browse files
authored
Merge pull request #42 from sureshmarikkannu/multihop
Add documentation for Multihop GNB's deployment
2 parents cc90a05 + ec09b42 commit 9560ed2

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

dict.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Mbps
4747
Microservices
4848
Mininet
4949
Moto
50+
Multihop
5051
Multipass
5152
NAV
5253
Netbox
@@ -322,6 +323,7 @@ upf
322323
uplink
323324
uptime
324325
url
326+
usecase
325327
vfio
326328
virtualenv
327329
vpn

onramp/blueprints.rst

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,49 @@ To deploy the srsRAN blueprint in simulation mode, run the following:
849849
$ make srsran-gnb-install
850850
$ make srsran-uesim-start
851851
852+
Multihop gNBs
853+
~~~~~~~~~~~~~~~~~~~~~~
854+
855+
By default OnRamp uses isolated networks for the N3(i.e., 192.168.252.x) and
856+
N6(i.e., 192.168.250.x) interfaces. This prevents gNB, which is on different
857+
subnet and located multiple hops away, connecting to the UPF on N3 interface.
858+
859+
In order to support such deployment OnRamp provides an option to configure
860+
N3 IP from the same subnet as DATA_IFACE. It can be enabled by setting
861+
``core.upf.multihop_gnb: true``
862+
863+
For example, let's say the DATA_IFACE subnet is 10.21.61.0/24 and gNB subnet
864+
is 10.202.1.0/24. Configure the parameters as follows,
865+
866+
.. code-block::
867+
868+
data_iface: ens18
869+
ran_subnet: "10.202.1.0/24"
870+
upf:
871+
access_subnet: "10.21.61.1/24" # access subnet & gateway
872+
core_subnet: "192.168.250.1/24" # core subnet & gateway
873+
multihop_gnb: true
874+
default_upf:
875+
ip:
876+
access: "10.21.61.12" # when multihop_gnb set to true, make sure to assign IP from same subnet of data_iface
877+
core: "192.168.250.3"
878+
ue_ip_pool: "172.250.0.0/16"
879+
880+
In case we need to connect multiple gNBs (gNB2 subnet: 10.203.1.0/24)
881+
from different subnet then add routes as follows
882+
in ``deps/5gc/roles/core/templates/sdcore-5g-values.yaml`` ``(if core.upf.mode: af_packet)``, or
883+
in ``deps/5gc/roles/core/templates/sdcore-5g-sriov-values.yaml`` ``(if core.upf.mode: dpdk)``:
884+
885+
.. code-block::
886+
887+
config:
888+
upf:
889+
routes:
890+
- to: {{ ansible_default_ipv4.address }}
891+
via: 169.254.1.1
892+
- to: 10.203.1.0/24
893+
via: 10.203.1.1
894+
852895
Guidelines for Blueprints
853896
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
854897

0 commit comments

Comments
 (0)