Hi, I have design my lab as below:
|--R3 --- Server (10.10.10.0/24)
R1 is primary and R2 is backup for incoming traffic. Outgoing from server
is using HSRP. I configured static route at R1 and R2.
R1: ip route 10.10.10.0 255.255.255.0 172.16.1.1
R2: ip route 10.10.10.0 255.255.255.0 172.16.1.1 200
If interface at R1 facing to R3 is down, R1 still advertised 10.10.10.0/24, thus server will not reachable. Even R2 has same static route with higher AD (backup puspose), it will not advertise 10.10.10.0/24 route as R1 still alive.
My question, how can i solve this problem other then using dynamic routing.
I just want to use static route. Is there any method if the router saw attached interface is down, it will withdrawal route and let other router advertise the routes?