You practiced every command on the demo pair. Now build the full configuration on a complete topology, from start to finish.
You are the network administrator of the 192.168.10.0/24 LAN.
Figure 1 – Target design: HSRP Group 1 with VIP 192.168.10.3
Your objective is simple: deploy HSRP version 2 so the LAN survives a router failure, then share the traffic between the two routers.
Initial Connectivity
Here is the starting point, before any HSRP configuration.

Figure 2 – Initial topology without HSRP
PC1 and PC2 sit in 192.168.10.0/24, R1 and R2 both connect the LAN to the ISP, and 8.8.8.8 lives on a loopback behind the ISP router.
Check what PC1 currently uses as its gateway:C:\> ipconfig FastEthernet0 Connection:(default port) IPv4 Address....................: 192.168.10.10 Subnet Mask.....................: 255.255.255.0 Default Gateway.................: 192.168.10.1The default gateway is 192.168.10.1.
Now trace the path to 8.8.8.8:
C:\> tracert 8.8.8.8 Tracing route to 8.8.8.8 over a maximum of 30 hops: 1 0 ms 0 ms 0 ms 192.168.10.1 2 0 ms 0 ms 0 ms 8.8.8.8 Trace complete.The first hop confirms it: every packet leaves the LAN through R1.

Figure 3 – All traffic currently flows through R1
R2 carries nothing.
If R1 fails, the whole LAN loses its gateway.
Let's fix that.Answer the question below
Which router currently forwards all the LAN traffic?
Configure HSRP on R1
On R1, enable version 2 on the LAN interface, then create group 1 with the VIP, a priority of 110, and preemption:
R1# conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)# int g0/0 R1(config-if)# standby version 2 R1(config-if)# standby 1 ip 192.168.10.3 R1(config-if)# standby 1 priority 110 R1(config-if)# standby 1 authentication md5 key-string PINGMYNETWORK_SECRET R1(config-if)# standby 1 preempt %HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Init -> Init %HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Speak -> Standby %HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Standby -> Active R1(config-if)# end R1# write memorystandby version 2 switches the interface to HSRPv2 before any group exists.
standby 1 ip 192.168.10.3 creates group 1 and assigns the VIP.
standby 1 priority 110 with standby 1 preempt makes R1 the preferred Active router, able to reclaim the role.
standby 1 authentication md5 key-string blocks any router that doesn't know the shared key from joining the group.
Look at the STATECHANGE logs.
R1 moves through Speak and Standby, then settles in Active.
R1 went straight to the Active role because no other router has joined the group yet.Answer the question below
Which role does R1 take immediately when it is alone in the group?
Configure HSRP on R2
Now R2, same logic with a lower priority:
R2# conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)# int g0/0 R2(config-if)# standby version 2 R2(config-if)# standby 1 priority 90 R2(config-if)# standby 1 ip 192.168.10.3 R2(config-if)# standby 1 authentication md5 key-string PINGMYNETWORK_SECRET R2(config-if)# standby 1 preempt %HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Init -> Init %HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Speak -> Standby R2(config-if)# end R2# write memoryR2 joins group 1, loses the election on priority, and settles in Standby.

