I’m fairly new to networking and LXD in general and I was trying to set a OVH failover ip to a container.
I was following this thread : link
Basically, when I use this command (from this comment)
ip -4 addr add dev eth0 PUBLIC-IP/32 preferred_lft 0, it works just fine. However, I did understand that this method isn’t persistent.
So here’s my question: how do I make it persistent using Netplan ? I tried this, but it didn’t work:
network: version: 2 ethernets: eth0: dhcp4: no dhcp6: no addresses: [ip_failover/32] gateway4: host_gateway nameservers: search:  addresses: [18.104.22.168]
Using the host ip with the last byte as .254 (xxx.xxx.xxx.254) as the host_gateway
So yeah, how could I assign the failover ip ?