Closed hkerma closed 2 years ago
Hello @hkerma
First of all, thank you for the detailed description of the problem.
I think you are missing upf.n6if.IpAddress
in the UPF Helm chart. If you are installing all Free5GC components using the main Helm chart you should see free5gc-upf.upf.n6if.IpAddress
.
Regards, Abderaouf
Hello
You are a saint.
Thank you so much, that was my issue. I set it to 10.0.2.10 arbitrarily and it work. I didn't see it at first because it is not in the main values.yaml
file.
Is there a reason why all the parameters are not in one values.yaml
file?
Thank you so much for the help! Best,
Because this parameter is internal to the UPF Helm chart. It's customization is possible in the main free5gc but optional. More details here about global and subchart parameters. The parameter is present in free5gc and free5gc-upf readme files.
Regards, Abderaouf
I will close the issue
Hello I am opening a second issue since I now have a different problem.
I am trying to deploy 5G core and UERANSIM on a Kubernetes cluster. I am not using microk8s or anything, I just deployed the cluster using kubeadm. I use Kubernetes v1.22, kernel version 5.4, gtp5g installed on all Nodes. The pod CIDR is 192.168.0.0/16 (default I believe). I have one master and 6 workers.
Each Node has 2 network interface:
eth1
is on 192.168.56.1/24, it is the network used for inter-node communication (it is a host-only adapter on VirtualBox) andeth0
is a NAT interface with Internet access. I have enabled promiscuous mode in VirtualBox and I work with the AMD PCNet FAST III (Am79C973) NIC (I tried with the Intel Pro 1000 and I have the same issue).Calico is working fine. IP forwarding in Pod is enabled and I have
1
when I runcat /proc/sys/net/ipv4/ip_forward
.The issue is that I cannot deploy the UPF: it is stuck at
ContainerCreating
because of the following Multus error:For the configuration, I modified the free5gc's values.yaml file of n2, n3, n4 and n9 to eth1, and n6 to eth0. N6 is configured as the following ( did not put an excluded IP):
since my NAT network
eth0
is the following:and iproute:
So apparently the network is unreachable. However, when I change the UPF configuration to whatever else, it is created normally and I can go check in the pod that 10.0.2.2 is the gateway. I start to believe it is a problem with the promiscuous mode. I find myself a bit in the same situation as this issue however there is no such thing as "Forged transmits" in VirtualBox.
Is there a way I use something else than macvlan for Multus, or is it really the best option?
Best,