Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Virtual IP · VRRP

Direct answer

The VRRP virtual IP is the default gateway shared by the routers in a VRID. It can be the real IP of one of the routers (the owner, which then is always Master) or a separate address in the subnet; the virtual MAC is 0000.5e00.01XX.

When to use this

Use it when the design or fault is specifically about the shared VRRP Layer-3 gateway address that remains stable for endpoints while Master ownership changes between routers. Stay on that boundary until configuration intent, live protocol state and the adjacent forwarding dependency agree.

First 30 seconds

1. The VRRP virtual IP is the hosts' gateway; it can be a real address of one router (owner).

2. Virtual MAC is 0000.5e00.01XX (XX = VRID).

3. Same VRID and address on all peers.

4. Hosts ARP to the virtual MAC.

5. Check subnet and VRID consistency.

Operational verification

host ARPs virtual IP → Master replies with VRRP MAC → host forwards to Master

Evidence · next step

Correct the VRID/VIP consistently, then verify endpoint gateway, ARP/CAM and failover.

Continue only after interpreting the current observation.
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 · Cisco IOS XE
Key commandshow vrrp interface <interface>
Scope / prerequisiteUse it when the design or fault is specifically about the shared VRRP Layer-3 gateway address that remains stable for e…
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence2
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

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

5 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 Operational verification and known-good state Verify boundary
show vrrp brief
show vrrp interface vlan 10 | include Virtual IP

The group address must be the same on every router in the group. The Own column shows Y on a router whose own interface address equals the virtual address. On a host, the default gateway should be the virtual address and its ARP entry the VRRP virtual MAC, 0000.5e00.01 followed by the group number in hex.

Known-good: one virtual address per group, identical on all routers, used by the hosts as default gateway.

Step 2 Verification & troubleshooting Narrow the fault

1. Compare the configured and displayed virtual IP on every VRRP peer.

2. Verify endpoint default-gateway configuration.

3. Check ARP for the virtual IP and trace the VRRP virtual MAC in the switch CAM table.

4. Confirm the virtual identity follows the Master after failover.

5. Verify upstream and return-path routing through the new Master.

Step 3 Failure signatures and troubleshooting branches Narrow the fault
  • The routers do not agree on the Master. They are configured with different virtual addresses for the same group.
  • One router is always Master and cannot be demoted. Its interface address is the virtual address, which makes it the owner with priority 255. Use a separate virtual address if that is not intended.
  • The virtual address is outside the interface subnet. It will not work as a gateway for the hosts.
  • Some hosts lose connectivity when a router fails. They use a router's real address as gateway.
Step 4 When the problem is really fixed Narrow the fault
  • The same virtual address is configured on all routers of the group.
  • Whether a router owns the address is a deliberate choice.
  • Hosts use the virtual address as default gateway.
  • A host's ARP entry for the gateway is the VRRP virtual MAC.
Step 5 Common mistakes Narrow the fault
  • Virtual IP outside the interface subnet.
  • Hosts configured with a real router IP.
Evidence references

Evidence · 2 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

command output · 1state · 1
Command lookup Jump straight to Cisco syntax
Key points

Do not infer service health from one role or command. For Virtual IP, distinguish configured intent, election/database state, installed forwarding state and the original workload result.

Key checks
  • show vrrp brief — Group address
  • show ip arp <virtual-ip> — VRRP MAC 0000.5e00.01XX
ReferenceWhat it is1 section · depth on demand

What it is

The VRRP virtual IP is the stable default-gateway address used by hosts. The current Master services that address, and a Backup can assume the virtual router without requiring endpoints to change their gateway configuration.

ReferenceWhy it matters1 section · depth on demand

Why it matters

Use the virtual IP as the durable host-facing gateway identity while each participating router keeps its own physical interface address for routing and management.

ReferenceImportant terms & boundaries4 sections · depth on demand

Key points

  • All routers in the same VRID must agree on the intended virtual IP
  • Hosts should use the virtual IP as their default gateway
  • For IPv4 VRRP, the virtual MAC is 0000.5e00.01XX where XX is the VRID in hexadecimal
  • The virtual identity should move to the new Master during failover
  • Correct VRRP role output does not show ARP/CAM state has converged correctly.

In depth

The VRRP virtual IP can be a separate address or one router's real address

