cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
680
Views
0
Helpful
3
Replies

How to use the 'standby' gateway in a redundancy pair

paul.l.kyte
Level 1
Level 1

I'm trying to find out how i can set up a redundant gateway on a pair of catalyst switches for a vlan where they have a virtual ip address and the clients in that VLAN use the gateway on their local switch regardless of whether its active or standby. HSRP doesn't provide this, only the active VIP is used.

I was once shown a feature where this could be done but cannot remember it. If someone knows of the feature can they please advise. If anyone knows af a solution where clients on switch 1 can use the gateway on that switch and those on switch 2 use the gateway on that. They need to have the same gateway address as I don't want to configure differnet gateways on the client devices, they need to be configured with a single IP address.

Thanks

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni

Hi

maybe GLBP as its all active /active on both switches unlike hsrp/vrrp where its active/standby is that what you mean

GLBP is a load balancer and therefore the clients may not always get their nearest gateway i.e. they get a gateway that is a couple of switch hops away, I want them to use there nearest local gateway that is on the switch they are connected to.  I need to guarantee they will use the nearest gateway rather than a distant one.

Thanks

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

I'm unaware of any protocol that supports L2 gateways with that capability.

Providing it would be a rather difficult to impossible, as "normal" L2 traffic doesn't see L2 hops.  Consider if your L2 switches were unmanaged switches.

What you might do, if using the "closest" gateway is paramount, is use different GW IPs, and insure the hosts closest to particular GW used it.  For redundancy, something like mHSRP would allow another GW to be a fallback.  I.e., for example, GW A might be the active for .1, while being the backup for .2 and GW B might be the active for .2 while being the backup for .1.

Of course, what I just described would be do the trick for traffic from a host to the GW, but return traffic, i.e. traffic from GW to host, wouldn't know which GW to use that was closest to a particular host.  For that, you would need different subnets.  Again, you could have hosts closest to one GW use one subnet and make that GW the preferred GW for both ingress and egress while using another GW as a backup.

Review Cisco Networking for a $25 gift card