edgecomllc / eupf

5G User Plane Function (UPF) based on eBPF
Apache License 2.0
100 stars 20 forks source link

Verify ULCL scenario in K8s #456

Closed pirog-spb closed 10 months ago

pirog-spb commented 11 months ago

Use eUPF version with SDF support to demonstrate ULCL scenario (Local breakout) using example deployment in k8s.

Acceptance criteria:

PapaySail commented 11 months ago

According to #401 used image name: eupf tag: main According to #434 SDF filter matching method added

📝 Known bug: we need to open eupf shell and start pinging both upf1 and upf2:

  ping 10.100.50.226 -i 9 &
  ping 10.100.50.227 -i 9 &

✔ OK. There is alternative route for 1.1.1.1 from UE, at first hop.

root@ueransim-ue-7f76db59c9-4cgnx:/ueransim/build# traceroute -ni uesimtun0 1.1.1.1
traceroute to 1.1.1.1 (1.1.1.1), 30 hops max, 60 byte packets
 1  10.233.64.63  1.570 ms  1.440 ms  1.448 ms
 2  188.120.232.247  1.405 ms  1.272 ms  1.209 ms
 3  10.0.0.1  2.701 ms  2.705 ms  2.693 ms
 4  172.31.141.1  2.835 ms  2.931 ms  3.326 ms
 5  172.17.22.104  2.752 ms  2.770 ms 172.17.23.111  2.800 ms
 6  80.64.102.134  4.226 ms  2.720 ms 80.239.193.150  1.521 ms
 7  80.239.193.241  2.561 ms 80.64.97.75  3.561 ms  3.574 ms
 8  80.64.97.74  3.508 ms  3.074 ms  2.996 ms
 9  80.64.96.121  8.279 ms  7.205 ms  8.148 ms
10  1.1.1.1  2.376 ms 80.64.103.191  7.719 ms 1.1.1.1  2.337 ms
root@ueransim-ue-7f76db59c9-4cgnx:/ueransim/build#
root@ueransim-ue-7f76db59c9-4cgnx:/ueransim/build# traceroute -ni uesimtun0 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
 1  10.233.64.14  1.514 ms  1.502 ms  2.269 ms
 2  188.120.232.247  2.279 ms  2.271 ms  2.236 ms
 3  10.0.0.1  2.227 ms  2.230 ms  2.222 ms
 4  172.31.141.1  2.718 ms  2.712 ms  3.402 ms
 5  172.17.22.104  2.543 ms  2.545 ms 172.17.23.111  2.644 ms
 6  195.208.208.232  3.944 ms  3.109 ms  3.156 ms
 7  108.170.250.146  5.509 ms 108.170.250.130  3.329 ms 108.170.250.34  3.522 ms
 8  72.14.234.54  27.645 ms 142.251.237.154  39.215 ms 209.85.249.158  24.606 ms
 9  142.251.238.66  17.747 ms 216.239.57.222  29.578 ms 142.251.238.72  17.673 ms
10  209.85.251.41  16.584 ms 172.253.51.219  17.458 ms 216.239.49.113  26.075 ms
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  8.8.8.8  23.965 ms  22.865 ms  23.506 ms

eUPF Image: ghcr.io/edgecomllc/eupf:main Image ID: ghcr.io/edgecomllc/eupf@sha256:1f1bb4f455df0f38556c6edc9a53b3442ec528a473585e47c394d30c24d815b1