OVH Failover / WTF?

FlorinMarian

Well-Known Member
Nov 13, 2017
90
4
48
30
Hello!
I have few OVH subclasses of 16 IPs each.
I've configured some KVM machines with DHCP setted up like this
Code:
# Bind IP by MAC
host VM16 {
hardware ethernet MAC_ADDRESS;
option routers 213.32.6.254;
option subnet-mask 255.255.255.255;
fixed-address 51.210.XXX.56;
option domain-name-servers 8.8.8.8,8.8.4.4;
}

Description:
- Subclass: 51.210.XXX.48 - 63
I have few KVM machines and today I had to connect .56 machine to .63 machine.
I've tried to ping from .56 to .63 and it didn't worked (no error, just stuck waiting to receive some output).
I've let .56 machine with ping command active and then I opened another SSH connection with proxmox host. When I've tiped on proxmox host "ping 51.210.XXX.63", it succed and then started to get answers also on VM which before was stuck.
Any explaination?
Thank you!

Package versions:
Code:
proxmox-ve: not correctly installed (running kernel: 5.4.106-1-pve)
pve-manager: 6.3-6 (running version: 6.3-6/2184247e)
pve-kernel-5.4.106-1-pve: 5.4.106-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.1.2-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksmtuned: 4.20150325+b1
libjs-extjs: 6.0.1-10
libknet1: 1.20-pve1
libproxmox-acme-perl: 1.0.8
libproxmox-backup-qemu0: 1.0.3-1
libpve-access-control: not correctly installed
libpve-apiclient-perl: 3.1-3
libpve-common-perl: not correctly installed
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: not correctly installed
libpve-storage-perl: not correctly installed
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-backup-client: not correctly installed
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: not correctly installed
pve-cluster: not correctly installed
pve-container: not correctly installed
pve-docs: not correctly installed
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.2-2
pve-ha-manager: not correctly installed
pve-i18n: 2.3-1
pve-qemu-kvm: not correctly installed
pve-xtermjs: 4.7.0-3
pve-zsync: 2.0-4
qemu-server: not correctly installed
smartmontools: 7.2-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 2.0.4-pve1
 
as you use /32 for your vms (255.255.255.255), the traffic need to go through the router 213.32.6.254, when you ping between both ip.

(and if you don't to use /32, but the real mask, (I think it's /28 ? like 51.210.x.48/28 , if this case you can't use first .48 ip address (network address) && last .63 ip address (broadcast address)




can you send your /etc/network/interfaces ? some static routes need to be added for the /32 ips address.
 
Last edited:
  • Like
Reactions: FlorinMarian
as you use /32 for your vms (255.255.255.255), the traffic need to go through the router 213.32.6.254, when you ping between both ip.

(and if you don't to use /32, but the real mask, (I think it's /28 ? like 51.210.x.48/28 , if this case you can't use first .48 ip address (network address) && last .63 ip address (broadcast address)




can you send your /etc/network/interfaces ? some static routes need to be added for the /32 ips address.
Take a look :)
And mhm..with this current setup I can use whole /28 range, i just have those problems connection VMs between them.
Code:
# network interfaces
    auto lo
    iface lo inet loopback
    
    iface enp1s0 inet manual
    
    auto vmbr0
    iface vmbr0 inet dhcp
      bridge-ports enp1s0
      bridge-stp off
      bridge-fd 0