Pcornel
Networking · Routing › First Hop Redundancy › HSRP

Virtual IP

Cheat sheet · https://pcornel.dk/topic.php?topic=1151

Back to the Topic

Answer

The HSRP virtual IP is the default gateway address hosts use. It must be in the same subnet on all group members and configured with the same group number; hosts keep using it while routers fail over behind it.

Remember

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

First checks

  • show standby brief — Virtual IP column
  • show ip arp <virtual-ip> — resolves to virtual MAC
  • Hosts use the virtual IP as default gateway — client side

Commands

show arp
Display the ARP cache.

Verify in this order

host ARPs virtual IP → Active replies with virtual MAC → host forwards to Active

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Virtual IP · technical reference

ItemMeaning
Virtual IPStable host default-gateway address
OwnerCurrent HSRP Active router
Client configShould point to VIP, not physical peer IP
FailoverVIP stays; forwarding ownership moves

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1151

Confirmation

Confirm action

Continue?