أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
As i dont have excat network design so i will assume in general that you are getting two WAN links from two different ISP and you want to configure a auto failover between them. HSRP will works on a virtual IP on both routers you will use the same IP. e.g10.10.10.12 on R1 and also on R2. you will connect both router physically with each other.
the senerio will be like. R1 (ISP1) and R2(ISP2) terminating on a firewall or a switch. you will use the virtual ip as a default route on your firewall or switch.
R1 as default router
interface f0/0(LAN)connecting with a switch
no shutdown ip address20.20.20.1255.255.255.0
standby1 ip10.10.10.12
standby1 priority105
standby1 preempt delay minimum10
standby1 timers310
standby1 track f0/1 (WAN interface)
R2 as standby
Note default priority is also100 so there is no need to type100 you can also skip it, but i mentioned it below.
interface f0/0(LAN)connecting with a switch
no shutdown
ip address20.20.20.2255.255.255.0
standby1 ip10.10.10.12
standby1 priority100
standby1 preempt delay minimum10
standby1 timers310
standby1 track f0/1 (WAN interface)