@@ -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