Closed ednaganon closed 1 year ago
Hello
You should adapt the N4 and N3 configuration of SMF and UERANSIM to match with the IP addresses of the host of the UPF. That means, this must be connected to the Kubernetes cluster while each of its interfaces must be in the same network as one interface on the Kubernetes cluster (one node of the cluster)
Bests
So there is no way to connect towards5gs-helm/free5gc SMF pod to external UPF which is not a part of the Kubernetes cluster? Similar to how N2 is exposed by AMF to an external GNB?
Thanks,
Edna
From: Abderaouf KHICHANE @.> Sent: Tuesday, February 1, 2022 11:50 AM To: Orange-OpenSource/towards5gs-helm @.> Cc: Edna Ganon @.>; Author @.> Subject: Re: [Orange-OpenSource/towards5gs-helm] Running UPF on a separate, no containarized host (Issue #25)
Hello
You should adapt the N4 and N3 configuration of SMF and UERANSIM to match with the IP addresses of the host of the UPF. That means, this must be connected to the Kubernetes cluster while each of its interfaces must be in the same network as one interface on the Kubernetes cluster (one node of the cluster)
Bests
— Reply to this email directly, view it on GitHub https://github.com/Orange-OpenSource/towards5gs-helm/issues/25#issuecomment-1026654185 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGT4CG7YQ6VR7OWMLOBEBATUY6UDJANCNFSM5MNPD66Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you authored the thread.Message ID: @.***>
You can. You have only to make sure that UPF is listening on an IP address which is in the same network as SMF N4 interface. You can reach this for example by having 2 hosts:
host1
for the k8s cluster with a network interface eth0
with IP1
host2
(not apart of the k8s cluster) for the UPF with a network interface eth0
with 'IP2' and which is in the same network as IP1
At this stage, make sure that the hosts can communicate via their eth0
interfaces. Then, you make the SMF N4 interface using the eth0
of host
as master interface (see Helm chart values) and you assign IP3
to it (SMF N4). By choosing IP3
in the same subnet as IP1
and IP2
, the SMF and the UPF will be able to communicate.
Bests,
Hello, I would like to run UPF on a separate h similar to the diagram you show here:
but non containarized, non containerized, so the UPF interfaces are the host interfaces. What configuration changes should I do in smf configuration so that SMF pod could speak with UPF ? specifically the n4 network does not work correctly. Should it be omitted and a nodePort service be created instead? what changes should be made to values.yaml? Thanks, Edna