GLBP explained: load balancing the default gateway with AVG and AVF on Cisco IOS
In short: HSRP and VRRP give you a backup gateway, but only one router forwards at a time. GLBP keeps one virtual IP address and lets up to four routers forward at once. The active virtual gateway answers ARP requests with different virtual MAC addresses, so hosts are spread across the routers.
The problem GLBP solves
With HSRP or VRRP, two routers share a virtual gateway address but only the active one forwards traffic. The standby router and its uplink sit idle until something fails. You can work around this by running two groups and giving half the VLANs one active router and half the other, but that only balances per VLAN. Cisco's Gateway Load Balancing Protocol (GLBP) balances hosts within one VLAN while keeping a single gateway address.
How it works
- Active virtual gateway (AVG). One router in the group is elected AVG (highest priority, then highest IP). It owns the virtual IP and replies to every ARP request for it.
- Active virtual forwarders (AVFs). The AVG gives each router in the group, itself included, a virtual MAC address (0007.b400.GGFF, where GG is the group and FF the forwarder number). Up to four forwarders are supported.
- Spreading hosts. When PC-A asks "who is 10.1.10.1?", the AVG answers with forwarder 1's MAC. When PC-B asks, it answers with forwarder 2's MAC. Both PCs think they use the same gateway, but their frames go to different routers.
- Failover. If a forwarder fails, another router takes over its virtual MAC, so hosts using it keep working without re-ARPing.
Configuration
interface Vlan10
ip address 10.1.10.2 255.255.255.0
glbp 10 ip 10.1.10.1
glbp 10 priority 110
glbp 10 preempt
glbp 10 load-balancing round-robin
glbp 10 weighting 100 lower 70 upper 90
glbp 10 weighting track 1 decrement 40
!
track 1 interface GigabitEthernet0/0 line-protocol
The second router uses the same group and virtual IP with a lower priority. Load-balancing methods are round-robin (default, next forwarder each time), weighted (in proportion to each router's weighting) and host-dependent (the same host always gets the same forwarder, useful for applications that dislike changing MAC addresses).
Weighting replaces HSRP-style priority decrements for forwarding. In the example, if the tracked uplink fails the weighting drops from 100 to 60, below the lower threshold of 70, so this router stops acting as a forwarder until it recovers above 90.
Checking it
show glbp brief lists the AVG and each forwarder with its state. show glbp gives the detail, including which virtual MAC each forwarder owns and how many clients have been given it.
When not to use GLBP
- It is Cisco proprietary, so mixed-vendor pairs need VRRP.
- Many modern campus designs route at the access layer or use stacked or virtual switch pairs with multichassis EtherChannel, which already uses both uplinks without any FHRP tricks.
- Catalyst 9000 support depends on platform and licence, so check before you design around it.
Real-world example: two internet links, one used
A school had two routers, each with its own 500 Mbps internet link, protected with HSRP. The second link carried almost nothing. Switching the staff VLAN to GLBP with weighted load balancing spread the laptops across both routers within an hour, as ARP entries refreshed. Peak-time downloads became noticeably faster, and when one ISP had an outage, the other router took over the missing forwarder in a few seconds.
Practice
What does the GLBP AVG do?
How many active virtual forwarders can one GLBP group have?
Which load-balancing method always gives the same host the same forwarder?
Key takeaways
- GLBP keeps one virtual gateway IP but lets several routers forward at once.
- The AVG answers ARP with different virtual MACs; each AVF owns one MAC.
- Round-robin, weighted and host-dependent methods decide how hosts are spread.
- GLBP is Cisco-only; VRRP or MEC designs are common alternatives.
Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.