VRRP
— Virtual Router Redundancy ProtocolVRRP 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.
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
SimulatedDefensive education. Every step runs in this page; no traffic is generated or sent.
VRRP master takeover
SpoofingForged advertisements with a higher priority make the attacker the virtual router master.
Send advertisements
The attacker claims a higher priority for the same VRID.
VRRP adverts from an unexpected MAC or priority.
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