Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

VRRP Packet Evidence

Direct answer

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.

When to use this

Use it when two routers are master at once, an unexpected router is master, or failover is slower than expected.

First 30 seconds

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.

Operational verification

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
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE
Key commandshow vrrp brief
Scope / prerequisiteUse it when two routers are master at once, an unexpected router is master, or failover is slower than expected.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

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.

Key checks
  • 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.

FieldMeaning
Version2, or 3 (which adds IPv6 and sub-second timers)
Type1 — advertisement, the only type
Virtual router ID (VRID)The group number, 1–255
Priority1–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 addressesThe virtual IP addresses of the group
Advertisement intervalSeconds 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

FieldMeaningWhat to check
Version3 (2 for older IPv4-only VRRP)The same on all routers in the group
Type1 (advertisement)—
VRIDGroup number 1–255Matches the virtual MAC's last byte
Priority1–254, 255 (owner), 0 (resigning)Who should be Master
Max advertisement intervalCentisecondsMismatches cause instability
IP addressesThe virtual IP(s)Identical on all members
Source IPThe sender's real interface addressWhich router is Master

Timers (RFC 5798)

TimerFormulaDefault (priority 100)
Advertisement intervalConfigured1 s
Skew time(256 − priority) × interval / 256About 0.61 s
Master down interval3 × interval + skewAbout 3.61 s

Higher priorities have shorter skew times. The best backup therefore declares itself Master first when the advertisements stop.

Reading captures

ObservationMeaning
Advertisements from one source onlyA single Master: normal
Advertisements from two sources at onceSplit brain: the routers don't hear each other (VLAN, ACL or trunk problem)
Priority 0 from the MasterOrderly hand-over (shutdown, tracking)
TTL below 255Crossed 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Terminology layer

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.

Aliases that resolve here
vrrp packetvrrp priority
Confirmation

Confirm action

Continue?