Use it when two routers are master at once, an unexpected router is master, or failover is slower than expected.
VRRP Packet Evidence
VRRP has one message, the advertisement, sent regularly by the current master. It carries the group number, the sender's priority and the interval; backups decide from it whether to stay passive or take over.
1. show vrrp brief on both routers — exactly one Master per group?
2. Two Masters → advertisements do not pass: VLAN or trunk fault, protocol 112 filtered, or different versions.
3. Unexpected Master → compare priorities; does one own the virtual IP?
4. Backup ignoring advertisements → interval or address mismatch in the log.
5. Slow failover → default timers; use version 3 with shorter intervals.
master sends advertisements at the agreed interval → backups receive them → same group, version, interval and addresses → backups stay passive → three missed → highest-priority backup becomes master
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show vrrp briefVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification workflow Verify boundary
show vrrp brief
show vrrp
show vrrp interface Vlan20
debug vrrp packets
The brief view lists each group with its priority, whether preemption is on, the state (Master or Backup), the master's address and the virtual IP. The full view adds the advertisement interval, the master-down interval and the priority of the current master as learned from its advertisements. The debug prints advertisements sent and received; use it briefly.
In a capture, filter on vrrp. Note which source addresses send for a given VRID, their priorities and the interval between packets.
Known-good: exactly one master per group, all routers agree on who it is, and the backups show the master's priority and a master-down interval of about three advertisement intervals.
Step 2 Failure isolation workflow Narrow the fault
- Two routers are master for the same group. Advertisements do not pass between them: VLAN or trunk fault, multicast or protocol 112 filtered, or different versions.
- The backup logs mismatched interval or address and ignores the advertisements. The groups are configured differently on the two routers.
- An unexpected router is master. It has the higher priority — or owns the virtual IP as its real address and therefore advertises 255.
- Failover takes several seconds. Default timers; use version 3 with shorter intervals if faster takeover is needed.
- The master role flaps. Advertisements are lost intermittently, so the backup's master-down interval sometimes expires.
- Two different groups interfere. Another pair of routers on the same VLAN uses the same VRID, and so the same virtual MAC.
- A firewall between the routers passes ping but not VRRP. IP protocol 112 must be permitted explicitly.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Sent to 224.0.0.18 as IP protocol 112 — not UDP or TCP — so firewalls must permit it explicitly. A backup takes over after about three missed advertisements. Group, virtual addresses, interval and version must match; versions 2 and 3 do not interoperate. Priority 255 means the sender owns the virtual IP.
show vrrp brief— group, priority, preempt, state, master address, virtual IP.show vrrp— advertisement interval, master-down interval, the master's priority.debug vrrp packets— advertisements sent and received; use briefly.- Capture filter
vrrp— sources per group, priorities, timing.
ReferenceWhat it is1 section · depth on demand
Mental model
VRRP has a single message: the advertisement, sent at a regular interval by the router that currently holds the virtual gateway address. It names the group, the sender's priority and the interval. The other routers in the group decide from it whether to stay in the background or take over.
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
Whether a backup takes over, and how quickly, depends entirely on the advertisements it does or does not receive. Two masters at once, an unexpected master, or a slow failover can each be explained from three fields — group, priority and interval — and from whether the packets arrive at all.
ReferenceHow it works1 section · depth on demand
How it works
Advertisements are sent to the multicast address 224.0.0.18 as IP protocol 112 — VRRP does not use UDP or TCP — with a TTL of 255, and from the virtual MAC address 00:00:5e:00:01:XX, where XX is the group number.
| Field | Meaning |
|---|---|
| Version | 2, or 3 (which adds IPv6 and sub-second timers) |
| Type | 1 — advertisement, the only type |
| Virtual router ID (VRID) | The group number, 1–255 |
| Priority | 1–254 as configured (100 by default); 255 if the sender owns the virtual IP as its real address; 0 when the master is giving up the role |
| Count and list of addresses | The virtual IP addresses of the group |
| Advertisement interval | Seconds in version 2; hundredths of a second in version 3 |
| Checksum |
How backups use it.
- As long as advertisements with a priority equal to or higher than their own arrive, backups stay passive.
- If none arrives for the master-down interval, a backup becomes master. The interval is three advertisement intervals plus a small skew time that is shorter for higher priorities — so the best backup acts first. With the one-second default it is a little over three seconds.
- An advertisement with priority 0 means the master is shutting down deliberately; the backups take over at once without waiting.
- With preemption — on by default — a router that sees an advertisement with a lower priority than its own takes over the role. Equal priorities are settled by the higher IP address.
What must agree. All routers of a group need the same VRID, the same virtual IP addresses, the same advertisement interval and the same version. Version 2 and version 3 routers do not understand each other. An advertisement arriving with a TTL other than 255 is discarded.
Since only the master sends, a capture normally shows one source per group. Two sources for the same group mean two masters.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
VRRP advertisements as evidence
VRRP has only one message type, the advertisement, so a capture shows everything about the group's state. RFC 5798 defines it:
- Addressing: sent to 224.0.0.18 (IPv4) or FF02::12 (IPv6) as IP protocol 112, with TTL or hop limit 255. Receivers discard any other TTL.
- Fields: version 3, the VRID, the sender's priority, the advertisement interval in centiseconds (default 100) and the virtual addresses.
- Priority 0: means the Master is giving up its role, so Backups take over without waiting.
Advertisement fields
| Field | Meaning | What to check |
|---|---|---|
| Version | 3 (2 for older IPv4-only VRRP) | The same on all routers in the group |
| Type | 1 (advertisement) | — |
| VRID | Group number 1–255 | Matches the virtual MAC's last byte |
| Priority | 1–254, 255 (owner), 0 (resigning) | Who should be Master |
| Max advertisement interval | Centiseconds | Mismatches cause instability |
| IP addresses | The virtual IP(s) | Identical on all members |
| Source IP | The sender's real interface address | Which router is Master |
Timers (RFC 5798)
| Timer | Formula | Default (priority 100) |
|---|---|---|
| Advertisement interval | Configured | 1 s |
| Skew time | (256 − priority) × interval / 256 | About 0.61 s |
| Master down interval | 3 × interval + skew | About 3.61 s |
Higher priorities have shorter skew times. The best backup therefore declares itself Master first when the advertisements stop.
Reading captures
| Observation | Meaning |
|---|---|
| Advertisements from one source only | A single Master: normal |
| Advertisements from two sources at once | Split brain: the routers don't hear each other (VLAN, ACL or trunk problem) |
| Priority 0 from the Master | Orderly hand-over (shutdown, tracking) |
| TTL below 255 | Crossed a router; will be ignored |
analyst$ sudo tcpdump -ni eth0 -v 'ip proto 112'
12:20:01.000 IP (tos 0xc0, ttl 255, proto VRRP (112), length 32) 10.110.0.2 > 224.0.0.18: vrrp 10.110.0.2 > 224.0.0.18: VRRPv3, Advertisement, vrid 110, prio 110, intvl 100cs, length 12, addrs: 10.110.0.1
analyst$ tshark -r vrrp.pcap -Y vrrp -T fields -e ip.src -e vrrp.prio -e vrrp.virt_rtr_id | sort | uniq -c
dist1# show vrrp detail | include State|Priority|Master|Advertisement
dist1# debug vrrp packets
Split brain
Two routers both claiming to be Master usually means the VLAN doesn't connect them, for example because it is missing from the trunk between the distribution switches. Fix the Layer 2 path. Changing priorities won't help.
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → VRRP Packet Evidence. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.