12-06-2018 09:28 AM - edited 03-05-2019 11:06 AM
So here is a question. I want to trunk the same vlan/subnet together between three geographically separated sites. Lets say vlan10 associated to subnet 10.1.1.0 /28.
Obviously I can create a single routed SVI interface at SiteA with IP address 10.1.1.1 /28 to act as the routed gateway for all three sites but then if a device on vlan 10 at SiteB wishes to speak to a device on Vlan 20 also at SiteB, it must first send it's traffic over the trunk to it's Gateway at SiteA. Then from SIteA be routed back to SiteB.
So rather then do this, can I simply set up at all three sites a routed SVI Gateway for the Vlan10 subnet?
12-06-2018 12:37 PM
Hello
That would be a waste of network BW just so to communicate between a vlan on the same site.
How are these sites connected at present?
12-06-2018 12:50 PM
Exactly, which is why I do not want a single SVI for the subnet spanning multiple sites. I want an SVI gateway at each of the three sites for the shared subnet.
For this topology within our network the sites would be connected to one another fully meshed over a Layer 2 ELAN network.
12-06-2018 12:37 PM
12-06-2018 12:52 PM
Can HSRP support a secondary virtual IP on top of 3 real IP's? I've only seen it done with 2 real IPs. And if so, in HSRP you have a priority so the subnet traffic for Vlan10 would still use only one of the three sites as it's gateway which I want to avoid for the aforementioned waste of BW.
12-06-2018 03:04 PM
12-06-2018 03:08 PM
Sorry I meant to say Standby IP. Not Secondary. So are you saying use the same Stanby IP at all three sites? Because that still requires setting one Standby with a priority greater then the Standby IP at the other two sites which means I'm back to traffic still only using the gateway at one site.
12-06-2018 03:11 PM
12-06-2018 03:19 PM
I tnink your talking about Gateway Load Balancing Protocol (GLBP) where you have multiple Gateways all active. HSRP always acts Active/Standby.
12-06-2018 03:28 PM
12-06-2018 03:34 PM
Okay, let me lab that up. I havent used authentication with HSRP before so I'm intrigued. Thanks!
11-21-2023 05:51 AM
So did you work it out in the end?.. I have 2 DCs, 1000 miles apart and have different management Vlans in each DC, but as servers get migrated from DC1 to DC2, the customer traffic IP on the customer traffic vlan, e.g. 10.2.1.0/24 goes across, with traffic shuttling across a 1000 mile link, causing significant latency... if original gateway in DC1 is 10.2.1.1 can I use 10.2.1.254 as a gateway in DC2, so that it routes locally in DC2 or back across the trunk, depending on where the traffic needs to go
11-21-2023 06:37 AM
You certainly can have local gateways. The problem is, how do hosts "know" which gateway is local.
Of course if hosts have static IPs, you can set the desired gateway.
11-22-2023 08:29 AM
Am I understanding correctly that 10.2.1.0/24 is configured and active at both sites? How are the sites connected.
If a user at one site accesses a server which has moved to the other site I don't see how you can avoid latency.
I like Joseph's point that you certainly can have 2 gateways for a subnet (one at each site) but the difficulty is how does the user device know which gateway tp use? Static configuration could accomplish this but is this a realistically feasible solution?
11-23-2023 12:57 AM
Hello
@cmparish5 wrote:
Obviously I can create a single routed SVI interface at SiteA with IP address 10.1.1.1 /28 to act as the routed gateway for all three sites but then if a device on vlan 10 at SiteB wishes to speak to a device on Vlan 20 also at SiteB, it must first send it's traffic over the trunk to it's Gateway at SiteA. Then from SIteA be routed back to SiteB.
This is you best and viable option, the traffic will need traverse a interconnect anyway and if vlan traffic needs to route off the vlan then it will need to hit a routed interface anyway, so just have 3 routed SVI and the 3 sites, it will also cut down on BUM traffic if you had a large single vlan
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