Skip to content

Commit 03436cd

Browse files
Add documentation for Multihop GNB's deployment
Signed-off-by: Marikkannu, Suresh <[email protected]>
1 parent cc90a05 commit 03436cd

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed

dict.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ GiB
2525
GigE
2626
GitOps
2727
Github
28+
GNB
2829
Grafana
2930
Haswell
3031
IPMI
@@ -47,6 +48,7 @@ Mbps
4748
Microservices
4849
Mininet
4950
Moto
51+
Multihop
5052
Multipass
5153
NAV
5254
Netbox
@@ -322,6 +324,7 @@ upf
322324
uplink
323325
uptime
324326
url
327+
usecase
325328
vfio
326329
virtualenv
327330
vpn

index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
onramp/roc
2525
onramp/devel
2626
onramp/blueprints
27+
onramp/deployments
2728

2829
.. toctree::
2930
:maxdepth: 3

onramp/deployments.rst

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
Deployment usecase's
2+
-----------------------
3+
4+
This section documents various onramp deployment usecase's.
5+
6+
Multihop GNB
7+
~~~~~~~~~~~~~~~~~~~~~~
8+
9+
By default onramp uses isolated networks for the N3(ex: 192.168.252.x) and
10+
N6(ex: 192.168.250.x) interfaces. This prevents GNB(which is on different
11+
subnet and located multiple hops away) connecting to the UPF on N3 interface.
12+
13+
In order to support such deployment onramp provides an option to configure
14+
N3 IP from the same subnet as DATA_IFACE. It can be enabled by setting
15+
``core.upf.multihop_gnb: true``
16+
17+
For ex, lets say the DATA_IFACE subnet is 10.21.61.0/24 and GNB subnet
18+
is 10.202.1.0/24. Configure the parameters as follows,
19+
20+
.. code-block::
21+
22+
data_iface: ens18
23+
ran_subnet: "10.202.1.0/24"
24+
upf:
25+
access_subnet: "10.21.61.1/24" # access subnet & gateway
26+
core_subnet: "192.168.250.1/24" # core subnet & gateway
27+
multihop_gnb: true
28+
default_upf:
29+
ip:
30+
access: "10.21.61.12" # when multihop_gnb set to true, make sure to assign IP from same subnet of data_iface
31+
core: "192.168.250.3"
32+
ue_ip_pool: "172.250.0.0/16"
33+
34+
In case if we need to connect multiple GNB's (GNB2 subnet: 10.203.1.0/24)
35+
from different subnet then add routes as follows
36+
in ``deps/5gc/roles/core/templates/sdcore-5g-values.yaml`` ``(if core.upf.mode: af_packet)``:
37+
in ``deps/5gc/roles/core/templates/sdcore-5g-sriov-values.yaml`` ``(if core.upf.mode: dpdk)``:
38+
39+
.. code-block::
40+
41+
config:
42+
upf:
43+
routes:
44+
- to: {{ ansible_default_ipv4.address }}
45+
via: 169.254.1.1
46+
- to: 10.203.1.0/24
47+
via: 10.203.1.1
48+

0 commit comments

Comments
 (0)