We have two routers:
- Router-002 = BACKUP
- Router-003 = MASTER
--> They share the same IP address (VIP)
Normally :
Only the MASTER should speak ✔
The BACKUP should remain silent ❌
But with CARP + OSPF:
💥 BOTH speak at the same time
OSPF is a dynamic routing protocol that allows routers to exchange routing information and automatically determine the best path for network traffic. It works by regularly sending Hello packets between routers to maintain neighbor relationships and keep an up-to-date view of the network topology.
In a high-availability setup with two routers sharing the same VIP, OSPF can cause issues because both routers may send Hello packets and routing updates at the same time using that same IP address. As a result, neighbors receive messages that appear to come from a single router, while they are actually coming from two different ones. This creates confusion in the OSPF neighbor relationship, leading to constant resets, unstable routing tables, and unreliable network connectivity.
references :