LOGBOOK

HELP

Quiz Entry - updated: 2026.07.05

What is a virtual router in the context of FHRPs, and how does it use shared IP and MAC addresses?

A virtual router is a logical router presented to hosts by multiple physical routers working together. It has its own virtual IP (Internet Protocol) address (used as default gateway) and virtual MAC (Media Access Control) address (resolved via ARP (Address Resolution Protocol)).

R1 active and R2 standby back one virtual IP/MAC; hosts use the virtual IP as gateway.

* Two routers presenting one virtual gateway. *

Network topology with multiple redundant routers presenting one virtual gateway to hosts.

* Redundant routers backing one virtual router. — Luca Ghio, CC BY-SA 4.0, via Wikimedia Commons. *

How the virtual router works:

  1. The administrator configures a virtual IP address on the FHRP (First Hop Redundancy Protocol) group — this becomes the hosts' default gateway
  2. The FHRP protocol assigns a virtual MAC address to this virtual IP (derived from the group number for HSRP (Hot Standby Router Protocol))
  3. When hosts send an ARP request for the default gateway IP, the active router responds with the virtual MAC address
  4. All traffic from hosts is sent to the virtual MAC → the currently active physical router processes it

Why the virtual MAC matters:

  • When failover occurs, the new active router takes over the virtual MAC
  • Hosts' ARP caches still map the gateway IP to the virtual MAC → traffic automatically goes to the new active router
  • No ARP cache timeout needed — failover is immediate from the hosts' perspective

Key terminology:

  • Active router: The physical router currently forwarding traffic for the virtual router group
  • Standby router: The physical router monitoring the active and ready to take over
  • Virtual router: The logical entity (IP + MAC) that hosts see as their gateway

A protocol (HSRP, VRRP (Virtual Router Redundancy Protocol), or GLBP (Gateway Load Balancing Protocol)) determines which physical router takes the active role and when the forwarding must be handed over to the standby.

Go deeper:

From Quiz: NETW2 / FHRP Concepts | Updated: Jul 05, 2026