Friday, December 7, 2012

Cisco GLBP( Gateway Load Balancing Protocol) config sample

Router 1(  R1 ) with WAN connection, Router 2 (R2) with WAN connection also. We want to setup router hardward redundancy and traffic load balancing with weight on the gateway.
Here is the example.

On R1.
track 1 ip route 0.0.0.0 0.0.0.0 reachability

interface FastEthernet0/0
 mac-address aaaa.aaaa.aaaa
 ip address 208.x.x.254 255.255.255.0
 glbp 100 ip 208.x.x.1
 glbp 100 preempt
 glbp 100 load-balancing weighted
 glbp 100 weighting 200
 glbp 100 weighting track 1 decrement 200


On R2.
track 1 ip route 0.0.0.0 0.0.0.0 reachability

interface FastEthernet0/0
 mac-address cccc.cccc.cccc
 ip address 208.x.x.253 255.255.255.0
 glbp 100 ip 208.x.x.1
 glbp 100 priority 90
 glbp 100 preempt
 glbp 100 load-balancing weighted
 glbp 100 weighting track 1 decrement 100