Network Interfaces preparation

Hello, I am a new subscriber into Free5GC forum and community.
I am preparing my setup to build and run Free5GC using Kubernetes.

I have deployed with terraform a VM in vsphere with Ubuntu 20.04 and kernel 5.4.0-122-generic
With ip a I could see only the lo and ens160 interfaces.
As per guidelines of https://github.com/Orange-OpenSource/towards5gs-helm/tree/main/charts/free5gc
I need two network interfaces.

I managed to create a second interface through bridging.
The output of ip a is
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
link/ether 00:50:56:86:27:58 brd ff:ff:ff:ff:ff:ff
3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:50:56:86:27:58 brd ff:ff:ff:ff:ff:ff
inet 10.201.0.169/24 brd 10.201.0.255 scope global dynamic br0
valid_lft 596sec preferred_lft 596sec
inet6 fe80::250:56ff:fe86:2758/64 scope link
valid_lft forever preferred_lft forever
4: ensUPF: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue master br0 state UNKNOWN group default qlen 1000
link/ether 52:fc:a9:66:b8:03 brd ff:ff:ff:ff:ff:ff

While the output of the route -n is:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.201.0.254 0.0.0.0 UG 100 0 0 br0
10.201.0.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
10.201.0.254 0.0.0.0 255.255.255.255 UH 100 0 0 br0

Also, I attach the netplan configuration file I have appliednetplan.yml (180 Bytes)

Could someone let me know if the above network configuration is enough for the free5gc helm chart deployments?

then I will use interface ens160 for n2, n3, n4, n9 networks
and I will use ensUPF for the n6 network.

Hi, welcome to join us!

To my understanding, you can deploy this helm chart with a single NIC. You just have to assign the master interface to the same NIC on each network. Here is the link of what I found.

Hope this will be helpful :crossed_fingers: