04-13-2020 10:43 AM
I have two routers at a site for redundancy each running HSRP on the inside interface. and tracking the outside interface on each router. This has been working as I thought. The problem came into play when the site routers lost connectivity with each other's inside interface where HSRP was configured. This caused both routers to think they where the primary router and was advertising across the WAN the same IP address which took the site offline until we could fix the issue.
What can I do to prevent this scenario from accruing?
BYMC
04-13-2020 11:18 AM
Hello,
post the configs of both routers. Only one router can be the active router, so there must be some sort of misconfiguration. When the connectivity between the inside interfaces is lost, typically the router configured with the higher priority and configured as preemptive router, becomes the primary router...
04-13-2020 11:35 AM
Hi,
As HSRP peers exchange Hello packets, they need to be able to reach to each other. If they can not reach each other (or if the standby did not receive 3 Hello packets by default), both assume they are active. So, the only solution is to make sure they could reach each other. As far as I know, there is no work around for that.
HTH,
Meheretab
04-13-2020 12:02 PM
I have not test bedded this yet but if I configured a tracker in both router's HSRP configuration pointing at the other router outside/WAN interface IP address.
What are your thoughts?
04-13-2020 12:40 PM
04-13-2020 12:47 PM
Well thats what I was thinking after asking the question. Thanks
The site cleaned up their rack and missed some cable connections.
Keep safe
Thanks
bymc
04-13-2020 03:06 PM
BYMC
There are things that we do not know about your situation and that impacts our ability to give good suggestions. As I understand it you have 2 routers that provide routing for some inside network. The routers run HSRP to provide redundancy for the inside network. There was a problem with cabling and the routers could no longer communicate with each other on their inside interface. It is not clear but I am assuming that one (or perhaps both) of the routers could no longer communicate with anything on the inside network. Is that correct?
And you describe the problem as being that both routers advertised the inside network. It is not clear what is the normal situation. In normal times do both routers advertise the inside network or do you have something that controls which of the routers advertises the inside network? It is also not clear how the routers are advertising the inside network. Is the advertisement done using a dynamic routing protocol or some other way? How is the inside network injected into the routing protocol (redistribute connected, or redistribute static, or using a network statement)? If there is a static route perhaps there is a possibility of some track on the static route testing reachability to the inside resources? Or perhaps there is a possibility of writing some EEM script to control the dynamic routing protocol testing access to the inside network?
I will offer this observation that some problems are easy to fix and should be fixed. But some problems are complex to fix and the effort expended to fix them may not be worth it. I suspect that your problem is in the latter category.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide