Hello,
German Post at Hetzner Board:
https://forum.hetzner.com/thread/25240-vswitch-proxmox-live-migration-kein-netzwerk-nach-abschluss/
i have 2 Dedicated Hetzner Servers
One is in Helsinki and one is in Falkenstein.
I have a Public IP /29 Subnet on vlan4000 together. (all VMs need to have MTU 1400)
The first usable IP of the Subnet is the Gateway Router of Hetzner.
I bridged vlan4000 (vmbr4000).
I added this interface to the VMs.
Everything works. All VMs are reachable over a Public IP of the subnet.
When i do a live migration from Server A to Server B then the Network of the migrated VM is not available anymore after the Migration is done.
About 20 - 30 minutes after migration sometimes the Network comes back.
I tried this:
ip -s -s neigh flush all
But did not work.
also proxy_arp settings did not solve it.
Hetzner asked if Proxmox sends Gratuitous ARP after migration?
I enabled this features in the kernel
But no Live Migration from Falkenstein to Helsinki is possible. (Migration works but the VM has no Internet anymore)
Strange thing:
The Live Migration from Helsinki to Falkenstein works everytime and also the network is reachable immediately.
I tried the migration with the integrated network and also with openvswitch.
It makes no differences.
If i use openvswitch the command arp -a shows me the MAC Adresses of all VMs and their IP Adress they are using (shown on all Nodes)
But however i dont have any idea anymore how i can solve this.
Maybe someone can help me and the Hetzner community?
There are a bunch of customers with the same Problem without Solution.
German Post at Hetzner Board:
https://forum.hetzner.com/thread/25240-vswitch-proxmox-live-migration-kein-netzwerk-nach-abschluss/
i have 2 Dedicated Hetzner Servers
One is in Helsinki and one is in Falkenstein.
I have a Public IP /29 Subnet on vlan4000 together. (all VMs need to have MTU 1400)
The first usable IP of the Subnet is the Gateway Router of Hetzner.
I bridged vlan4000 (vmbr4000).
I added this interface to the VMs.
Code:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp0s31f6
iface enp0s31f6 inet manual
auto vmbr0
iface vmbr0 inet static
address PUBLIC IP OF SERVER
netmask NETMASK OF SERVER
gateway HETZNER GW
bridge-ports enp0s31f6
bridge-fd 0
bridge_hello 2
bridge_maxage 12
bridge_stp off
iface vmbr0 inet6 static
address PUBLIC IP OF SERVER
netmask 64
gateway fe80::1
auto vmbr4000
iface vmbr4000 inet manual
bridge-ports enp0s31f6.4000
bridge-fd 0
mtu 1400
bridge_hello 2
bridge_maxage 12
bridge_stp off
#Public
auto vmbr4001
iface vmbr4001 inet static
address 10.100.30.10
netmask 255.255.255.0
bridge-ports enp0s31f6.4001
bridge-fd 0
mtu 1400
bridge_hello 2
bridge_maxage 12
bridge_stp off
#Cluster
Everything works. All VMs are reachable over a Public IP of the subnet.
When i do a live migration from Server A to Server B then the Network of the migrated VM is not available anymore after the Migration is done.
About 20 - 30 minutes after migration sometimes the Network comes back.
I tried this:
ip -s -s neigh flush all
But did not work.
also proxy_arp settings did not solve it.
Hetzner asked if Proxmox sends Gratuitous ARP after migration?
I enabled this features in the kernel
Code:
net.ipv4.conf.all.arp_ignore = 1
net.ipv4.conf.all.arp_announce = 2
net.ipv4.conf.default.arp_ignore = 1
net.ipv4.conf.default.arp_announce = 2
net.ipv4.conf.vmbr0.arp_ignore = 1
net.ipv4.conf.vmbr0.arp_announce = 2
net.ipv4.conf.vmbr0.arp_accept = 1
net.ipv4.conf.default.arp_accept = 1
net.ipv4.conf.all.arp_accept = 1
net.ipv4.conf.vmbr0.arp_notify = 1
net.ipv4.conf.default.arp_notify = 1
net.ipv4.conf.all.arp_notify = 1
But no Live Migration from Falkenstein to Helsinki is possible. (Migration works but the VM has no Internet anymore)
Strange thing:
The Live Migration from Helsinki to Falkenstein works everytime and also the network is reachable immediately.
I tried the migration with the integrated network and also with openvswitch.
It makes no differences.
If i use openvswitch the command arp -a shows me the MAC Adresses of all VMs and their IP Adress they are using (shown on all Nodes)
But however i dont have any idea anymore how i can solve this.
Maybe someone can help me and the Hetzner community?
There are a bunch of customers with the same Problem without Solution.
Last edited: