Can't connect VM using Failover IPs from OVH

dc-wcorp

New Member
Sep 26, 2022
2
0
1
Hello everyone!

I have a dedicated server in OVH with Proxmox VE 7.2-11 installed through the OVH's ready-to-use template.

The public IPs from the dedicated server are setup as below:
IP: 15.xxx.xxx.xxx/24
Gateway: 15.xxx.xxx.254


Additionally, I bought some Failover IPs, as it follows:

FO IPs: 51.xxx.xxx.56/30


In Proxmox network, I have two network devices:

1) enp5s0f0
2) enp5s0f1


And there is two Linux Bridges:

1) vmbr0 (setup with the dedicated server IPs 15.xxx.xxx.xxx/24 and gateway 15.xxx.xxx.254)
2) vmbr1 (setup with none ports/slaves and FO IPs 51.xxx.xxx.56/30)


I've created a VM and inserted the Virtual MAC from the second FO IP (51.xxx.xxx.57) and set it up to use vmbr1. But with this setup, the VM doesn't connect. If I switch the bridge to vmbr0 it works just fine.

I also tried to add this last line to the file /etc/network/interfaces, as I saw in https://forum.proxmox.com/threads/proxmox-ve-6-ovh-ip-failover.94340/ but it didn't work for me:

auto vmbr1
iface vmbr1 inet static
address 51.xxx.xxx.56/30
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/conf/vmbr1/proxy_arp

Tried to insert both 'post-up echo 1 > /proc/sys/net/ipv4/ip_forward' and 'post-up echo 1 > /proc/sys/net/ipv4/conf/vmbr1/proxy_arp' too, but couldn't get it to work.


My intention is to use all FO IPs in this single VM, as I will build it as a Mail Server. And leave the dedicated server IP only for Proxmox management panel.

Please, could you help me to find out how can I set this up?
How can I insert my FO IPs in Proxmox so that I can use them into my VM?

Many thanks!
 
Actually I saw in OVH's panel that its possible to set the same Virtual MAC to all FO IPs, so I think that's enough for me to use all in a single VM. Don't need to create a new bridge.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!