Introduction to Gateway Redundancy Protocols

Gateway redundancy protocols provide high availability and fault tolerance for network gateways by allowing multiple routers to share a virtual IP address. If the active gateway fails, another router in the group takes over, ensuring seamless connectivity for clients.

The three main gateway redundancy protocols are:

  1. HSRP (Hot Standby Router Protocol) – Cisco proprietary
  2. VRRP (Virtual Router Redundancy Protocol) – Open standard
  3. GLBP (Gateway Load Balancing Protocol) – Cisco proprietary with load balancing

1. Hot Standby Router Protocol (HSRP)

Overview

Basic HSRP Configuration

RouterA(config)# interface GigabitEthernet0/1
RouterA(config-if)# ip address 192.168.1.2 255.255.255.0
RouterA(config-if)# standby 1 ip 192.168.1.1
RouterA(config-if)# standby 1 priority 110
RouterA(config-if)# standby 1 preempt
RouterA(config-if)# standby 1 authentication md5 key-string MyKey

2. Virtual Router Redundancy Protocol (VRRP)

Overview

Basic VRRP Configuration

RouterA(config)# interface GigabitEthernet0/1
RouterA(config-if)# ip address 192.168.1.2 255.255.255.0
RouterA(config-if)# vrrp 1 ip 192.168.1.1
RouterA(config-if)# vrrp 1 priority 110
RouterA(config-if)# vrrp 1 preempt

3. Gateway Load Balancing Protocol (GLBP)

Overview

Basic GLBP Configuration

RouterA(config)# interface GigabitEthernet0/1
RouterA(config-if)# ip address 192.168.1.2 255.255.255.0
RouterA(config-if)# glbp 1 ip 192.168.1.1
RouterA(config-if)# glbp 1 priority 110
RouterA(config-if)# glbp 1 preempt
RouterA(config-if)# glbp 1 load-balancing round-robin

Troubleshooting HSRP and VRRP

1. Verify Protocol Status

2. Check Multicast Communication

3. Verify Interface Status

4. Check Priority and Preemption

5. Test Failover


Comparison of HSRP, VRRP, and GLBP

FeatureHSRPVRRPGLBP
StandardCiscoOpenCisco
Load BalancingNoNoYes
PreemptionOptionalDefaultYes
Active RouterSingleSingleMultiple
Virtual MACYesYesYes

Conclusion

renjithbs Avatar

Posted by

Leave a comment