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.
Virtual IP · VRRP
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.
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.
host ARPs virtual IP → Master replies with VRRP MAC → host forwards to Master
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
Operational reference
Fast context before you go deeper.
show vrrp interface <interface>Show Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & 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 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 · 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.
Detailed state shows a virtual IP that does not match the intended default gateway or the peer configuration.
state · Evidence referenceVRRP virtual MAC CAM path does not lead to the current MasterEndpoint ARP resolves the VIP to the expected VRRP virtual MAC, but the switch CAM table points that MAC away from the router currently reported Master.
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.
show vrrp brief— Group addressshow 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 VIP | Owner model | |
|---|---|---|
| Addresses used | 3 (two interfaces + VIP) | 2 |
| Master after recovery | Decided by priority and preemption | Always the owner |
| Ping to the VIP from management | Reaches the current master | Reaches the owner, or the backup during failure |
| Typical use | Campus and data-centre gateways | Small sites short of addresses |
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-addressoption (on by default) checks that received advertisements carry the same primary address.
Documented example, not captured output.
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.
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
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 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%Quick lookup tables
VRRP IPv4 virtual identity
Map the VRID to the host-facing gateway identity.
| Item | Example for VRID 10 |
|---|---|
| Virtual IP | 10.10.10.1 |
| VRID decimal | 10 |
| VRID hexadecimal | 0A |
| Virtual MAC | 0000.5e00.010a |
| Endpoint behavior | Keep 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.
| Boundary | Known-good for Virtual IP | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches the shared VRRP Layer-3 gateway address that remains stable for endpoints while Master ownership changes between routers design | Configuration differs from design/peer | Compare effective configuration |
| Control-plane state | Stable expected election/adjacency/LSA/role state | members 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 subnet | Inspect peer/database/election detail |
| Forwarding | Expected RIB/FIB or virtual-gateway path | Control state exists but traffic path disagrees | ARP/MAC/RIB/FIB/CEF proof |
| Closure | Original test passes for explained reason | Symptom moved, was bypassed or role was forced | Regression test |
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.