The Cisco VRRPv3 guide describes address <ip> primary for the group's main virtual IP, and notes that secondary addresses need a primary on the same group. It also states that the IP address owner (the router whose interface address equals the virtual IP) acts as master.

! Option 1: separate virtual IP (most common)
C9300-A(config-if-vrrp)# address 10.20.0.1 primary
C9300-B(config-if-vrrp)# address 10.20.0.1 primary
! Option 2: owner model, VIP = router A's interface address
C9300-A(config)# interface Vlan30
C9300-A(config-if)# ip address 10.30.0.1 255.255.255.0
C9300-A(config-if)# vrrp 30 address-family ipv4
C9300-A(config-if-vrrp)# address 10.30.0.1 primary
C9300-A# show vrrp brief | include Vl30
  Vl30                30 IPv4 255     0  Y   Y  MASTER  10.30.0.1(local) 10.30.0.1

The owner always wins the election while it's up; Own Y marks it in show vrrp brief.

Separate VIP versus owner

Separate VIPOwner model
Addresses used3 (two interfaces + VIP)2
Master after recoveryDecided by priority and preemptionAlways the owner
Ping to the VIP from managementReaches the current masterReaches the owner, or the backup during failure
Typical useCampus and data-centre gatewaysSmall sites short of addresses

Virtual MAC

The guide shows the virtual MAC derived from the group ID, for example group 1 → 0000.5E00.0101. For group 20 it's 0000.5e00.0114. Hosts keep that MAC after a failover.

Rules

  • Use the same VIP and group number on all routers in the group.
  • Advertise the VIP as the default gateway (DHCP option 3).
  • Don't reuse a group number for another VIP in the same VLAN.
  • The guide's match-address option (on by default) checks that received advertisements carry the same primary address.

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.

Quick reference

The VRRP virtual IP can be the real interface address of one router (the owner, which then always has priority 255 and becomes Master) or an unused address in the subnet. The virtual MAC is 0000.5e00.01XX for IPv4, where XX is the VRID.

vrrp 20 address-family ipv4
 address 10.20.0.1 primary

Documented example, not captured output.

Using a separate virtual address (not owned) allows normal priority-based election and preemption control.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Mechanics and state ownership

The VRRP virtual IP represents the logical default gateway offered by a virtual router. Participating routers agree on the VRID and virtual address, while only the Master should actively own the forwarding role for that identity at a time. Endpoints keep the same default gateway through failover, with Layer-2 ownership of the corresponding virtual MAC moving to the new Master. The virtual IP must be valid in the intended subnet/VLAN context and must not conflict with unrelated devices. Testing only the physical interface addresses misses the core VRRP service boundary: the client-facing VIP, its ARP resolution and the forwarding path behind the current Master.

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 Routing → First Hop Redundancy → VRRP → Virtual IP. 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%
Embedded reference data

Quick lookup tables

VRRP IPv4 virtual identity

Map the VRID to the host-facing gateway identity.

ItemExample for VRID 10
Virtual IP10.10.10.1
VRID decimal10
VRID hexadecimal0A
Virtual MAC0000.5e00.010a
Endpoint behaviorKeep using the same virtual IP through Master changes

Virtual IP operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

BoundaryKnown-good for Virtual IPSuspicious signatureNext proof
IntentMatches the shared VRRP Layer-3 gateway address that remains stable for endpoints while Master ownership changes between routers designConfiguration differs from design/peerCompare effective configuration
Control-plane stateStable expected election/adjacency/LSA/role statemembers configured with different virtual IPs or VRIDs, a duplicate IP conflict, clients using a physical router address instead of the VIP, VIP ARP resolving incorrectly after failover, or a reachable VIP whose Master cannot forward beyond the local subnetInspect peer/database/election detail
ForwardingExpected RIB/FIB or virtual-gateway pathControl state exists but traffic path disagreesARP/MAC/RIB/FIB/CEF proof
ClosureOriginal test passes for explained reasonSymptom moved, was bypassed or role was forcedRegression test
Depth when you need it

Deep reference

Additional depth

Virtual MAC for IPv4

For IPv4, VRRP uses a virtual MAC in the form 0000.5e00.01XX where XX is the hexadecimal VRID. After Master movement, switch CAM state should point that virtual MAC toward the new Master while clients continue using the same virtual IP.

Confirmation

Confirm action

Continue?