Skip to main content
intermediate Free with email

VRRP Explained: Election, Cisco Config and HSRP vs VRRP (Free PDF)

Reviewed 2026-11-10

Direct answer
VRRP (Virtual Router Redundancy Protocol) lets two or more routers share one virtual IP address, so hosts keep a working default gateway when a router fails. One router, the master, answers for the address and sends hellos. A backup takes over after it misses three. VRRP is an open IETF standard, defined today in RFC 9568.

What Is VRRP?

VRRP (Virtual Router Redundancy Protocol) lets two or more routers share one virtual IP address, so hosts keep a working default gateway when a router fails. One router, the master, answers for the address and sends hellos. A backup takes over after it misses three. VRRP is an open IETF standard. RFC 9568 (April 2024) now defines it and replaces RFC 5798.

Hosts have one default gateway. If that router dies, they can reach their own LAN and nothing else. VRRP removes the single point of failure without touching the hosts. They keep using the same gateway address.

TermMeaning
VRIDVirtual router ID, 1 to 255. You set it, there’s no default
Virtual IP (VIP)The gateway address the hosts use
MasterThe router forwarding for the VIP. RFC 9568 calls it the Active router, but Cisco output still says Master
BackupA router waiting to take over
Address ownerThe router whose own interface IP is the VIP. Its priority is 255

The free PDF on this page covers these terms on pages 1 and 2 and draws the two-router topology in Figure 1.

How Does VRRP Work?

Hosts send traffic for the gateway to the VIP. The master answers ARP for it with a virtual MAC address, 0000.5e00.01xx for IPv4, where xx is the VRID in hex (RFC 9568). IPv6 uses 0000.5e00.02xx.

Only the master talks. It sends an advertisement every second to 224.0.0.18 (IPv4) or ff02::12 (IPv6). VRRP isn’t TCP or UDP. It runs on IP protocol 112, with TTL 255, and a router must discard any VRRP packet whose TTL isn’t 255. A routed hop lowers the TTL, so only routers on the same LAN can join the group.

Backups stay silent and listen. When the advertisements stop, a backup waits for its down interval, then becomes master:

  • Down interval = 3 x advertisement interval + skew time
  • Skew time = (256 – priority) / 256 x advertisement interval

A backup with priority 100 and a 1 second interval waits 3 + 0.609 = 3.609 seconds. The PDF’s show vrrp output on page 5 shows exactly that figure. Failover takes about 3.6 seconds with defaults. HSRP’s default hold time is 10 seconds (Cisco Catalyst 9000 HSRP guide).

VRRP is a Layer 3 protocol with a Layer 2 virtual MAC. You configure it on the interface the hosts use as their gateway: a routed port, a VLAN interface or a dot1Q subinterface, as in our router-on-a-stick guide. For the VLAN side of that design, see VLAN vs subnet.

How VRRP works: hosts use the virtual IP, the master sends hellos to 224.0.0.18, the backup takes over after 3 missed hellos
How VRRP works: hosts use the virtual IP, the master advertises to 224.0.0.18, and a backup takes over after three missed hellos, about 3.6 seconds with default timers.

How Is the VRRP Master Elected?

Priority decides. Higher wins. The rules from RFC 9568, section 5.2.4:

  • Backups use 1 to 254. The default is 100.
  • The address owner is always 255. You can’t configure 255 with the priority command.
  • Priority 0 means the master has stopped participating, so a backup takes over.
  • On a tie, the router with the higher primary IP address wins.

Preemption is on by default. A router that comes back with a higher priority takes the master role again, and the address owner always does. That has a catch. Give two routers the same priority and the higher IP preempts as soon as it’s configured. Set different values, such as 120, 110 and 100. A preempt delay helps too. Cisco’s VRRPv3 guide shows preempt delay minimum 30.

Go deeper

The PDF explains the protocol.

Build a gateway failover yourself in the CCNA Lab Workbook: 75+ labs for EVE-NG and Packet Tracer.

See the CCNA Lab Workbook →

VRRP vs HSRP: What Are the Differences?

HSRP is Cisco’s first-hop redundancy protocol. Cisco documents it in an Informational RFC (RFC 2281), not an IETF standard. VRRP is the standard. Both do the same job.

