Skip to content

Latest commit

 

History

History
90 lines (52 loc) · 2.1 KB

File metadata and controls

90 lines (52 loc) · 2.1 KB

Open5GS + multiple load balanced eUPF

Requirements

Attention!


this document work in progress!!

now, we dont have solution for routing and NAT with one IP pool and multiple eUPF

check steps not working


Deployment steps

  1. install eupf (for example we use 2 replicas of eUPF)

    make upf

check pods and ips:

$ kubectl get po -n open5gs -l "app.kubernetes.io/name=eupf" -o wide
NAME     READY   STATUS    RESTARTS   AGE     IP             NODE      NOMINATED NODE   READINESS GATES
eupf-0   1/1     Running   0          6m29s   10.233.64.17   edgecom   <none>           <none>
eupf-1   1/1     Running   0          6m19s   10.233.64.44   edgecom   <none>           <none>
  1. install open5gs

    make open5gs

  2. configure SMF

    make smf

  3. install gNB

    make gnb

  4. install UERANSim

    make ue1

    make ue2

  5. check SMF logs:

ue1 is connected and work via eUPF 0 (10.233.64.17)

10/16 19:05:30.573: [smf] INFO: [Added] Number of SMF-UEs is now 1 (../src/smf/context.c:898)
10/16 19:05:30.573: [smf] INFO: [Added] Number of SMF-Sessions is now 1 (../src/smf/context.c:2975)
10/16 19:05:30.596: [smf] INFO: UE SUPI[imsi-999700000000001] DNN[internet] IPv4[10.11.0.2] IPv6[] (../src/smf/npcf-handler.c:495)
10/16 19:05:30.599: [gtp] INFO: gtp_connect() [10.233.64.17]:2152 (../lib/gtp/path.c:60)

ue2 is connected and work via eUPF 1 (10.233.64.44)

10/16 19:05:42.749: [smf] INFO: [Added] Number of SMF-UEs is now 2 (../src/smf/context.c:898)
10/16 19:05:42.749: [smf] INFO: [Added] Number of SMF-Sessions is now 2 (../src/smf/context.c:2975)
10/16 19:05:42.767: [smf] INFO: UE SUPI[imsi-999700000000002] DNN[internet] IPv4[10.11.0.3] IPv6[] (../src/smf/npcf-handler.c:495)
10/16 19:05:42.774: [gtp] INFO: gtp_connect() [10.233.64.44]:2152 (../lib/gtp/path.c:60)

Check steps

  1. exec shell in UE pod

    kubectl -n open5gs exec -ti deployment/ueransim1-ueransim-ues -- /bin/bash

  2. run ICMP test

    ping -I uesimtun0 1.1.1.1

Undeploy steps

  1. undeploy all

    make clean