First Hop Redundancy protocol comparison (HSRP,VRRP,GLBP)
August 23, 2008 86 Comments
Protocol Features |
HSRP (Hot Standby Router protocol) |
VRRP (Virtual Redundancy Router Protocol) |
GLBP (Gateway Load Balancing Protocol) |
|
Router role | – 1 active router.- 1 standby router.- 1 or more listening routers. | – 1 master router.- 1 or more backup routers. | – 1 AVG (Active Virtual Gateway).- up to 4 AVF routers on the group (Active Virtual Forwarder) passing traffic.- up to 1024 virtual routers (GLBP groups) per physical interface. | |
– Use virtual ip address. | – Can use real router ip address, if not, the one with highest priority become master. | – Use virtual ip address. | ||
Scope | Cisco proprietary | IEEE standard | Cisco proprietary | |
Election | Active Router: 1-Highest Priority 2-Highest IP (tiebreaker) |
Master Router: (*) 1-Highest Priority 2-Highest IP (tiebreaker) |
Active Virtual Gateway: 1-Highest Priority 2-Highest IP (tiebreaker) |
|
Optimization features | Tracking |
yes |
yes |
yes |
Preempt |
yes |
yes |
yes |
|
Timer adjustments |
yes |
yes |
yes |
|
Traffic type | 224.0.0.2 – udp 1985 (version1) 224.0.0.102-udp 1985 (version2) |
224.0.0.18 – IP 112 | 224.0.0.102 udp 3222 | |
Timers | Hello – 3 seconds | Advertisement – 1 second | Hello – 3 seconds | |
(Hold) 10 seconds | (Master Down Interval)3 * Advertisement + skew time | (Hold) 10 seconds | ||
(Skew time)(256-priority) / 256 | ||||
Load-balancing functionality | – Multiple HSRP group per interface/SVI/routed int. | – Multiple VRRP group per interface/SVI/routed int. | Load-balancing oriented- Weighted algorithm.- Host-dependent algorithm.
– Round-Robin algorithm (default). |
|
Requires appropriate distribution of Virtual GW IP per Clients for optimal load-balancing.(generally through DHCP) | Requires appropriate distribution of Virtual GW IP per Clients for optimal load-balancing.(generally through DHCP) | Clients are transparently updated with virtual MAC according to load-balancing algorithm through ARP requesting a unique virtual gateway. |
* If the group VRRP Virtual IP on the master (higher priority) is the real IP configured on a different VRRP (Backup with lower priority) IOS will manage to make the VRRP router with the real IP, the master, by setting its priority to 255, knowing that the configurable range is [1-254].
Pingback: VRRP and Load Sharing « CCIE, the beginning!
Nice work buddy! I’m adding you on my favorite links.
Regards,
Carl
CarlProject.com
Pingback: GLBP (Gateway Load Balancing Protocol) « CCIE, the beginning!
for managing voice and signalling links between MSS and MGW HUAWEI with 2 GIABIT ETHERNET, 2 PE and 2 NE40 Router:
Wich is the best protocol to use to minimise the link switchover, VRRP or GLBP
Hi Salem,
GLBP is a Cisco proprietary protocol, which is not supported by Huawei, VRRP is standard protocol rfc3768, so for a mixed environments, configure VRRP with BFD for faster failure detection, you can also tune VRRP timer accordingly.
Note the advanced VRRP timer design, namely skew timer, which gives the Backup router with the highest priority (lowest skew value) better chance to take over the master mode.
Have a good design!
Hi,
I have some doubts.
I understand from configuration that you have made R3 as primary with priority of 200.So, it will act as AVG & R2 will act as standby AVG with default priority of 100.
I can see you have applied weight of 70 to R2 & 30 to R4.I have few questions in my mind
1. Do we have to enable weighting? ( as default is round robin)
Just read this command somewhere “glbp 10 load-balancing weighted ”
2.In this scenario R3 is primary.But how will the load balance take place?
Does a weighting of 70 to R2 mean that 70% of traffic will be diverted by AVG
to v-mac of R2 & rest 30% to v-mac of R4?
Does this mean that AVG in this case won’t forward any traffic by itself; i mean it won’t act as AVF?
I know, it’s long list of question.Will appreciate you in helping me out
Regards
Ravi Kumar
Hi Ravi, what configuration are you referring to?
Sir,
I am referring to GLBP configuration.
Regards
Ravi Kumar
Hello Ravi,
Sorry for the delay!
– I believe the local proportion is relative to AVG value, weight of 30 is ~42% of weight of 70.
– The command “glbp load-balancing weighted”
is generally configured on AVG router to make the load balancing method persistent on that gateway, (will use only “weighted”)
For example, if configure this command only on the AVG, and this last goes down, the standby AVG (next highest priority gateway) will fall back and dictate round-robin to all AVFs.
– In addition to The AVG role of a dispatcher (treat ARP requests and allocate gateways according to the LB algorithm) the AVG will consider itself as an AVF and forward traffic too.
Thanks!
Hello Guys,
This comparison led a little to confusion :
In VRRP normally the first criterium to select the master router is the IP of the VRRP group. If one of the routers uses this IP on an interface where the GLBP group is configured on, it will be the master of the group. Priority or highest IP won’t be taken into account. Right?
Cheers
Kristof
Sorry, replace GLBP by VRRP in my latest post … it should read “where the VRRP group is configured on, …”
Hi Kristof,
The 1st criterion looked up is the priority, otherwise the unicity of the IP addresses will make the difference.
I’m sorry to say but have a look at below link :
http://www.cisco.com/en/US/docs/ios/12_0st/12_0st18/feature/guide/st_vrrpx.html#wp1035078
VRRP priority section.
Thanks
Kristof
VRRP Router priority section.
Hi Kristof,
You are absolutely right and thank you for insisting to point it out.
Indeed, it would be logically inconsistent to have the same IP address in different devices, the virtual VRRP gateway and the Gateway in which the real ip is configured.
I 1st enabled VRRP virtual IP on a router (NOT the one configured with the physical IP) and the router started firing up “%IP-4-DUPADDR: Duplicate address 192.168.12.2 on FastEthernet0/0, sourced by 0000.5e00.010c “
And after including the router with the real IP in VRRP group with a lower priority “50”, IOS has ignored it and set its own priority of “255” (configurable range [1-254]) to be bigger than the previously configured VRRP master :
But this is ONLY the case when a real IP address is used as virtual IP.
Well done Kristoff.
Hi cciethebeginning,
No problem, I just wanted to make sure that what I learnt was right and therefore I researched a bit before commenting on your post. Apparently this priority criterion is not meant in the RFC describing VRRP. Seems to be a Cisco propietary thing 🙂
Kind regards,
Kristof
Great post. It would be nice if you pointed out the preempting defaults along with your note on preempt support:
HSRP – yes (does not preempt by default)
VRRP – yes (preempts by default; can be disabled)
GLBP – yes (AVG does not preempt by default – requires “glbp preempt”; AVF preemption uses weighting instead of priority and is enabled by default with a default “glbp forwarder preempt delay” of 30 seconds)
Pingback: Buy Guaranteed Facebook Fans
can have net file of this complete lab very nice explain keep updated like this with new stuffs and net file as well
There is a minor error where Traffic type for VRRP is mentioned in the article, it doesn’t use UDP 112 but IP Protocol number 112.
Indeed Bilal, I corrected it. Thank you, I appreciate your contribution.
I was thinking if VRF lite can be used for VRRP as well….Your blog is very informative, I have added your blog to blogroll.
Pingback: Starting CCIE Written. Just had "the talk" with Mrs. Zartan. - Page 5
Really good observation
Pingback: [2017 New] Cisco 300-115 Latest Dumps Free Download From Lead2pass (76-100) | VCE And PDF Dumps Of Lead2pass
Pingback: [2017 New] 300-115 Exam Dump Free Updation Availabe In Lead2pass (76-100) | Lead2pass Offers New Updated IT Exam Dumps Permanently
Pingback: [2017 New] Pass 300-115 Exam By Exercising Lead2pass Latest 300-115 VCE And PDF Dumps (76-100) | Lead2pass New Updated IT Exam Questions
Pingback: [2017 New] Ensure Pass 300-115 Exam By Training Lead2pass New PDF Dumps (76-100) | Lead2pass New Updated IT Exam Questions
Pingback: [2017 New] Ensure Pass 300-115 Exam With Lead2pass New 300-115 Brain Dumps (76-100) | 100% New Updated IT Exam Questions
Pingback: [2017 New] Quickly Pass 300-115 Test With Lead2pass New 300-115 Brain Dumps (76-100) | New Updated Lead2pass Exam Collection
Pingback: [2017 New] Updated 300-115 New Questions From Lead2pass Free Downloading (76-100) | Lead2pass All Latest Exam Questions
Pingback: [2017 New] 100% Free Lead2pass 300-115 New Questions Download (76-100) | 100% Pass with Lead2pass Exam Questions
Pingback: [2017 New] 100% Pass 300-115 Exam By Training Lead2pass New VCE And PDF Dumps (76-100) | Free Sharing Lead2pass Exam Collection
Pingback: [2017 New] 2017 Latest Lead2pass 300-115 Questions & Answers PDF Free Download (76-100) | 100% Free Lead2pass Exam Dumps Download
Pingback: [2017 New] 2017 Cisco 300-115 Dumps Free Download 100% Pass Promised By Lead2pass (76-100) | 100% Valid Exam Dumps on Lead2pass
Pingback: [2017 New] 2017 New 300-115 Exam PDF Ensure 300-115 Certification Exam Pass Successfully (76-100) | New Lead2pass PDF And VCE Ensure IT Exam Pass 100%
Pingback: [2017 New] 2017 New Released Cisco 300-115 Exam Dumps Free Download In Lead2pass (76-100) | 100% Free Lead2pass Practice Test Download
Pingback: [2017 New] 300-115 Exam Dumps Free Download In Lead2pass 100% 300-115 Exam Questions (76-100) | New Lead2pass VCE And PDF Free Instant Download
Pingback: [2017 New] 2017 Updated Lead2pass Cisco 300-115 Exam Questions (76-100) | 100% Pass IT Exam By Training Lead2pass New VCE And PDF Dumps
Pingback: [2017 New] 2017 New Lead2pass Cisco 300-115 Dumps Free Download (76-100) | New Released Exam Dumps Free Download In Lead2pass
Pingback: [2017 New] 2017 New 300-115 Exam PDF Ensure 300-115 Certification Exam Pass 100% (76-100) | Lead2pass New Updated IT Exam Questions
Pingback: [2017 New] Download Free Cisco 300-115 Exam Questions And Answers From Lead2pass (76-100) | Latest Dumps PDF Free Download In Lead2pass
Pingback: [2017 New] Dumps For Exam 300-115 With New Updated Exam Questions (76-100) | New Lead2pass Dumps PDF Version Released For Free Downloading
Pingback: [2017 New] Easily Pass 300-115 Exam By Training Lead2pass Latest VCE Dumps (76-100) | Offering New Exam PDF And Exam VCE Dumps For Free Downloading
Pingback: [2017 New] Easily Pass 300-115 Exam By Training Lead2pass New Cisco VCE Dumps (76-100) | Free Lead2pass Dumps VCE
Pingback: [2017 New] Easily Pass 300-115 Exam With Lead2pass New 300-115 VCE And PDF Dumps (76-100) | Ensure Pass IT Exam By Training Lead2pass New VCE And PDF Dumps
Pingback: [2017 New] Easily Pass 300-115 Exam With Lead2pass New Cisco 300-115 Brain Dumps (76-100) | Quickly Pass Test With Lead2pass New Brain Dumps
Pingback: [2017 New] 300-115 New Questions Free Download In Lead2pass (76-100) | New Lead2pass Practice Test Free Download
Pingback: [2017 New] 300-115 Exam Dumps New Updated By Cisco Official Exam Center (76-100) | Exam Dumps Free Download In Lead2pass
Pingback: [2017 New] Easily Pass 300-115 Exam With Lead2pass Updated Cisco 300-115 Dumps (76-100) | Updated Study Materials From Lead2pass Free Downloading
Pingback: [2017 New] Exam 300-115 PDF Free Instant Download From Lead2pass (76-100) | Best Lead2pass PDF Dumps With New Update Exam Questions
Pingback: [2017 New] Exam Collection 300-115 Dumps And 300-115 New Questions (76-100) | Lead2pass Dumps For Exam With New Updated Exam Questions
Pingback: [2017 New] Free 300-115 Exam Dumps With PDF And VCE Download (76-100) | Exam PDF Free Instant Download From Lead2pass
Pingback: [2018-April-New]Download Braindump2go 300-115 Dumps 478Q Free[85-95]Online Latest Braindump2go Microsoft Exam Dumps Free Share | Online Latest Braindump2go Microsoft Exam Dumps Free Share
Pingback: [2018-April-New]Download Braindump2go 300-115 Dumps VCE 478Q Free[85-95] | Offer Free Online Latest Braindump2go Microsoft Exam Dumps
Pingback: [2018-April-New]Download Braindump2go 300-115 VCE Dumps 478Q Free[85-95] | All Latest Braindump2go Certificate Exams Dumps
Pingback: [2018-April-New]Download Braindump2go 300-115 Exam Questions PDF 478Q Free[85-95] | | Free Braindump2go Microsoft Exam Dumps
Pingback: [2018-April-New]Download Braindump2go 300-115 PDF Dumps for Free[85-95] | | Free Download Latest Braindump2goCisco Exam Dumps
Pingback: [2018-April-New]Download Braindump2go 300-115 Dumps for Free[85-95] | Free Braindump2go Latest Microsoft Exam Dumps PDF&VCE
Pingback: [2018-April-New]Download Braindump2go 300-115 PDF Dumps for Free[85-95] | Free Braindump2go Latest Microsoft Exam Dumps
Pingback: [2018-April-New]Download Braindump2go 300-115 VCE Dumps for Free[85-95] | Free Latest Braindump2go IT Exam Dumps
Pingback: [2018-April-New]Download Braindump2go 300-115 Brain Dumps PDF for Free[85-95] | Free Download Braindump2go Latest Microsoft Exam Questions & Microsoft Exam Dumps
Pingback: [2018-April-New]Download Braindump2go 300-115 PDF and VCE Dumps for Free[85-95] | | Free Download Latest Braindump2go Microsoft Exam Dumps
Pingback: [2018-April-New]Download Braindump2go 300-115 PDF Dumps and 300-115 VCE Dumps Free[85-95] | Braindump2go Updated Real Microsoft MCTS Exam Questions & MCTS Dumps
Pingback: [2018-April-New]Download Braindump2go 300-115 Exam VCE and PDF for Free[85-95] | Collection of Latest Microsoft Exam Questions and Hot Exam Dumps
Pingback: [2018-April-New]Download Braindump2go 300-115 VCE Dumps and 300-115 PDF Dumps Free[85-95]Braindump2go Free Latest MCITP Exam Dumps | Braindump2go Free Latest MCITP Exam Dumps
Pingback: [2018-April-New]Real 300-115 Exam Dumps Free Download from Braindump2go[85-95] | Braindump2go Updated Real Microsoft MCITP Exam Questions
Pingback: [2018-April-New]Real 300-115 PDF Exam Dumps Free Download from Braindump2go[85-95] – Free Download Braindump2go MCSA Exam Questions & Dumps with PDF&VCE
Pingback: [2018-April-New]Real 300-115 Exam Dumps PDF Free Download from Braindump2go[85-95] | Braindump2go Free MCPD Exam Dumps, Exam Questions
Pingback: [2018-April-New]Real 300-115 Exam Dumps VCE Free Download from Braindump2go[85-95] | Updated Real Microsoft MCPD Exam Questions & MCPD Dumps
Pingback: [2018-April-New]Real 300-115 Dumps PDF Free Download from Braindump2go[85-95] | Updated Real Microsoft MCSE Exam Questions & MCSE Dumps
Pingback: [2018-April-New]Real 300-115 VCE Dumps Free Download from Braindump2go[85-95] | Braindump2go Updated Real Microsoft Exam Dumps PDF&VCE
Pingback: [2018-April-New]Real 300-115 VCE Free Download from Braindump2go[85-95] – Free Download Braindump2go Oracle OCA, OCP, OCM,Microsoft Exam Questions & Dumps with PDF&VCE
Pingback: [2018-April-New]Real 300-115 Brain Dumps PDF Free Download from Braindump2go[85-95] | Braindump2go Hot IT Certification Exam Questions
Pingback: [2018-April-New]Real 300-115 PDF Brain Dumps Free Download from Braindump2go[85-95] | Free Latest Braindump2go Exam Dumps
Pingback: [2018-April-New]Real 300-115 PDF Dumps Free Download from Braindump2go[85-95]Free Download Braindump2go VMware VCP510 & VCP550 Exam Dumps | Free Download Braindump2go VMware VCP510 & VCP550 Exam Dumps
Pingback: [2018-April-New]Real 300-115 PDF Dumps Free Download from Braindump2go[85-95] | Braindump2go Shares Latest IT Exam Dumps PDF&VCE
Pingback: [2018-April-New]Real 300-115 Exam PDF Free Download from Braindump2go[85-95] | Free IT Exam VCE Download - ExamCollection
Pingback: [2018-April-New]Real 300-115 Exam PDF and VCE Dumps Free Download from Braindump2go[85-95] | Free Exam Dumps PDF&VCE Examcollections
Pingback: [2018-April-New]Real 300-115 PDF and VCE Free Download from Braindump2go[85-95] | Braindump2go Free PDF&VCE Dumps Download - ExamCollection
Pingback: [2018-April-New]Real 300-115 PDF and VCE Dumps Free Download from Braindump2go[85-95] | Free IT Exam VCE&PDF Dumps Download On Braindump2go.com
Pingback: [2018-April-New]100% Real 300-115 Exam Dumps 478Q Free Download in Braindump2go[85-95] | Braindump2go Exam Dumps PDF&VCE Examcollections
Pingback: [2018-April-New]100% Real 300-115 Exam Dumps VCE 478Q Free Download in Braindump2go[85-95] | Braindump2go Free PDF Dumps and VCE Dumps Collection
Pingback: [2018-April-New]100% Real 300-115 Exam Dumps PDF 478Q Free Download in Braindump2go[85-95] | Braindump2go Valid IT Certification Exams PDF & VCE
Pingback: [2018-April-New]100% Real 300-115 PDF Exam Dumps 478Q Free Download in Braindump2go[85-95] | Braindump2go Free IT Certification Exams and Tests Collection