- helm installed
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
-
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>
-
install open5gs
make open5gs
-
configure SMF
make smf
-
install gNB
make gnb
-
install UERANSim
make ue1
make ue2
-
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)
-
exec shell in UE pod
kubectl -n open5gs exec -ti deployment/ueransim1-ueransim-ues -- /bin/bash
-
run ICMP test
ping -I uesimtun0 1.1.1.1
-
undeploy all
make clean