LXC and OVH failover IPs
... / LXC and OVH failover IPs
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

LXC and OVH failover IPs

by
TariqF
Created on 2022-09-27 15:40:55 (edited on 2024-09-04 14:25:17) in Dedicated Servers

Hi we have been struggling to get LXD managed LXC containers to work using the failover IP range we have with our service. The only way we could get containers to work was to route via the host machine using a virtual IP on the host. The result is huge packet loss so not workable.

For example when we bring up a container we do as per the various guides and get a virtual mac and assign it to the container. We then use the failover IP and set the gateway to the host machine but with .254 as the last octet.

we have a bridged interface on the main server which works but the containers are not able to see the gateway as above:

e.g.

lxc config device add containername eth0 nic nictype=bridged parent=br1 name=eth0
lxc config set brisant volatile.eth0.hwaddr VIRTUALMAC

Surely someone must have LXD working on OVH systems? The same setup works flawlessly on other providers. Any advice appreciated before we ditch our OVH systems and move to another one that works ;)