HSRPVRRP
OriginCisco, RFC 2281 (Informational)IETF standard, RFC 9568
Role namesActive, StandbyMaster (Active in RFC 9568), Backup
Hello3 seconds1 second
Hold or down time10 seconds3 x hello + skew, about 3.6 seconds
PreemptionOff until you add standby preemptOn by default
Virtual IPCisco’s examples use a separate addressCan be the router’s own IP (priority 255)
Groups0 to 255 (v1), 0 to 4095 (v2)VRID 1 to 255
TransportUDP 1985IP protocol 112
Multicast224.0.0.2 (v1), 224.0.0.102 (v2)224.0.0.18, ff02::12
Virtual MAC0000.0c07.acXX (v1), 0000.0c9f.fXXX (v2)0000.5e00.01XX (IPv4), 0000.5e00.02XX (IPv6)
IPv6Yes, needs HSRPv2Yes, VRRPv3

Sources: Cisco’s HSRP configuration guide and Catalyst 9000 HSRP guide, and RFC 9568.

So which one? Most designs pick by hardware. An all-Cisco network can use either. Mixed vendors need VRRP, because it’s the only one of the two every vendor can run. The PDF’s comparison table sits on page 4.

HSRP vs VRRP defaults: HSRP hello 3s, hold 10s, preempt off; VRRP advert 1s, preempt on, IETF standard RFC 9568
HSRP vs VRRP: HSRP defaults to a 3 second hello, a 10 second hold and preemption off, while VRRP defaults to a 1 second advertisement and preemption on.

What’s the Difference Between VRRPv2 and VRRPv3?

VRRPv2 (RFC 3768)VRRPv3 (RFC 5798, now RFC 9568)
IP versionsIPv4 onlyIPv4 and IPv6
Interval unitSeconds, default 1Centiseconds in the RFC (default 100). Cisco’s CLI uses milliseconds, default 1000
AuthenticationRemoved from the RFCNone defined (RFC 9568, section 9)
Cisco syntaxvrrp 1 ip ...fhrp version vrrp v3, then address-family

RFC 3768 removed the authentication methods of the older RFC 2338. RFC 9568 says VRRP “does not currently include any type of authentication”, and Cisco’s VRRPv3 guide says the same of VRRPv3. Cisco says that when VRRPv3 is in use, VRRPv2 is unavailable, so a router runs one or the other.

How Do You Configure VRRP on Cisco?

Two routers, one VIP, 10.1.1.254. R1 gets the higher priority:

! R1: master (priority 120)
interface GigabitEthernet0/0
 ip address 10.1.1.1 255.255.255.0
 vrrp 1 ip 10.1.1.254
 vrrp 1 priority 120

! R2: backup (default priority 100)
interface GigabitEthernet0/0
 ip address 10.1.1.2 255.255.255.0
 vrrp 1 ip 10.1.1.254

The PDF’s lab (page 5) uses R1’s own address, 10.1.1.1, as the VIP. That makes R1 the address owner with priority 255, and it needs no priority command. Both ways work. That syntax is the legacy VRRPv2 style, and Cisco’s Catalyst 9000 VRRP guide still uses it. The VRRPv3 version of R1:

fhrp version vrrp v3
!
interface GigabitEthernet0/0
 vrrp 1 address-family ipv4
  address 10.1.1.254 primary
  priority 120
  preempt delay minimum 30

Check your platform first. Cisco’s Catalyst 9000 VRRP guide ties support to the C9350 and C9610 (IOS XE 17.18.1) and the C9550 (IOS XE 26.2.1ea), not to every model. To build this on a full topology, the CCNA Lab Workbook has first-hop redundancy labs for EVE-NG and Packet Tracer.

Cisco VRRP configuration in three steps: vrrp 1 ip 10.1.1.254, vrrp 1 priority 120, then show vrrp brief
Cisco VRRP configuration: create the group with vrrp 1 ip, raise R1’s priority to 120, then read the state with show vrrp brief.

How Do You Verify VRRP?

Run show vrrp brief for a one-line summary, then show vrrp for the detail. This is Cisco’s own sample from the VRRP configuration guide, trimmed. The values are examples, not defaults:

