OVHcloud Community

Welcome to your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.

How I can configure IP failover on Proxmox and High Grade server?


#1

Hi everybody,

I have problem with configuration of IP failover on High Grade server.

I have got Proxmox VE 7 installed from official OVH template. I’m using official documentation to configure IP failover, but it’s not working in my situation.
I don’t want vRack configuration, but only Failover IP in routed mode on public network interfaces.

This is my config:
`
auto lo
iface lo inet loopback

auto enp26s0f0np0
iface enp26s0f0np0 inet manual

auto enp26s0f1np1
iface enp26s0f1np1 inet manual

auto enp134s0f0np0
iface enp134s0f0np0 inet manual

auto enp134s0f1np1
iface enp134s0f1np1 inet manual

auto bond0
iface bond0 inet dhcp
bond-slaves enp26s0f0np0 enp26s0f1np1
bond-miimon 100
bond-mode 802.3ad
post-up echo 1 > /proc/sys/net/ipv4/conf/bond0/proxy_arp
post-up echo 1 > /proc/sys/net/ipv4/ip_forward

auto vmbr0
iface vmbr0 inet static
address 192.168.0.1
netmask 255.255.255.255
bridge-ports none
bridge-stp off
bridge-fd 0
post-up ip route add XXX.XX.XX.XXX/32 dev vmbr0 #host IP
`

After reboot I can’t connect to the server and after few minutes server is rebooting to rescue mode.

What am I doing wrong?