travelping / upg-vpp

User Plane Gateway (UPG) based on VPP
Apache License 2.0
148 stars 51 forks source link

integrate oai 5g amf smf with travel ping UPF #350

Closed zhangna112 closed 1 year ago

zhangna112 commented 1 year ago

I tried to combine upg-vpp deployed with docker with oai 5g amf smf. After Session creation,gtp-u uplink unable to forward correctly.

Could you please provide your inputs on this? I have attached date pcap,upf commands output and data path logs,docker-compose.yml,docker build file fail. log.zip

Thanks.

zhangna112 commented 1 year ago

I have resolved this problem. Because I have no nat for UE IP,192.168.16.151 is N6 IP.

iptables -t nat -A POSTROUTING -s -j MASQUERADE

ip route add via 192.168.16.151 dev enp0s9

Note. Set according to the core network. ex) 10.45.0.0/16