SOURCECODEBD.NET

Live Experience

GLBP Configuration with Load Balancing

 
Router1#
 
!
interface FastEthernet0/0
  ip address 192.168.1.2 255.255.255.0                   <- Make sure this IP is in the same network as your Gateway 1 IP.
  ip address 172.16.1.2 255.255.255.0 Secondary <- Make sure this IP is in the same network as your Gateway 2 IP.
  glbp 1 ip 192.168.1.1                                                  <- Your Virtual Gateway IP for Group 1
 glbp 1 weighting 100 lower 91 upper 99                 <- Threshold of 91-99 If it fails the weight will drop below 91 and state will be standby
  glbp 1 load-balancing round-robin                        <- Distributes Traffic as round-robin, Makes it True Load-balancing.
  glbp 1 weighting track 1                                               <- The weight is based on the Track 1 interface watching Serial 0/0/0.101
  glbp 2 ip 172.16.1.1                                                     <- Your Virtual Gateway IP for Group 2
  glbp 2 weighting 100 lower 91 upper 99                 <- Threshold of 91-99 If it fails the weight will drop below 91 and state will be standby.
  glbp 2 load-balancing round-robin                            <- Distributes Traffic as round-robin, Makes it True Load-balancing.
  glbp 2 weighting track 1                                              <- The weight is based on the Track 1 interface watching Serial 0/0/0.101
  no ip redirect                                                                   <- Does not redirect traffic if the router has to Resend to sender.
 
!
 
Router2#
 
!
interface FastEthernet0/0
 ip address 192.168.1.2 255.255.255.0                    <- Make sure this IP is in the same network as your Gateway 1 IP.
 ip address 172.16.1.2 255.255.255.0 Secondary <- Make sure this IP is in the same network as your Gateway 2 IP.
 glbp 1 ip 192.168.1.1                                                   <- Your Virtual Gateway IP for Group 1
 glbp 1 weighting 100 lower 91 upper 99                  <- Threshold of 91-99 If it fails the weight will drop below 91 and state will be Standby
 glbp 1 load-balancing round-robin                             <- Distributes Traffic as round-robin, Makes it True Load-balancing.
 glbp 1 weighting track 1                                               <- The weight is based on the Track 1 interface watching Serial 0/0/0.101
 glbp 2 ip 172.16.1.1                                                      <- Your Virtual Gateway IP for Group 2
 glbp 2 weighting 100 lower 91 upper 99                  <- Threshold of 91-99 If it fails the weight will drop below 91 and state will be standby
 glbp 2 load-balancing round-robin                             <- Distributes Traffic as round-robin, Makes it True Load-balancing. 
 glbp 2 weighting track 1                                               <- The weight is based on the Track 1 interface watching Serial 0/0/0.101
 no ip redirect                                                                  <- Does not redirect traffic if the router has to Resend to sender.
 
!
 
Verification:
 
Router1#show glbp
Router2#show glbp
You are here: Home / Switching / HOW TO GLBP LoadBalancing