Skip to content

Commit 2263291

Browse files
authored
Merge pull request #46 from opennetworkinglab/maintenance
updated ue_ip_pool subnet
2 parents c2ea390 + e92a3ac commit 2263291

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

onramp/blueprints.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ of ``vars/main.yml``:
130130
ip:
131131
access: "192.168.252.3"
132132
core: "192.168.250.3"
133-
ue_ip_pool: "172.250.0.0/16"
133+
ue_ip_pool: "192.168.100.0/24"
134134
additional_upfs:
135135
"1":
136136
ip:
@@ -877,7 +877,7 @@ parameters as follows:
877877
ip:
878878
access: "10.21.61.12" # same subnet as data_iface when multihop_gnb is true
879879
core: "192.168.250.3"
880-
ue_ip_pool: "172.250.0.0/16"
880+
ue_ip_pool: "192.168.100.0/24"
881881
882882
To connect multiple gNBs on different subnets, you must modify
883883
``deps/5gc/roles/core/templates/sdcore-5g-values.yaml`` (if

onramp/figures/Slide24.png

2.1 KB
Loading

onramp/gnb.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ using.
8888
ip:
8989
access: "192.168.252.3/24"
9090
core: "192.168.250.3/24"
91-
ue_ip_pool: "172.250.0.0/16"
91+
ue_ip_pool: "192.168.100.0/24"
9292
amf:
9393
ip: "10.76.28.113"
9494

onramp/network.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ The default route via ``192.168.250.1`` directs upstream packets to
134134
the Internet via the ``core`` interface, with a next hop of the
135135
``core`` interface outside the UPF. These packets then undergo source
136136
NAT in the kernel and are sent to the IP destination in the packet.
137-
This means that the ``172.250.0.0/16`` addresses assigned to UEs are
137+
This means that the ``192.168.100.0/24`` addresses assigned to UEs are
138138
not visible beyond the Aether server. The return (downstream) packets
139139
undergo reverse NAT and now have a destination IP address of the UE.
140140
They are forwarded by the kernel to the ``core`` interface by these
@@ -144,11 +144,11 @@ rules on the server:
144144
145145
$ route -n | grep "Iface\|core"
146146
Destination Gateway Genmask Flags Metric Ref Use Iface
147-
172.250.0.0 192.168.250.3 255.255.0.0 UG 0 0 0 core
147+
192.168.100.0 192.168.250.3 255.255.0.0 UG 0 0 0 core
148148
192.168.250.0 0.0.0.0 255.255.255.0 U 0 0 0 core
149149
150150
The first rule above matches packets to the UEs on the
151-
``172.250.0.0/16`` subnet. The next hop for these packets is the
151+
``192.168.100.0/24`` subnet. The next hop for these packets is the
152152
``core`` IP address inside the UPF. The second rule says that next
153153
hop address is reachable on the ``core`` interface outside the UPF.
154154
As a result, the downstream packets arrive in the UPF where they are
@@ -232,7 +232,7 @@ sections, but for a summary, see the :doc:`Quick Reference </onramp/ref>`.
232232
ip:
233233
access: "192.168.252.3/24"
234234
core: "192.168.250.3/24"
235-
ue_ip_pool: "172.250.0.0/16"
235+
ue_ip_pool: "192.168.100.0/24"
236236
amf:
237237
ip: "10.76.28.113"
238238
@@ -263,8 +263,8 @@ example ``ens18`` interface for illustrative purposes:
263263
$ sudo tcpdump -i any sctp -w sctp-test.pcap
264264
$ sudo tcpdump -i ens18 port 2152 -w n3-outside.pcap
265265
$ sudo tcpdump -i access port 2152 -w n3-inside.pcap
266-
$ sudo tcpdump -i core net 172.250.0.0/16 -w n6-inside.pcap
267-
$ sudo tcpdump -i ens18 net 172.250.0.0/16 -w n6-outside.pcap
266+
$ sudo tcpdump -i core net 192.168.100.0/24 -w n6-inside.pcap
267+
$ sudo tcpdump -i ens18 net 192.168.100.0/24 -w n6-outside.pcap
268268
269269
The first trace, saved in file ``sctp.pcap``, captures SCTP packets
270270
sent to establish the control path between the base station and the
@@ -284,7 +284,7 @@ the interface to ``access`` corresponds to "inside" the UPF. Running
284284
Similarly, the fourth and fifth traces, saved in files
285285
``n6-inside.pcap`` and ``n6-outside.pcap``, respectively, capture IP
286286
packets on the Internet side of the UPF (over the **N6** interface).
287-
In these two tests, ``net 172.250.0.0/16`` corresponds to the IP
287+
In these two tests, ``net 192.168.100.0/24`` corresponds to the IP
288288
addresses assigned to UEs by the SMF. Running ``ping`` from a physical
289289
UE will generate the relevant user plane traffic; gNBsim automatically
290290
triggers this activity.

onramp/ref.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ the list is not comprehensive.
104104
* - `core.upf.mode`
105105
- `af_packet`
106106
- Socket mode for `core.data_iface`; set to `dpdk` to enable DPDK and SR-IOV optimizations.
107+
* - `core.upf.multihop_gnb`
108+
- `false`
109+
- Routing from `core.data_iface`; set to `true` when external gNB is multiple hops away.
107110
* - `gnbsim.data_iface`
108111
- `ens18`
109112
- Network interface used by gNBsim; same as `core.data_iface` when co-located on a single server.
@@ -315,7 +318,7 @@ do not need to be modified for an initial deployment of a blueprint.
315318
* - `192.168.252.0/24`
316319
- ``core.upf.access_subnet``
317320
- Assigned to `access` bridge that connects UPF(s) to the RAN.
318-
* - `172.250.0.0/16`
321+
* - `192.168.100.0/24`
319322
- ``core.default_upf.ue_ip_pool``
320323
- Assigned (by the Core) to UEs connecting to Aether. When
321324
multiple UPFs are deployed—in addition to

0 commit comments

Comments
 (0)