SOURCECODEBD.NET

Live Experience

HSRP Confuguration with Load Sharing

Router1
 
interface FastEthernet0/0
  description interface to LAN
  ip address 172.16.10.2 255.255.255.0        <- Make sure this IP is in the same subnet as your Virtual Gateway1 IP
  ip address 192.168.1.2 255.255.255.0 Secondary    <- Make sure this IP is in the same subnet as your Virtual Gateway2 IP
  standby 1 ip 172.16.10.1                          <- Virtual IP 1 (172.16.10.0 Network Takes Priority)
  standby 1 priority 115                    <- The Higher the Priority 
  standby 1 preempt                          <- Enables the router with the highest priority to immediately become the active router
  standby 2 ip 192.168.1.1                  <- Virtual IP 2
  standby 2 priority 100                        <- Lower Priority = Backup Route
  standby 2 preempt                          <- Enables the router with the highest priority to immediately become the active router
  
!
 
 
Router2
 
interface FastEthernet0/0
 description interface to LAN
 ip address 192.168.1.2 255.255.255.0       <- Make sure this IP is in the same subnet as your Virtual Gateway2 IP
 ip address 172.16.10.2 255.255.255.0 Secondary    <- Make sure this IP is in the same subnet as your Virtual Gateway1 IP
 standby 1 ip 172.16.10.1                 <- Virtual IP 1
 standby 1 priority 100                   <- Lower Priority = Backup Router
 standby 1 preempt                         <- Enables the router with the highest priority to immediately become the active router
 standby 2 ip 192.168.1.25                 <- Virtual IP 2 (192.168.1.0 Network Takes Priority)
 standby 2 priority 120                   <- The Higher the # The Higher the Priority
 standby 2 preempt                         <- Enables the router with the highest priority to immediately become the active router
 
!
 
Verification:
 
Router1# show standby
Router2# show standby
You are here: Home / Switching / HOW TO HSRP LoadSharing