From wikistone
Revision as of 01:00, 21 December 2012 by Bill (talk | contribs)
Jump to: navigation, search

GLBP

Gateway Load Balancing Protocol

Cisco Proprietary. Provides redundancy and load balancing across up to 4 routers per group.

Uses 224.0.0.102 UDP 3222. AVG assigns virtual MACs to all AVFs. Load Balancing is achieved by AVG responding to ARPs with one of the virtual MACs. Default weight is 100.

Roles:

  • AVG: Active Virtual Gateway
  • AVF: Active Virtual Forwarder

Load Balancing:

  • Weighted: uses router's weight value
  • Host-Dependent: balanced by source MACs
  • Round-Robin: RR vMAC response to ARP. default

Commands

On all VRRP aware routers for a network, declare the VRRP group and IP on the network interface. Then set priority (optional) and preemption (optional).

(config-if)# glbp [0..1023] ip [virtual_ip_addr]
(config-if)# glbp [0..1023] priority [1..255]
(config-if)# glbp [0..1023] preempt [options]

Jack with timers to make it better.

(config-if)# glbp [0..1023] timers [msec] [hello#] [msec] [hold#]

Alter Load Balancing method:

(config-if)# glbp [0..1023] load-balancing [host | round | weight]

Track something. First weight the interface, then apply the track.

(config-if)# glbp [0..1023] weighting [1..254]
(config-if)# glbp [0..1023] weighting track [1..500] decrement [1..255]

.