{%hackmd ElOJTlJjTg-GQtxooVV5iw %} # UPF VPP with Open5GS Integration ## edit SMF ``` # vim /etc/open5gs/amf.yaml smf: sbi: - addr: 127.0.0.4 port: 7777 pfcp: - addr: ipaddr gtpc: - addr: 127.0.0.4 gtpu: - addr: ipaddr metrics: - addr: 127.0.0.4 port: 9090 subnet: - addr: 10.45.0.1/16 dnn: internet dns: - 8.8.8.8 mtu: 1400 ctf: enabled: auto freeDiameter: /etc/freeDiameter/smf.conf upf: pfcp: - addr: 10.88.150.94 dnn: internet ``` Edit ip address of PFCP and GTPU with UPF-VPP IP # OAI Integration ## OAI Installation 1. Clone OAI Repository ``` $ git clone https://gitlab.eurecom.fr/oai/openairinterface5g $ git checkout 2023.w43 $ cd openairinterface5g $ source oaienv $ cd cmake_target $ sudo ./build_oai -I --gNB --nrUE ``` > Create configuration file that bind to AMF ip address and local IP that will access AMF IP 2. RUN gNB and nrUE * gNB ``` $ sudo -E ~/openairinterface5g/cmake_targets/ran_build/build/nr-softmodem -O config.conf --sa -E --rfsim --log_config.global_log_options level,nocolor,time ``` * nrUE ``` $ sudo -E ~/openairinterface5g/cmake_targets/ran_build/build/nrue-softmodem -O config.conf --sa -E --rfsim -r 106 --numerology 1 -C 3319680000 --nokrnmod --log_config.global_log_options level,nocolor,time ```  3. Check IP from oai_tun  4. check OAI UPF  5. Try ping network through oai_tun 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up