-
Notifications
You must be signed in to change notification settings - Fork 52
Two UPFs on same host not working (any more) #19
Comments
Hi @ralfkundel, Your confguration of two UPF looks good. Could you please capture the two UPF run log with "trace". |
Hi, For me, there is no error detectable. Note that the following script works: best and thanks, |
Hi Ralf , Thanks for the update, I will let you know once i verified the given log Thanks & Regards, |
Hi Ralf, I verified your work around with UPF source code. In function _gtp_dev_create(), by default the dest_ns is -1, and it may cause your problem. Because, both interface referenced same namespace which results forwarded the packets to one interface as you mentioned.
It can be fixed by passing the dest_ns (for the flag IFLA_NET_NS_FD) value in function Gtp5gDeviceAdd(), This fix required to modify the config of UPF YAML as well parse it. |
If you want to run 2 UPFs on the same machine, you need to create new network namespace. |
Hi,
best and thanks |
Hi,
I'm running two UPFs on the same host listening on the same interface (but on different IPs).
Unfortunately only the UPF started second will receive GTP packets. I assume the second UPF is kicking out the first UPF. I already tried the newest version of upf from the main branch together with the newest kernel module (v0.3.1).
Can someone confirm this bug?
I started them as follows:
upfcfg_ims_ralf.yaml.txt
upfcfg_ralf.yaml.txt
The text was updated successfully, but these errors were encountered: