Skip to content
[menu]

FOUNDRYNETNo. 001SEPTEMBER 2026ROUTING

Original page: foundrynet.com/services/documentation/ecmg/VRRP.html (enterprise configuration guide, VRRP chapter, around 2004)

VRRP and VSRP: First-Hop Redundancy Explained

VRRP lets two or more routers share one gateway address so hosts keep a working default route when a router dies. Foundry extended it as VRRP-E and built VSRP to protect Layer 2 uplinks the same way.

On this pageWhy first-hop redundancy existsThe VRRP virtual routerPriority, preemption and the address ownerTracking and interface priorityVRRP versus HSRP versus GLBPFoundry heritage: VRRP-E and VSRPQuestions

01 /Why first-hop redundancy exists

Every host has one default gateway address. Dynamic routing protects paths between routers, but nothing in a host notices that its gateway has died; it keeps sending frames to a MAC that no longer answers until the ARP entry ages out, and even then has no second address to try. Two routers on the subnet are useless unless hosts reach whichever is alive through the same address. First-hop redundancy protocols make the gateway address virtual.

02 /The VRRP virtual router

A virtual router is identified by a VRID (1 to 255) and owns one or more virtual IP addresses plus a derived virtual MAC, 00-00-5E-00-01-VRID for IPv4. One participating router is master: it answers ARP for the virtual IP with the virtual MAC, forwards packets sent to that MAC, and multicasts an advertisement to 224.0.0.18 (IP protocol 112) at a fixed interval, one second by default. All others are backups and only listen.

VRRP on a server VLANVRRP ON A SERVER VLANHost AHost BHost CVIP 10.10.10.1VRID 1Router 1, master,pri 110Router 2, backup,pri 100HOSTS USE 10.10.10.1PHYSICAL ROUTERS
Hosts ARP for the virtual IP and receive the virtual MAC; whichever router is master forwards for it.

If the backups hear nothing for the master down interval (three advertisement intervals plus a small priority-weighted skew), the highest-priority backup declares itself master, sends a gratuitous ARP so switches relearn the virtual MAC on its port, and begins forwarding. Failover takes three to four seconds with default timers; RFC 5798 allows sub-second timers at the cost of more control traffic.

03 /Priority, preemption and the address owner

Priority runs 1 to 254, default 100. The router that actually has the virtual IP configured on its interface is the address owner and uses priority 255, so it always wins when up. Preemption, on by default, means a higher-priority router returning to service takes mastership back immediately, which is right for the owner but causes a second flap after a reboot. Many operators disable preemption on non-owner routers or add a delay so the returning router converges its routing protocols first.

04 /Tracking and interface priority

A master with a live LAN interface but a dead uplink is a black hole. Tracking ties the VRRP priority to the state of another interface or route: if the tracked uplink goes down, the priority drops by a configured amount, a backup with a healthier uplink becomes master, and traffic flows again. Track the uplink or the default route toward the core, not the LAN interface VRRP runs on.

Illustrative IronWare VRRP and VRRP-E shapes
! standard VRRP: this router owns the address
router vrrp
interface ve 10
 ip address 10.10.10.1 255.255.255.0
 ip vrrp vrid 1
  owner
  ip-address 10.10.10.1
  track-port ethernet 1/1
  activate
!
! VRRP-E: no owner, every router is a backup with a priority
router vrrp-extended
interface ve 10
 ip address 10.10.10.2 255.255.255.0
 ip vrrp-extended vrid 1
  backup priority 110
  ip-address 10.10.10.1
  activate
show ip vrrp
show ip vrrp-extended

05 /VRRP versus HSRP versus GLBP

Mixing vendors on one subnet requires standard VRRP.
ProtocolOriginForwarding routers per groupLoad sharing
VRRPIETF standard, RFC 3768 and RFC 5798One masterMultiple VRIDs with alternating priorities
HSRPProprietary; RFC 2281 is informationalOne activeMultiple groups
GLBPProprietarySeveral forwarders under one virtual IPBuilt in, per-host virtual MAC assignment
VRRP-EFoundry proprietary extensionOne master per VRID, no ownerMultiple VRIDs; later short-path forwarding

HSRP predates VRRP and works the same way with a different packet format and virtual MAC range. GLBP adds active/active forwarding under one virtual IP by handing out different virtual MACs in ARP replies. Standard VRRP achieves load sharing only by running two VRIDs with opposite priorities and pointing half the hosts at each. The same election protects a load balancer pair sharing a VIP.

06 /Foundry heritage: VRRP-E and VSRP

VRRP-E (VRRP Extended) on BigIron and FastIron Layer 3 switches removed the owner concept: the virtual IP is not configured on any real interface, every router is a backup with a priority, and the virtual address is never tied to a physical interface that could take it down. This made priorities symmetric and tracking simpler; later versions added short-path forwarding so a backup could route traffic it received directly instead of bridging it to the master. VRRP-E uses its own packet format and does not interoperate with standard VRRP.

VSRP (Virtual Switch Redundancy Protocol) applied the same election to Layer 2. A pair of aggregation switches ran VSRP on a VLAN; the master forwarded and the backup blocked its ports toward the access switches below, which could run VSRP-aware code to flush MAC tables on failover. Failover was sub-second, without spanning tree timers. The VSRP whitepaper was among the most linked documents on the original site. On Layer 3 models VSRP could also carry the gateway address, combining both roles in one protocol.

07 /Questions

What is the VRRP virtual MAC address?

00-00-5E-00-01-XX for IPv4, where XX is the VRID in hexadecimal, and 00-00-5E-00-02-XX for IPv6. The master answers ARP for the virtual IP with this MAC so hosts never relearn a gateway MAC when the master changes.

How fast does VRRP fail over?

With default timers, a backup declares itself master about three seconds after the last advertisement, plus a skew of up to one second. RFC 5798 permits centisecond advertisement intervals for sub-second failover where the control plane can sustain the rate.

Should I enable preemption?

Leave it on for the address owner so the intended master returns. On other routers, disable it or set a delay so a rebooted router does not take over before its routing protocols converge and cause a second outage.

What is the difference between VRRP and VRRP-E?

VRRP-E is a Foundry extension in which no router owns the virtual IP; all participants are backups with priorities, which allows symmetric configuration and load sharing. It uses a different packet format and only works between Foundry-derived platforms.

What did VSRP replace?

Spanning tree convergence on redundant uplinks. VSRP let two aggregation switches back each other up, one forwarding and one blocking toward the access layer, failing over in under a second where 802.1D took 30 to 50 seconds and RSTP was not yet widespread.

Sources

  • IETF RFC 3768, Virtual Router Redundancy Protocol (VRRP), 2004
  • IETF RFC 5798, Virtual Router Redundancy Protocol (VRRP) Version 3 for IPv4 and IPv6, 2010
  • IETF RFC 2281, Hot Standby Router Protocol (HSRP), informational, 1998
  • Foundry Networks, enterprise configuration guide VRRP chapter and VSRP whitepaper (original Foundry documentation, historical, around 2003 to 2006)