HSRP keeps your default gateway online — but by default it trusts anyone on the LAN. In this Cisco lab we configure HSRP with a virtual gateway, take over the active role as an attacker with priority 255, and then secure it with MD5 authentication and a port ACL.

In this lab you will learn:
✅ Why first hop redundancy matters (FHRP)
✅ HSRP virtual IP, virtual MAC, active and standby routers
✅ HSRP version 2, priority and preempt configuration
✅ Verification with show standby brief and failover
✅ HSRP gateway hijacking with a priority 255 hello (lab demo)
✅ The fix: HSRP MD5 authentication with key chains
✅ Blocking HSRP and VRRP on access ports with an ACL
✅ HSRP / VRRP security checklist

⏱️ Chapters:
0:00 Intro
0:23 How HSRP Works
1:00 Lab Topology
1:19 Step 1 · Configure HSRP
1:44 Step 2 · Verify and Failover
2:10 HSRP Weaknesses
2:33 Attack · Gateway Hijacking
3:17 Fix 1 · HSRP Authentication
3:37 Fix 2 · Block HSRP on Access Ports
4:03 FHRP Security Best Practices
4:37 Recap
4:58 Outro

🧪 Key commands:
interface g0/0
standby version 2
standby 10 ip 192.168.10.254
standby 10 priority 110
standby 10 preempt
key chain HSRP-KEYS
key 1
key-string YOUR-STRONG-KEY
interface g0/0
standby 10 authentication md5 key-chain HSRP-KEYS
ip access-list extended NO-FHRP
deny udp any any eq 1985
deny 112 any any
permit ip any any

⚠️ Educational purposes only. Test attacks only in your own lab.

📚 More networking labs: IPsec VPN, BGP, VLANs, OSPF, Layer 2 attacks, STP, ACLs, NAT, router hardening — subscribe to netacademy.ge
© netacademy.ge — All rights reserved.

#HSRP #CCNA #Cisco #NetworkSecurity #Networking

Last modified: Sunday, 6 December 2026, 9:29 AM