How to configure GLBP

Cisco How-To Tutorials
The Gateway Load Balancing Protocol (GLBP) feature was integrated into Cisco IOS Software Release 12.2(15)T. Highly recommend that you use the Cisco Feature Navigator to find the latest information about platform support and Cisco IOS Software image support. Before configuring the GLBP feature, ensure that your Cisco routers can support multiple MAC addresses on the physical interfaces. Several Ethernet (LANCE and QUICC) controllers in low-end Cisco products can only have a single unicast MAC address in their address filter. To verify this, issue the show interfaces command, and ensure that the displayed hardware is neither LANCE nor QUICC. These controllers do not support association of multiple MAC addresses with the interface. Configuring basic GLBP is simple. The basic configuration closely resembles the Hot Standby Router Protocol (HSRP) configuration. The following sample configuration sets up two routers R1 and R2 as GLBP gateways serving the network with as the virtual gateway address. This is the default gateway that would be configured on all the hosts in the network, as shown:

R1# show running interface e0/0 ip address glbp 1 ip
R2# show running interface e0/0 ip address glbp 1 ip

The default mode for loadbalancing is round-robin. This can be changed issuing the glbp 1 load-balancing host-dependent interface command. When this command is configured, the Active Virtual gateway (AVG) ensures that a specific host gets its Address Resolution Protocol (ARP) mapping with the MAC address of the same AVF all the time. To perform unequal load balancing, issue the glbp 1 load-balancing weighted command. For more information on configuration, debug and verification of GLBP refer to: Gateway Load Balancing Protocol

View more Cisco How-To Tutorials

Contact Brad Reese

Join the Network World communities on Facebook and LinkedIn to comment on topics that are top of mind.

Copyright © 2008 IDG Communications, Inc.