State is Master
Virtual IP address is 10.0.0.5
Virtual MAC address is 0000.5e00.010a
Advertisement interval is 10.000 sec
Preemption enabled, delay min 380 secs
Priority is 110
Master Router is 10.0.0.2 (local), priority is 110
Master Down interval is 30.570 sec

Read it top to bottom. The state says who’s master. The virtual MAC ends in 0a, which is VRID 10. The down interval checks out against the formula: 3 x 10 + 146/256 = 30.570. The show vrrp output tells you which router forwards and when a backup would take over.

That matters for the exam. CCNA v2.0 topic 3.4 reads “Interpret the operational status of First Hop Redundancy Protocols (HSRP and VRRP)” (v2.0 topics). The v1.1 topic is 3.5, “Describe the purpose, functions, and concepts of first hop redundancy protocols”, with no protocol named (v1.1 topics). v2.0 testing starts on 2027-02-03 (Cisco blog). Practise reading output with the free CCNA 200-301 PDF and the CCNA practice test PDF. The v2.0 Layer 2 security topic has its own guide, DHCP snooping, and so does TACACS+ vs RADIUS.

How Do VRRP Tracking and Load Sharing Work?

Tracking. VRRP only watches the LAN side. If the master’s uplink dies but its LAN port stays up, it keeps the role and drops traffic. Tracking fixes that. Cisco’s legacy syntax is vrrp group track object-number [decrement priority]. A tracked failure lowers the master’s priority, and a backup with preemption on takes over:

track 10 interface GigabitEthernet0/1 line-protocol
interface GigabitEthernet0/0
 vrrp 1 track 10 decrement 30

R1’s 120 drops to 90, below R2’s 100, so R2 preempts.

Load sharing. One VRID leaves the backup idle. RFC 9568 section 4.2 shows two virtual routers splitting the hosts. Each router is master for one VRID and backup for the other:

! R1, on GigabitEthernet0/0
vrrp 1 ip 10.1.1.254
vrrp 1 priority 120
vrrp 2 ip 10.1.1.253

! R2, on GigabitEthernet0/0
vrrp 1 ip 10.1.1.254
vrrp 2 ip 10.1.1.253
vrrp 2 priority 120

Point half the hosts at 10.1.1.254 and half at 10.1.1.253. If either router fails, the other becomes master for both.

VRRP load sharing with two VRIDs: R1 is master for VRID 1, R2 is master for VRID 2, and each router backs up the other
VRRP load sharing: two VRIDs split the hosts between 10.1.1.254 and 10.1.1.253, and the surviving router becomes master for both if one fails.

Why Isn’t VRRP Failing Over?

Work through these in order:

  1. Hellos don’t arrive. A switch, VLAN or ACL that drops 224.0.0.18 or IP protocol 112 leaves both routers thinking they’re master. Check show vrrp on each. Two Master lines mean the hellos aren’t crossing.
  2. A routed hop sits between them. The TTL must be 255, so the routers must share a LAN.
  3. VRID or VIP differs. A different VRID or virtual address makes two separate groups.
  4. Intervals differ. Use the same advertisement interval on every router in the group. MikroTik’s VRRP docs warn about mismatched intervals.
  5. Equal priorities. The higher IP wins the tie, and it may not be the router you meant.
  6. Version mismatch. Cisco’s VRRPv3 guide has a vrrpv2 sub-command for peers that only speak VRRPv2.
  7. Platform. Confirm VRRP exists on that model and interface.

Our network troubleshooting commands PDF and Cisco commands cheat sheet cover the rest of the toolkit. VRRP also won’t fix a Layer 2 loop, which is what Spanning Tree is for.

What’s Inside the Free VRRP PDF?

It’s a 7-page lesson:

  • Page 1: what VRRP is, with the two-router topology (Figure 1)
  • Page 2: terms, the address owner, history and versions
  • Pages 3 and 4: VRRPv2 vs VRRPv3, and VRRPv3 vs HSRPv2 tables
  • Page 5: the basic vrrp 1 ip config and show vrrp output
  • Page 6: election, priority 0 and 255, timers, preemption
  • Page 7: preemption side effects and use cases

It has no HSRP config, tracking, load sharing or troubleshooting. This page covers them. Two things differ from the PDF. The page follows RFC 9568 on authentication, because VRRPv3 defines none. And it shows the VRRPv3 syntax next to the legacy vrrp 1 ip form the PDF’s lab uses.

