Interview Prep/Networking/MTU, routing, packet loss and latency

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.

All Networking questions Roadmap: Networking for DevOps

More on MTU, routing, packet loss and latency