08-15-2011 01:51 AM - edited 03-04-2019 01:16 PM
Hi,
we have the following redundancy concept at each of our core colocations:
Everything works as expected. But the arp requests on the hsrp standby router for the official ip addresses of "its" carrier connection are answered by the active hsrp router and its virtual mac address of the bvi interface.
I have attached a visio drawing as png with will give an overview.
As example, the standby router for CarrierY gets a http request from wan to ip y.y.y.3
In the arp table of this router i can see the mac address of the active router for this y.y.y.3 instead of the mac address of the server which has the y.y.y.3 configured as interface bond0.0.
So the active router answers the arp request faster (or because of the hsrp with higher priority?) then the server.
Is there any way to get the active router not answering arp requests for official ip addresses of the standby router.
Or other way around, is there any way to get the standby router ignoring arp answers of the active router, because the standby router has static routes for this ip addresses?
Please have a look at the attached png file, i have inserted some configuration lines and the show arp output.
Thanks and regards,
Jonas
Solved! Go to Solution.
08-15-2011 01:06 PM
Hi Jonas,
This is quirte a complicated setup indeed and perhaps some more info on the routing setup would make my reasoning invalid but I think it is as follows:
Your way of thinking would be correct in a transparently bridged environment but that is not what we have here.
What you observe is caused by IRB behavior as described in the link below:
http://www.cisco.com/en/US/tech/tk389/tk815/technologies_tech_note09186a0080094663.shtml#vlanrouting
This at least explains why mac addresses are changing when traversing routers running IRB.
The rest is a result of the def-gw you have set to the hsrp address. This makes all return traffic land on the active router.
This router will then have to bridge the packet to router y.y.y.1 and this path goes via the standby router.
regards,
Leo
08-15-2011 04:57 AM
Hi Jonas,
This is the way in which hsrp works. Reading through your problem description, I cannot see why you have not configure a second hsrp group with the hsrp-master on the other router. Example setup:
This would cause traffic for y.y.y.x to be sent over the other router by default.
regards,
Leo
08-15-2011 06:58 AM
Hi Leo,
thanks for your answer and the provided link. I have studied the design guide. But i can not clarify, how the multi grouping feature should help in our case. I only do not want any of the hsrp router to answer an arp request to the server ip address - (the arp reply of the server itself should be applied to the arp table of the requesting router.
Do you know what i mean?
When - in the example of my previously attached image - RouterY requests the mac adress of the system with ip y.y.y.3, the server with this ip address answers. But the active hsrp router answers as well, and this is not the desired effect.
Actually we need to configure static arp entries on RouterY to get the webserver y.y.y.3 accessable from external (wan).
Maybe i have a mistake in my understanding of the actual situation, but this is what i can see from the show arp command and the hsrp documentation you provided via your link...
Best regards,
Jonas
08-15-2011 01:06 PM
Hi Jonas,
This is quirte a complicated setup indeed and perhaps some more info on the routing setup would make my reasoning invalid but I think it is as follows:
Your way of thinking would be correct in a transparently bridged environment but that is not what we have here.
What you observe is caused by IRB behavior as described in the link below:
http://www.cisco.com/en/US/tech/tk389/tk815/technologies_tech_note09186a0080094663.shtml#vlanrouting
This at least explains why mac addresses are changing when traversing routers running IRB.
The rest is a result of the def-gw you have set to the hsrp address. This makes all return traffic land on the active router.
This router will then have to bridge the packet to router y.y.y.1 and this path goes via the standby router.
regards,
Leo
08-17-2011 07:12 AM
Hi Leo,
you are right. But there is another solution in sight.
In short time, we will deploy a firewall between the routers and the servers. This firewall gets the default gateway of all servers and makes decision, which router to use for forwarding the traffic. So the hsrp feature is not needed any more.
So the static mac entries will do the work around till this change is deployed.
Thanks for your help
Jonas
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