HSRPcisco and VRRP are the most common gateway redundancy technologies. Similar to VRRP, HSRP is composed of multiple routers.
A vro is a virtual gateway, and a vro is active.
It is replaced by a device to implement transparent switching to users. However, we hope to achieve redundancy at the same time.
Load Balancing to make full use of the capabilities of the device, GLBP (cisco) provides both redundancy and load balancing capabilities.
The configuration steps are as follows:
Configure relevant ports, configure tracking, set gateway groups, set gateways based on different traffic, and set different priorities for mutual traffic distribution and replacement.
Hsrp
Router:
Interface f0/0
No shut
Ip add 192.168.0.1 255.255.255.0
Standby 1 ip 192.168.0.254
Standby 1 preempt
Standby 1 priority 120
Standby 1 track f0/1 30
Standby 1 authentication md5 key-string cisco
Standby 2 ip 192.168.0.253
Standby 2 preempt
Standby 2 authentication md5 key-string cisco
Router B:
Interface f0/0
No shut
Ip address 192.168.0.2 255.255.255.0
Standby 1 ip 192.168.0.254
Standby 1 preempt
Standby 1 authentication md5 key-string cisco
Standby 2 ip 192.168.0.253
Standby 2 authentication md5 key-string cisco
Standby 2 priotiry 120
Standby 2 track f0/1 30
Vrrp
Router:
Track 100 interface f0/1 line-protocol
Interface f0/0
Vrrp 1 ip address 192.168.0.254
Vrrp 1 priority 120
Vrrp 1 preempt
Vrrp 1 authentication md5 key-string cisco
Vrrp 1 track 100 decrement 30
Vrrp 2 ip address 192.168.0.253
Vrrp 2 preempt
Vrrp 2 authentication md5 key-string cisco
Router B:
Track 100 interface f0/0 line-protocol
Interface f0/0
Vrrp 1 ip address 192.168.0.254
Vrrp 1 preempt
Vrrp 1 authentication key-string cisco
Vrrp 2 ip address 192.168.0.253
Vrrp 2 preempt
Vrrp 2 priority 120
Vrrp 2 track 100 decrement 30
Vrrp 2 authentication md5 key-string cisco
Router:
Int f0/0
Glbp 1 ip address 192.168.1.254
Glbp 1 priority 200
Glbp 1 preempt
Glbp 1 authentication md5 key-string cisco
Router B:
Int f0/0
Glbp 1 ip address 192.168.1.254
Glbp 1 priority 180
Glbp 1 preempt
Glbp 1 authentication md5 key-string cisco
In this way, Gateway redundancy and load balancing can be achieved.