Table of Contents Link to heading

VRRP vs HSRP: Why VRRP Exists Link to heading

HSRP is Cisco-proprietary — it works only between Cisco devices. In multi-vendor environments (Cisco + Juniper, Cisco + Arista, or any combination), HSRP cannot be used. VRRP (Virtual Router Redundancy Protocol) is the IETF open standard (RFC 3768 for VRRPv2, RFC 5798 for VRRPv3) that provides the same gateway redundancy function across any vendor platform that implements it.

Functionally, VRRP and HSRP serve the same purpose. The differences are in protocol mechanics, terminology, and version capabilities.

VRRP Fundamentals Link to heading

Info
VRRP presents a virtual IP address (VIP) to LAN hosts as their default gateway. One router is elected Master and owns the VIP; one or more routers are Backup and monitor the Master. If the Master fails, the highest-priority Backup takes over the VIP.

Key protocol parameters:

Parameter VRRPv2 VRRPv3
Standard RFC 3768 RFC 5798
IP protocol 112 112
Multicast address 224.0.0.18 224.0.0.18 (IPv4), FF02::12 (IPv6)
Advertisement interval 1 second (default) Configurable, centisecond granularity
Master down interval 3 × adv interval + skew Same calculation
Group number range 1–255 1–255
Virtual MAC format 0000.5e00.01XX 0000.5e00.01XX (IPv4), 0000.5e00.02XX (IPv6)
Default priority 100 100
Pre-emption Enabled by default Enabled by default
IPv6 support No Yes
Authentication Simple text (deprecated, removed in v3) None (relies on IPsec)
Note
Unlike HSRP, VRRP pre-emption is enabled by default. A router that comes online with a higher priority will immediately take over the Master role from the current Master. If this is not desired (e.g., during staged failover testing), explicitly disable pre-emption.

VRRP Roles and Master Election Link to heading

Role VRRP Term Function
Active Master Owns the virtual IP, forwards traffic, sends VRRP advertisements
Backup Backup Monitors the Master; takes over if Master stops advertising

Election process:

  1. Routers exchange VRRP advertisements containing their priority values
  2. The router with the highest priority becomes Master
  3. If priorities are equal, the router with the highest IP address wins
  4. Default priority is 100 for all routers except the IP address owner (see below)

Owner Router: A VRRP-Specific Concept Link to heading

VRRP has a concept that HSRP does not: the owner router. If a router’s real interface IP address matches the VRRP virtual IP, that router is the VIP owner and automatically gets priority 255 — the maximum possible. It will always be Master when it is operational, regardless of other routers’ priorities.

This allows a natural configuration where the primary gateway uses its own IP as the virtual IP:

interface GigabitEthernet0/1
 ip address 10.10.10.1 255.255.255.0
 vrrp 1 ip 10.10.10.1    ! Same as interface IP → this router is the owner, priority=255
Tip
Using the owner router pattern simplifies configuration because you don’t need to explicitly set priority — the owner is always preferred. However, it also means that if this specific router is unavailable, the virtual IP transitions to a backup with a lower priority. Design the priority values of backup routers accordingly.

Pre-emption Link to heading

VRRP pre-emption is enabled by default — the opposite of HSRP. When a higher-priority router comes back online, it will immediately send a VRRP advertisement with a higher priority, triggering the current Master to yield.

! Disable pre-emption if needed
vrrp 1 preempt disable

! Or set a pre-emption delay to allow routing convergence first
vrrp 1 preempt delay minimum 60

The delay is important in production: without it, a router that just completed a reload may take the Master role before its IGP has converged, briefly black-holing traffic despite being the “better” router.

VRRPv3: IPv4 and IPv6 Support Link to heading

VRRPv3 (RFC 5798) extends VRRP to support both IPv4 and IPv6 in the same framework and improves timer granularity to centiseconds (allowing sub-second failover without BFD).

Note
On Cisco IOS, VRRPv3 is enabled globally with fhrp version vrrp v3. Once enabled, the configuration syntax changes — you use vrrp <group> address-family ipv4 instead of the flat vrrp <group> ip syntax. VRRPv2 and VRRPv3 are not interoperable.

Configuration Link to heading

Basic VRRPv2 Configuration Link to heading

interface GigabitEthernet0/1
 ip address 10.10.10.2 255.255.255.0
 vrrp 1 ip 10.10.10.1
 vrrp 1 priority 110
 vrrp 1 preempt delay minimum 60
 vrrp 1 timers advertise 1
 vrrp 1 authentication md5 key-string VrrpKey123

VRRPv3 Configuration (IPv4 and IPv6) Link to heading

! Enable VRRPv3 globally
fhrp version vrrp v3

interface GigabitEthernet0/1
 ip address 10.10.10.2 255.255.255.0
 ipv6 address 2001:db8:1::2/64

 ! IPv4 group
 vrrp 1 address-family ipv4
  address 10.10.10.1
  priority 110
  preempt delay minimum 60

 ! IPv6 group
 vrrp 2 address-family ipv6
  address 2001:db8:1::1
  priority 110
  preempt delay minimum 60

Load Sharing with Multiple VRRP Groups Link to heading

Like HSRP, VRRP load sharing requires multiple groups with different Masters:

Example

R1 is Master for group 1 (VIP: 10.10.10.1), R2 is Master for group 2 (VIP: 10.10.10.254). Hosts are split between the two virtual gateways.

Router R1:

interface GigabitEthernet0/1
 ip address 10.10.10.2 255.255.255.0
 vrrp 1 ip 10.10.10.1
 vrrp 1 priority 120
 vrrp 1 preempt
 vrrp 2 ip 10.10.10.254
 vrrp 2 priority 90

Router R2:

interface GigabitEthernet0/1
 ip address 10.10.10.3 255.255.255.0
 vrrp 1 ip 10.10.10.1
 vrrp 1 priority 90
 vrrp 2 ip 10.10.10.254
 vrrp 2 priority 120
 vrrp 2 preempt

Interface Tracking Link to heading

VRRP can track an object (interface state, IP route reachability) and decrement priority when the tracked object goes down, triggering failover even when the VRRP interface itself remains up:

! Track the WAN uplink
track 1 interface GigabitEthernet0/0 line-protocol

interface GigabitEthernet0/1
 vrrp 1 ip 10.10.10.1
 vrrp 1 priority 120
 vrrp 1 preempt
 vrrp 1 track 1 decrement 30

If GigabitEthernet0/0 goes down, priority drops from 120 to 90 — below the backup’s 100 — triggering a Master election.

Verification Link to heading

show vrrp
show vrrp brief
show vrrp interface GigabitEthernet0/1
show vrrp interface GigabitEthernet0/1 detail

show vrrp brief shows each group’s virtual IP, current state (Master/Backup), priority, and Master router IP — the equivalent of show standby brief for HSRP.

VRRP vs HSRP: Key Differences Link to heading

Feature HSRP VRRP
Standard Cisco proprietary Open standard (RFC 3768 / 5798)
Terminology Active / Standby Master / Backup
IP protocol / port UDP 1985 IP protocol 112
Pre-emption default Disabled Enabled
Owner router concept No Yes — VIP owner gets priority 255
IPv6 support HSRPv2 only VRRPv3
Multicast address 224.0.0.2 (v1), 224.0.0.102 (v2) 224.0.0.18
Virtual MAC 0000.0c07.acXX (v1) 0000.5e00.01XX
Multi-vendor No Yes
BFD support Yes (IPv4 only) Yes