Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 17 additions & 13 deletions onramp/blueprints.rst
Original file line number Diff line number Diff line change
Expand Up @@ -852,16 +852,18 @@ To deploy the srsRAN blueprint in simulation mode, run the following:
Multihop gNBs
~~~~~~~~~~~~~~~~~~~~~~

By default OnRamp uses isolated networks for the N3(i.e., 192.168.252.x) and
N6(i.e., 192.168.250.x) interfaces. This prevents gNB, which is on different
subnet and located multiple hops away, connecting to the UPF on N3 interface.
By default OnRamp uses isolated networks for the N3 (e.g.,
192.168.252.x) and N6 (e.g., 192.168.250.x) interfaces. This prevents
gNBs on different subnets or located multiple hops away from
connecting to the UPF on the N3 interface.

In order to support such deployment OnRamp provides an option to configure
N3 IP from the same subnet as DATA_IFACE. It can be enabled by setting
``core.upf.multihop_gnb: true``
In order to support such deployments, OnRamp provides an option to
configure N3 from the same subnet as ``core.data_iface``. It can be
enabled by setting setting ``core.upf.multihop_gnb`` to ``true``.

For example, let's say the DATA_IFACE subnet is 10.21.61.0/24 and gNB subnet
is 10.202.1.0/24. Configure the parameters as follows,
For example, suppose ``core.data_iface`` corresponds to subnet
10.21.61.0/24 and the gNB is on subnet 10.202.1.0/24. Configure the
parameters as follows:

.. code-block::

Expand All @@ -873,14 +875,16 @@ is 10.202.1.0/24. Configure the parameters as follows,
multihop_gnb: true
default_upf:
ip:
access: "10.21.61.12" # when multihop_gnb set to true, make sure to assign IP from same subnet of data_iface
access: "10.21.61.12" # same subnet as data_iface when multihop_gnb is true
core: "192.168.250.3"
ue_ip_pool: "172.250.0.0/16"

In case we need to connect multiple gNBs (gNB2 subnet: 10.203.1.0/24)
from different subnet then add routes as follows
in ``deps/5gc/roles/core/templates/sdcore-5g-values.yaml`` ``(if core.upf.mode: af_packet)``, or
in ``deps/5gc/roles/core/templates/sdcore-5g-sriov-values.yaml`` ``(if core.upf.mode: dpdk)``:
To connect multiple gNBs on different subnets, you must modify
``deps/5gc/roles/core/templates/sdcore-5g-values.yaml`` (if
``core.upf.mode: af_packet``) or
``deps/5gc/roles/core/templates/sdcore-5g-sriov-values.yaml`` (if
``core.upf.mode: dpdk``) to add the necessary routes. For example, if
a second gNB is on 10.203.1.0/24, then add the route as follows:

.. code-block::

Expand Down