Figure 4 – HSRP Group 1 is up on both routers
Answer the question below
What priority did you configure on R1?
Both routers are configured. Before moving a single PC, confirm the group agrees with itself.
Verify the Group
Run show standby on R1:
R1# show standby GigabitEthernet0/0 - Group 1 (version 2) State is Active 5 state changes, last state change 00:06:08 Virtual IP address is 192.168.10.3 Active virtual MAC address is 0000.0C9F.F001 Local virtual MAC address is 0000.0C9F.F001 (v2 default) Hello time 3 sec, hold time 10 sec Next hello sent in 1.979 secs Authentication MD5, key-string Preemption enabled Active router is local Standby router is 192.168.10.2, priority 90 (expires in 6 sec) Priority 110 (configured 110) Group name is "hsrp-Gi0/0-1" (default)Here are the key lines to focus on:
State is Active confirms R1 won the election with its priority of 110.
The virtual MAC 0000.0C9F.F001 is the HSRPv2 format from the HSRP Versions lesson, ending with group number 1.
Authentication MD5, key-string confirms both routers require the shared secret to join this group.
Preemption enabled means R1 will reclaim the Active role after any recovery.
Now look at the same group from R2's point of view:
R2# show standby GigabitEthernet0/0 - Group 1 (version 2) State is Standby 12 state changes, last state change 00:06:22 Virtual IP address is 192.168.10.3 Active virtual MAC address is 0000.0C9F.F001 Local virtual MAC address is 0000.0C9F.F001 (v2 default) Hello time 3 sec, hold time 10 sec Next hello sent in 2.243 secs Authentication MD5, key-string Preemption enabled Active router is 192.168.10.1, priority 110 (expires in 9 sec) MAC address is 0000.0C9F.F001 Standby router is local Priority 90 (configured 90) Group name is "hsrp-Gi0/0-1" (default)Each router reports its own perspective: R2 is Standby and sees the Active router at 192.168.10.1.
Both agree on the VIP and on the virtual MAC.
The group is healthy.Answer the question below
Which virtual MAC address does group 1 use?
Switch the Hosts to the Virtual Gateway
The group is up, but PC1 and PC2 still point at 192.168.10.1, the physical address of R1.
Update the default gateway on both PCs to the VIP, 192.168.10.3.
Figure 5 – Hosts reach the Active router through the virtual MAC
From now on, hosts resolve the VIP and receive the virtual MAC in return.
Confirm it on PC1.
Check the ARP table first:C:\> arp -a Internet Address Physical Address Type 192.168.10.1 0004.9a93.a122 dynamic 192.168.10.3 0000.0c9f.f001 dynamicThe ARP table maps 192.168.10.3 to 0000.0c9f.f001: PC1 already holds the virtual MAC for the VIP.
Now trace the path to confirm forwarding:
C:\> tracert 8.8.8.8 Tracing route to 8.8.8.8 over a maximum of 30 hops: 1 0 ms 0 ms 0 ms 192.168.10.1 2 0 ms 1 ms 0 ms 8.8.8.8 Trace complete.The first hop is still 192.168.10.1: the Active router forwards the traffic sent to the VIP.
Answer the question below
Which address do the PCs now use as their gateway?
Answer the question below
Which HSRPv2 virtual MAC address would group 20 use?
The group is healthy and the hosts point at the virtual IP. Time to break it on purpose.
Power Off R1
Power off R1 completely.
R2 stops receiving Hellos and waits for the Hold timer to expire.
Figure 6 – R1 is shut down and R2 becomes Active
Then it takes the Active role, and its console confirms it:
R2# %HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Standby -> ActiveCheck the path from PC1:
C:\> tracert 8.8.8.8 Tracing route to 8.8.8.8 over a maximum of 30 hops: 1 0 ms 0 ms 0 ms 192.168.10.2 2 0 ms 0 ms 0 ms 8.8.8.8 Trace complete.The first hop is now 192.168.10.2, the physical IP of R2.
PC1 changed nothing: the VIP and the virtual MAC never change, only the physical router behind them does.Answer the question below
Which IP shows as the first hop after the failover?
Answer the question below
With hello 3 and hold 10, R1 dies 1 s after a Hello: after how many seconds does R2 take over?
Power R1 back on.
As soon as R1 boots, preemption takes effect:R1# %HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Standby -> Active
Figure 7 – Preemption returns the Active role to R1
R1 forwards again and R2 is back to Standby.
Verify HSRP Group
The command show standby brief gives you the whole group in a single line.
Run it on R1:R1# show standby brief P indicates configured to preempt. | Interface Grp Pri P State Active Standby Virtual IP Gi0/0 1 110 P Active local 192.168.10.2 192.168.10.3R1 is Active for group 1, priority 110, preempt configured, VIP 192.168.10.3.
Now check R2's view:R2# show standby brief P indicates configured to preempt. | Interface Grp Pri P State Active Standby Virtual IP Gi0/0 1 90 P Standby 192.168.10.1 local 192.168.10.3R2 sees itself as Standby and R1 as the Active router at 192.168.10.1.
Answer the question below
Which keyword displays the one-line summary of an HSRP group?
Your HSRP design is now complete: the gateway is redundant and the failover is tuned.
Next, you configure the open standard of the FHRP family, VRRP.Answer the question below
Which open standard protocol is the alternative to HSRP?