This repository was archived by the owner on Apr 14, 2023. It is now read-only.

Description
I am using vrrpd on virtual guests inside Hyper-V cloud. Some times, I don't know the reason why, hypervisor drops multicast packets for small periods of time 3-10 seconds. After that we lost connections between VIP IP and clients outside his subnet. I did small investigation and found the reason - in case of multicast network problem bacup node become master, after restoring multicast connections between nodes, secondary node returns to backup state and nobody revert ARP table back on routers.
Steps to reproduce:
- Configure two nodes of VRRP cluster.
- Drop multicast traffic on backup node. iptables -A INPUT -d 224.0.0.18 -j DROP
Backup node lost the master, become new master end send "magic packet" to rewrite ARP table on router
- Allow multicast traffic on backup node. iptables -D INPUT -d 224.0.0.18 -j DROP
Backup node found the master, switch to backup state and stop serve the VIP IP.
Routers still sending traffic to backup node due ARP table