After moving a VIP between two servers, clients keep sending traffic to the old server for minutes.
AdvancedTroubleshootingMTU, routing, packet loss and latency
Answer
Likely causes → Neighbours and the gateway still have the old MAC in their ARP caches; the new owner didn't send gratuitous ARP, or the network ignores it.
Diagnose →
ip neigh show 10.0.1.100 # on a client/gateway
sudo tcpdump -ni eth0 arp and host 10.0.1.100
Fix → Send gratuitous ARP on takeover (arping -U -I eth0 -c 3 10.0.1.100); keepalived does this by default (garp_master_delay).
Prevent → Use keepalived/VRRP properly; in cloud, use API-based IP reassignment instead of ARP tricks.
More on MTU, routing, packet loss and latency
SSH connects, but the session freezes as soon as you run `ls` in a big directory or `cat` a large file.IntermediateHTTPS to a site over the VPN hangs after `Client hello`, while HTTP works.Intermediate`ping: local error: message too long, mtu=1500`BeginnerPods on different nodes can ping each other, but HTTP responses larger than ~1.4 KB never arrive.Advanced`mtr` shows 30% loss at hop 6, but 0% at the final destination.Beginner`mtr` shows loss starting at hop 4 and continuing to the destination at 8–10%.Intermediate