GLBP protocol
GLBP is the abbreviation for “Gateway Load Balancing Protocol”.GLBP is a virtual gateway protocol similar to HSRP and VRRP. However, unlike others, GLBP has capability of using multiple physical gateways simultaneously. In case of HSRP or VRRP, only one physical gateway in a standby/redundancy group is responsible for packet forwarding, others remain inactive in standby/backup state. GLBP has a little different mechanism of traffic forwarding. It elects one AVG (Active Virtual Gateway) for each group. Other group members act as backup of AVG. This is monitored using hello and holdtime timers, which are 3 and 10 seconds by default. The elected AVG then assigns a virtual MAC address to each member of the global load balancing protocol group, thus enabling AVFs (Active Virtual Forwarders). Each AVF assumes responsibility for forwarding packets sent to its virtual MAC address.
By default, GLBP routers use the local multicast address 224.0.0.102 to send hello packets to their peers every 3 seconds over UDP 3222 (source and destination).
Related – HSRP vs VRRP vs GLBP
There are multiple methods for load balancing:
- Round-robin: the AVG will hand out the virtual MAC address of AVF1, then AVF2, AVF3 and gets back to AVF1 etc.
- Host-dependent: A host will be able to use the same virtual MAC address of an AVF as long as it is reachable.
- Weighted: If you want some AVFs to forward more traffic than others you can assign them a different weight.
Below key points can summarise GLBP protocol:
- GLBP allows all the Gateways to forward the traffic simultaneously and additionally act as backup for each toher.
- AVG redundancy is controlled by GLBP priority and AVF redundancy is implemented using AVF weight value and two additional timers.
- By default, GLBP routers use the local multicast address 224.0.0.102 to send hello packets to their peers every 3 seconds over UDP 3222 (source and destination).
- Cisco implemented IPv6 support for GLBP in IOS release 12.2(33).
- This is monitored using hello and holdtime timers, which are 3 and 10 seconds by default
- GLBP uses load balancing mechanisms like – Round robin, Hosts dependent and weighted.
- GLBP routers use the local multicast address 224.0.0.102 to send hello packets operates on UDP port 3222
Below scenario is helpful in understanding the concept of GLBP and its supporting terms :
Routers R1 and R2 LAN Interfaces run GLBP (Group 1) as per below Configuration – The following is the output from “show glbp brief” which displays primary and backup AVG Router including details on Active Virtual forwarders:
R1(config)#interface FastEthernet0/1
R1(config-if)#ip address 192.168.0.252 255.255.255.0
R1(config-if)#glbp 1 ip 192.168.0.254R1(config)#interface FastEthernet0/0
R1(config-if)#ip address 192.168.12.1 255.255.255.0
R2(config)interface FastEthernet0/1
R2(config-if)ip address 192.168.0.253 255.255.255.0
R2(config-if)glbp 1 ip 192.168.0.254R2(config)interface FastEthernet0/0
R2(config-if)ip address 192.168.12.2 255.255.255.0
Interface Grp Fwd Pri State Address Active router Standby router
Fa0/1 1 – 100 Active 192.168.0.254 local 192.168.0.253
Fa0/1 1 1 – Active 0007.b400.0101 local –
Fa0/1 1 2 – Listen 0007.b400.0102 192.168.0.253 –
Interface Grp Fwd Pri State Address Active router Standby router
Fa0/1 1 – 100 Standby 192.168.0.254 192.168.0.252 local
Fa0/1 1 1 – Listen 0007.b400.0101 192.168.0.252 –
Fa0/1 1 2 – Active 0007.b400.0102 local –
If required , below commands can also be issued to show more detail on GLBP AVG and AVF details incuding AVG priority and AVF weights.
Tracing the route to 192.168.12.11 192.168.0.253 36 msec 72 msec 68 msec
2 192.168.12.1 124 msec 88 msec 92 msec
Tracing the route to 192.168.12.11 192.168.0.252 92 msec 72 msec 60 msec
Hence , the above output shows that both the gateways ie R1 and R2 and are active and simultaneously forward the traffic based on the decision taken by AVG active Router.
Below table shows commonly used GLBP commands to configure basic GLBP and to alter GLBP’s behavior:


