So I have a dedicated server for which I need a second IP adress. After ordering the adress the hoster just told me that i can now use the ip (giving me the IP, gateway and netmask). OS: Ubuntu 20.04.5 LTS x86_64
My issue is that I don't understand how to use netplan and the hoster is not helping a lot. Just saying that the interface should be :0 so as the primary is eno2 it should be eno2:0 and he said that they both need to be static (before the first interface was with dhcp activated)
My current netplan cfg is this but with it i still don't see the second IP/interface when doing e.g. ifconfig:
network:
version: 2
renderer: networkd
ethernets:
eno2:
addresses: [IP_ONE/24]
dhcp4: no
gateway4: GATEWAY_IP
eno2:0:
addresses: [IP_TWO/24]
dhcp4: no
Thanks in advance.