Hello
I’m so sorry for delay, lot of work!
Here are my configuration files for SMF and UPFs:
smf.txt (3.4 KB) upf1.txt (465 Bytes) upf2.txt (465 Bytes) upfb.txt (492 Bytes)
Note that in my environment each network function is running inside a container orchestrated by Kubernetes and:
- SMF has 2 interfaces (one for communication with control plane entities and one N4 interface 10.100.50.244).
- UPFb has 3 used interfaces (n4 10.100.50.241, n3 10.100.50.233 and n9 10.100.50.225).
- UPF1 has 3 used interfaces (n4 10.100.50.242, n9 10.100.50.226 and n6 10.100.100.13).
- UPF2 has 3 used interfaces (n4 10.100.50.243, n9 10.100.50.227 and n6 10.100.100.14).
So you might have to change the config according to your environment.
To conclude, we have these networks: - n4 network: 10.100.50.240/29
- n3 network: 10.100.50.232/29
- n9 network: 10.100.50.224/29
- n6 network: 10.100.100.0/24
In UPFb you have to set this NAT rules:
iptables -t nat -A POSTROUTING -o n9 -j MASQUERADE
iptables -t nat -A POSTROUTING -o n3 -j MASQUERADE
Hope this will help you.
And for this comment this is not me ![]()