@@ -849,42 +849,41 @@ To deploy the srsRAN blueprint in simulation mode, run the following:
849
849
$ make srsran-gnb-install
850
850
$ make srsran-uesim-start
851
851
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
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
859
854
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.
863
861
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:
867
867
868
868
.. code-block ::
869
869
870
870
data_iface: ens18
871
871
ran_subnet: "10.202.1.0/24"
872
872
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
876
876
default_upf:
877
877
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
879
879
core: "192.168.250.3"
880
880
ue_ip_pool: "192.168.100.0/24"
881
881
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:
888
887
889
888
.. code-block ::
890
889
0 commit comments