K8s Host Network Configuration #113
Unanswered
mdalgitsis
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am preparing my setup to build and run towards5gs-helm in 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 applied
Could someone let me know if the above network configuration would fit to use:
interface ens160 for n2, n3, n4, n9 networks
interface ensUPF for the n6 network?
Beta Was this translation helpful? Give feedback.
All reactions