Fix the gateway redundancy
HSRP should make R1 the active gateway for 192.168.10.1, with R2 taking over if R1's uplink fails and R1 taking back over when it returns. Users say the network "works, mostly", but a test failover went badly. Find and fix every fault, then prove the design works: R1 Active now, and after you shut R1 Gi0/1, R2 Active and PC1 still online.
How it works: this is VulnTech NetLab, a network simulator running in your browser. Click a device in the diagram to open its console and type commands, just like on real equipment (? shows help, Tab finishes a word). Click a cable to inspect it. Tasks tick themselves off as you complete them; questions are answered in the box under each task. Your work is kept if you reload; Reset starts the network over.
Solution explanation
Three faults. R2 was in group 2, so each router was the only member of its own group and both were Active for the same address (look for two Actives in show standby brief). R1 had no preempt, so after a failure it would never take back over, however high its priority. And PC1's gateway was R1's own address 192.168.10.2, so HSRP couldn't help it at all: when R1's uplink failed, PC1 kept sending to R1.
Show solution
[R1]
enable
show standby brief
[R2]
enable
show standby brief
configure terminal
interface g0/0
no standby 2 ip
standby 1 ip 192.168.10.1
standby 1 preempt
end
show standby brief
[R1]
configure terminal
interface g0/0
standby 1 preempt
end
[PC1]
ipconfig
netsh interface ip set address "Ethernet" static 192.168.10.10 255.255.255.0 192.168.10.1
[R1]
configure terminal
interface g0/1
shutdown
end
show standby brief
[PC1]
ping 8.8.8.8