ProtoStackv0.1

Interactive Protocol Visualizer

Back to all protocols
IS-ISBFD
Network & CoreProfessional trackIntermediateOSI: Network LayerDefault Port: IP Protocol 112Standard: RFC 5798

VRRP

— Virtual Router Redundancy Protocol

VRRP groups two or more routers on a LAN into one virtual router. The elected Master answers all traffic sent to the shared virtual IP and virtual MAC address, while the remaining routers stay on hot standby and promote themselves within seconds when advertisements stop arriving.

Read first: IPv4Content reviewed 2026-11-18

Interactive Session: How VRRP Works

Step through the packet exchange sequence between nodes.

Interactive Execution Sandbox

Interact with a live or clearly-labelled simulated instance of VRRP.

Threat Model & Attack Simulation

How this protocol is attacked in practice, what defenders can see, and which control stops it.

Threat model & attack simulation

Simulated

Defensive education. Every step runs in this page; no traffic is generated or sent.

Attack library

VRRP master takeover

Spoofing

Forged advertisements with a higher priority make the attacker the virtual router master.

Attackersimulated
VRRPtarget
Attack step 1 of 3
Send advertisements

The attacker claims a higher priority for the same VRID.

What a defender can see

VRRP adverts from an unexpected MAC or priority.

Impact if unmitigated

Default-gateway interception or outage.

Defences that matter
  • VRRP authentication
  • Priority and source-address monitoring
  • First-hop security and port ACLs

This is a conceptual model for defenders, not an exploit toolkit. It contains no payloads, tooling or instructions for attacking systems you do not own.

Protocol Specification & Architecture

Key characteristics, real-world deployment patterns, and trade-offs.

Core Technical Features

  • Master election by highest priority, with 255 reserved for the address owner
  • Shared virtual MAC address 00:00:5E:00:01:{VRID} for the whole group
  • Advertisements every 1 second by default, carried in IP protocol 112
  • Preemption lets a recovered higher-priority router reclaim the Master role
  • VRRPv3 supports IPv4 and IPv6 with a simplified single advertisement format

Real-World Use Cases

  • Default gateway redundancy for office and campus VLANs
  • First-hop redundancy for server racks and hypervisor hosts
  • High-availability pairs of firewalls or load balancers

Advantages & Strengths

  • Failover in roughly three seconds with default timers and no host reconfiguration
  • Vendor-neutral and implemented by nearly every Layer 3 switch and router

Limitations & Vulnerabilities

  • Provides redundancy only, so the standby router capacity sits idle
  • Unauthenticated advertisements can be spoofed to hijack the virtual address