The CCNA Lab Workbook lists HSRP and first-hop redundancy among its topics, across 75+ labs and 950+ pages. VRRP isn’t on that list. On Huawei S-series switches, the Huawei HCIA Datacom Workbook names VRRP in its campus LAN build.

Free VRRP PDF vs the CCNA Lab Workbook: show vrrp output and an HSRP vs VRRP table versus FHRP and HSRP topics and 75+ labs
The free VRRP PDF gives you show vrrp output and an HSRP vs VRRP table. The CCNA Lab Workbook adds 75+ labs for EVE-NG and Packet Tracer and lists FHRP and HSRP as topics.

Frequently asked questions

What is the key difference between VRRP and HSRP?
VRRP is an open IETF standard (RFC 9568). HSRP is Cisco's protocol, documented in the Informational RFC 2281. VRRP's defaults are a 1 second hello, preemption on, and a virtual IP that can be a router's own address. HSRP's defaults are a 3 second hello, a 10 second hold time and preemption off.
Should VRRP priority be higher or lower?
Higher. The router with the highest priority becomes master. Backups use 1 to 254 and the default is 100. The address owner is always 255. On a tie, the router with the higher primary IP address wins.
How do I configure VRRP on a Cisco router?
On the gateway interface, enter vrrp 1 ip 10.1.1.254, then set a priority such as vrrp 1 priority 120 on the router you want as master. Repeat the first command on the backup. Preemption is on by default. Check the result with show vrrp brief.
Is VRRP Layer 2 or Layer 3?
Layer 3. VRRP runs on IP protocol 112, not on TCP or UDP. It gives the group a Layer 2 virtual MAC address, 0000.5e00.01xx for IPv4, where xx is the VRID in hex.
Is VRRP Cisco proprietary?
No. VRRP is an IETF standard, now defined in RFC 9568, so routers from different vendors can share a VRRP group. HSRP is the Cisco-originated protocol.
What are the VRRP multicast and MAC addresses?
VRRP advertisements go to 224.0.0.18 for IPv4 and ff02::12 for IPv6. The virtual MAC is 0000.5e00.01xx for IPv4 and 0000.5e00.02xx for IPv6, where xx is the VRID in hex.
How long does VRRP failover take?
About 3.6 seconds with defaults on a backup at priority 100. The down interval is 3 x the advertisement interval plus a skew time of (256 - priority) / 256 x the interval. With a 1 second interval, that's 3 + 0.609 seconds.
Can VRRP load balance traffic?
Not inside one group, because only the master forwards. You can split the load with two VRIDs. Each router is master for one and backup for the other, and half the hosts use each virtual IP (RFC 9568, section 4.2).
Does VRRP support authentication?
No. RFC 9568 says VRRP does not currently include any type of authentication, and Cisco's VRRPv3 guide says the same. RFC 3768 had already removed the authentication methods of the older RFC 2338.
Is VRRP on the CCNA exam?
Yes. CCNA 200-301 v2.0 topic 3.4 reads "Interpret the operational status of First Hop Redundancy Protocols (HSRP and VRRP)". The v1.1 topic 3.5 names no protocol. v2.0 testing starts on 2027-02-03.

Questions about this PDF

No questions yet. Ask the first one.

Ask a question

Your email address won't be published. We review every question before it appears. How we handle your data. Required fields are marked

Reviewed by

CCDE/CCIE

How to cite this resource

SMEnode Labs (2026). VRRP Explained: Election, Cisco Config and HSRP vs VRRP (Free PDF). SMEnode Labs. https://smenode-labs.com/free-pdf/networking/vrrp/

APA

SMEnode Labs. (2026). VRRP Explained: Election, Cisco Config and HSRP vs VRRP (Free PDF). SMEnode Labs. https://smenode-labs.com/free-pdf/networking/vrrp/

BibTeX

@misc{smenodelabs2026,
  title = {VRRP Explained: Election, Cisco Config and HSRP vs VRRP (Free PDF)},
  author = {{SMEnode Labs}},
  year = {2026},
  url = {https://smenode-labs.com/free-pdf/networking/vrrp/},
  note = {SMEnode Labs}
}