Skip to content

Commit f8fb44a

Browse files
committed
Change from old route command to iproute2 command
Signed-off-by: Marcus Hufvudsson <[email protected]>
1 parent 95dee24 commit f8fb44a

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

onramp/network.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,8 @@ successful:
109109

110110
.. code-block::
111111
112-
$ route -n | grep "Iface\|access"
113-
Destination Gateway Genmask Flags Metric Ref Use Iface
114-
192.168.252.0 0.0.0.0 255.255.255.0 U 0 0 0 access
112+
$ ip ro|grep "dev access"
113+
192.168.252.0/24 dev access proto kernel scope link src 192.168.252.1
115114
116115
Within the UPF, the correct behavior is to forward packets between the
117116
``access`` and ``core`` interfaces. Upstream packets arriving on the
@@ -142,10 +141,9 @@ rules on the server:
142141

143142
.. code-block::
144143
145-
$ route -n | grep "Iface\|core"
146-
Destination Gateway Genmask Flags Metric Ref Use Iface
147-
192.168.100.0 192.168.250.3 255.255.0.0 UG 0 0 0 core
148-
192.168.250.0 0.0.0.0 255.255.255.0 U 0 0 0 core
144+
$ ip ro |grep "dev core"
145+
192.168.100.0/24 via 192.168.250.3 dev core proto static
146+
192.168.250.0/24 dev core proto kernel scope link src 192.168.250.1
149147
150148
The first rule above matches packets to the UEs on the
151149
``192.168.100.0/24`` subnet. The next hop for these packets is the

0 commit comments

Comments
 (0)