06-30-2017 05:46 AM
Hi guys,
I am looking for some technical ways to have duplicated network gateways on same network. I mean two routers with the same IP address on the same L2 network. Let me try to explain :
Therefore I'm looking to have the same gateways address in datacenter A and in datacenter B. In other terms, in the same L2 network, I want to have a router in datacenter A with per example 10.0.0.1 IP address, and in datacenter B an other router with 10.0.0.1 address.
In order to make it work, I think I would need to filter ARP requests messages towards 10.0.0.1 on the Layer 2 network connection between my two datacenters. In this way, virtual machines which are located on datacenter A will resolve 10.0.0.1 as the datacenter A gateway, and virtual machines located in datacenter B will resolve 10.0.0.1 as the datacenter B router.
The drawback is that I think that I will need to find a way to refresh virtual machine's ARP tables when moving them from one datacenter to another.
Are there some better ways to achieve this ?
Thank you !
Fred
07-03-2017 04:31 AM
HSRP, VRRP and GLBP are all available options.
However, I don't think any of them can ensure that one shared gateway between data centers will service only the local hosts.
HSRP has the option of having a common subnet with multiple HSRP groups, but this would require having different default gateways, on the same subnet, at each data center. But this then requires having to define the default gateway depending on location.
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipapp_fhrp/configuration/xe-3s/fhp-xe-3s-book/fhp-hsrp-mgo.html
GLBP can do a form of host dependent balancing, but will not fulfill your need to have the gateway used be data center dependent.
http://www.cisco.com/c/en/us/products/collateral/ios-nx-os-software/ip-services/product_data_sheet0900aecd803a546c.html
Hope this is of some help.
07-03-2017 05:26 AM
Greetings.
What you are describing sounds like a typical candidate for OTV (for Layer 2 extensions between DCs), HSRP, and the HSRP filtering that needs to be in place to avoid suboptimal paths.
I'm not sure what of equipment you have.
Thanks,
Kirk...
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