Huawei GLBP Replacement Technology White Paper
Huawei GLBP Replacement Technology White Paper
White Paper
Issue 01
Date 2015-11-11
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees or
representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
This document compares Cisco Gateway Load Balancing Protocol (GLBP) with the Virtual
Router Redundancy Protocol (VRRP) and provides GLBP configuration procedures in hybrid
networking scenarios.
Intended Audience
This document is intended for:
Network planning engineers
Commissioning engineers
Data configuration engineers
Onsite maintenance engineers
Network monitoring engineers
System maintenance engineers
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol Description
Indicates a hazard with a high level or medium level of risk
which, if not avoided, could result in death or serious injury.
Change History
Changes between document issues are cumulative. The latest document issue contains all the
changes made in earlier issues.
Issue 01 (2003-05-20)
This issue is the first official release.
Contents
4 References ............................................................................................................................... 11
1 Overview
Master election. Since one virtual MAC address is unavailable but is still used by users for
forwarding packets, a buffer time is required to switch to another virtual MAC address for
forwarding packets. GLBP uses two timers to process packets sent from the original virtual
MAC address. Before the first timer expires, the AVG can still uses the original virtual MAC
address to respond to ARP request packets. Before the second timer expires, the packets from
the original virtual MAC address can still be forwarded.
Sh
ge
Re wn m
u
nm sa
sa
tD
e
me s a
ag
ce
es
o
o w i ve
ss
tup eive
i ve e ssa
utD ece
s a ge
St Rec
Sh R
ar
Receives a packet for assigning
a virtual MAC address
UNKNOWN: The initial status of all members in a GLBP group is UNKNOWN. When
attributes are configured for the group members or member interfaces are Up, the
members' states become UNKNOWN.
LISTEN: When a GLBP group in UNKNOWN state receives a Startup message, the
group changes its GLBP state to LISTEN.
ACTIVE: When a GLBP group in LISTEN state receives a packet for assigning a virtual
MAC address, the group changes its GLBP state to ACTIVE.
1.3 VRRP
VRRP is defined by RFC2338, providing the backup mechanism for devices in LANs.
Initialize
wn tec k
. tion
Do De e lin
Th nk B
n ing r th
e
li
lin FD
si o r d o
es wa wn
k se
i s ss
) s For t do
sh i o
is
nd
ut n i
u
o
(B tion s sh
do s D
sh
wn o
ut
i
FD al
re l i n k
do
or wn .
w
Bi he
th
c
e
T
di
Master Backup
Master: A master router forwards gateway traffic, responds to ARP request packets, and
periodically sends VRRP protocol packets destined for the multicast IP address
224.0.0.18 to maintain the active/standby device status in the VRRP group.
Backup: A backup router monitors heartbeat packets from the master router. If the
priority changes or the backup router does not receive any packets from the master router
within the Master_Down_Interval, the backup router becomes the master, but does not
forward traffic or respond to ARP request packets destined for the virtual IP address.
Initialize: When the VRRP-enabled interface is down, the device in Initialize state does
not process VRRP packets, forward traffic, or take part in the active/standby device
election in the VRRP group.
1.4 LBRG
Load-Balance Redundancy Group (LBRG) is a protocol extended by Huawei based on VRRP.
The LBRG feature is supported by Huawei CE series switches and will be supported by later
versions of Sx700 series campus switches in the future.
VMAC:0000-5E00-0101 Device 1
VMAC:0000-5E00-0102
Gatway: 1.1.1.1
VMAC:0000-5E00-0103
IP/MPLS
Gatway: 1.1.1.1 Core
Switch
Internet
Gatway: 1.1.1.1
VMAC:0000-5E00-0102
Device 2
Implementation: LBRG uses a virtual IP address to respond to packets from different virtual MAC addresses. User
traffic is directed to and load balanced among outbound interfaces based on virtual MAC addresses.
Solution: 1. Set VRRP1 as the LBRG, and add VRRP2 and VRRP3 to the LBRG.
2. The active device in VRRP1 responds to ARP request packets when VRRP1 is used as the user gateway.
3. VRRP1 responds to ARP request packets with a virtual MAC address that is selected from the LBRG using the
hash algorithm based on the user's IP address and MAC address.
4. VRRP1 cannot send gratuitous ARP packets after it is set as the LBRG.
Gatway: 1.1.1.1
Initialize
k
ss i n l i n
Th B n
e idir ( B
wn ) se ard the
De
lin ec FD
ion g
is
te
Do FD orw or
k i tio )
cti
s s n se
( B l F wn
h u a l F ss
on na do
t d or ion
U
cti tio t
te rec shu
nd
ow wa is
.
n rd D o
sh
De idi is
or ing w
ut
B nk
do
th
li
e
w
e
Th
lin
k
Master: A master router forwards gateway traffic, responds to ARP request packets, and
periodically sends VRRP protocol packets destined for the multicast IP address
224.0.0.18 to maintain the active/standby device status in the VRRP group.
Backup: A backup router monitors heartbeat packets from the master router. If the
priority changes or the backup router does not receive any packets from the master router
within the Master_Down_Interval, the backup router becomes the master, but does not
forward traffic or respond to ARP request packets destined for the virtual IP address.
Initialize: When the VRRP-enabled interface is down, the device in Initialize state does
not process VRRP packets, forward traffic, or take part in the active/standby device
election in the VRRP group.
2 Replaceability Analysis
A GLBP group consists of Device 1 and Device 2, which bear the load balancing function of
redundant gateways.
Configuration Methods
Configure VLANIF interfaces and GLBP groups on the VLANIF interfaces.
Configuration Files
Cisco:
Configuration file of Device 1
conf t int vlan 1
ip address 10.21.8.1 255.255.255.0
glbp 10 ip 10.21.8.10
glbp 10 timers 5 18
glbp 10 priority 120 end
Configuration file of Device 2
conf t int vlan 1
ip address 10.21.8.1 255.255.255.0
glbp 10 ip 10.21.8.10
glbp 10 timers 5 18
glbp 10 priority 100 end
Huawei:
Configuration file of Device 1
int vlan 1
ip address 10.21.8.1 255.255.255.0
vrrp vrid 10 virtial-ip 10.21.8.10 vrrp vrid 10 load-balance
vrrp vrid 10 priority 120
vrrp vrid 11
vrrp vrid 11 join load-balance vrid 10
Configuration file of Device 2
int vlan 1
ip address 10.21.8.1 255.255.255.0
vrrp vrid 10 virtial-ip 10.21.8.10 vrrp vrid 10 load-balance
vrrp vrid 11
vrrp vrid 11 priority 120
vrrp vrid 11 join load-balance vrid 10
4 References