Skip to content

Commit 9669d59

Browse files
authored
Merge pull request #47 from opennetworkinglab/maintenance
override default N3
2 parents 2263291 + 737cb7a commit 9669d59

File tree

2 files changed

+23
-24
lines changed

2 files changed

+23
-24
lines changed

onramp/blueprints.rst

+22-23
Original file line numberDiff line numberDiff line change
@@ -849,42 +849,41 @@ 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 (e.g.,
856-
192.168.252.x) and N6 (e.g., 192.168.250.x) interfaces. This prevents
857-
gNBs on different subnets or located multiple hops away from
858-
connecting to the UPF on the N3 interface.
852+
Override Default N3 Subnet
853+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
859854

860-
In order to support such deployments, OnRamp provides an option to
861-
configure N3 from the same subnet as ``core.data_iface``. It can be
862-
enabled by setting setting ``core.upf.multihop_gnb`` to ``true``.
855+
By default, OnRamp manages an isolated subnet (``192.168.252.0/24``)
856+
for the N3 interface. This prevents attaching gNBs on multiple subnets
857+
and/or on subnets that are multiple hops away. This section describes
858+
how to override this setting. It is not technically a self-contained
859+
blueprint, but rather, a configuration option that can be applied to
860+
any of the blueprints defined in this section.
863861

864-
For example, suppose ``core.data_iface`` corresponds to subnet
865-
10.21.61.0/24 and the gNB is on subnet 10.202.1.0/24. Configure the
866-
parameters as follows:
862+
The override requires setting variable ``core.upf.multihop_gnb`` to
863+
``true``. This causes OnRamp to configure the UPF's N3 interface from
864+
the same subnet as ``core.data_iface``. For example, suppose
865+
``core.data_iface`` corresponds to subnet 10.21.61.0/24 and the gNB is
866+
on subnet 10.202.1.0/24. Configure the parameters as follows:
867867

868868
.. code-block::
869869
870870
data_iface: ens18
871871
ran_subnet: "10.202.1.0/24"
872872
upf:
873-
access_subnet: "10.21.61.1/24" # access subnet & gateway
874-
core_subnet: "192.168.250.1/24" # core subnet & gateway
875-
multihop_gnb: true
873+
access_subnet: "10.21.61.1/24" # access subnet & gateway
874+
core_subnet: "192.168.250.1/24" # core subnet & gateway
875+
multihop_gnb: true # N3 directly reachable via data_iface
876876
default_upf:
877877
ip:
878-
access: "10.21.61.12" # same subnet as data_iface when multihop_gnb is true
878+
access: "10.21.61.12" # same subnet as data_iface when multihop_gnb=true
879879
core: "192.168.250.3"
880880
ue_ip_pool: "192.168.100.0/24"
881881
882-
To connect multiple gNBs on different subnets, you must modify
883-
``deps/5gc/roles/core/templates/sdcore-5g-values.yaml`` (if
884-
``core.upf.mode: af_packet``) or
885-
``deps/5gc/roles/core/templates/sdcore-5g-sriov-values.yaml`` (if
886-
``core.upf.mode: dpdk``) to add the necessary routes. For example, if
887-
a second gNB is on 10.203.1.0/24, then add the route as follows:
882+
To connect multiple gNBs on different subnets, you must also modify
883+
the specified values file (e.g.,
884+
``deps/5gc/roles/core/templates/sdcore-5g-values.yaml``) to add the
885+
necessary routes. For example, if a second gNB is on 10.203.1.0/24,
886+
then add the route as follows:
888887

889888
.. code-block::
890889

onramp/ref.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ the list is not comprehensive.
106106
- Socket mode for `core.data_iface`; set to `dpdk` to enable DPDK and SR-IOV optimizations.
107107
* - `core.upf.multihop_gnb`
108108
- `false`
109-
- Routing from `core.data_iface`; set to `true` when external gNB is multiple hops away.
109+
- Override default N3 interface; set to `true` when external gNB is multiple hops away.
110110
* - `gnbsim.data_iface`
111111
- `ens18`
112112
- Network interface used by gNBsim; same as `core.data_iface` when co-located on a single server.

0 commit comments

Comments
 (0)