SOURCECODEBD.NET

Live Experience

11. CONFIGURE LAYER 3 REDUNDANCY WITH HSRP

HOW TO CONFIGURE LAYER 3 REDUNDANCY WITH HSRP
 
Interface IP Address Configuration : 
  
R1 
 
Interface  IP Address   Subnet Mask 
S 0          3.3.3.2         255.0.0.0 
S 1          2.2.2.2         255.0.0.0 
E 0          20.1.1.1       255.0.0.0
 
R2 
 
Interface  IP Address   Subnet Mask 
S 1/0         3.3.3.1         255.0.0.0 
E 0/0        10.1.1.1        255.0.0.0 
 
R3 
 
Interface  IP Address   Subnet Mask 
S 1/1        2.2.2.1           255.0.0.0 
E 0/0        10.1.1.2         255.0.0.0 
 
SW1 
 
Ports   VLAN Assigned   Connected To 
FA 0/1  VLAN 1   R3 (10.1.1.2) 
FA 0/3  VLAN 1   R2 (10.1.1.1) 
FA 0/5  VLAN 1   PC 1 (10.1.1.3) 
 
Task 1 
 
Configure routing protocol (RIP) on R1, R2, and R3. 
Configure ports fa0/3, fa0/1 & fa0/5 as access ports on SW1 
Configure HSRP group 1 on R2 & R3, using the virtual ip address 10.1.1.10. 
 
R2 
 
Int e0/0 
Standby 1 ip 10.1.1.10 
Standby 1 preempt  
Standby 1 priority 200
 
R3 
 
Int e0/0 
Standby 1 ip 10.1.1.10 
Standby 1 priority 100 
 
 
Verification : 
 
R3#show standby brief 
 
The output displays that this is the standby router and the active router is (10.1.1.1), the virtual ip 
is (10.1.1.10) and this router configured to preempt. 
 
R2#show ip arp 
 
The output displays ip add 10.1.1.10 (virtual ip) with the MAC address 0000.0c07.ac01, which is 
well-known HSRP MAC addres 01 :  hsrp group identifier ,0000.0c :  vendor code,  
07.ac :  HSRP .  
 
Verify the route chosen to reach network 20.1.1.1  
 
From PC1 :  tracert 20.1.1.1
 
Shut down the interface E0/0 on router 2 and traceroute . 
 
From PC1 :  tracert 20.1.1.1 
 
Traceroute command displays that the packet reaches 10.1.1.2 (standby router becomes 
active) and then reaches 20.1.1.1. 
 
Task 2  
 
Configure tracking on R2, so that in case of failure of S 1/0, the priority is decreased 
automatically, so that the standby router takes the active role. 
 
R2 
 
Int e0/0 
Standby 1 track s1/0 150
 
Verification : 
 
R2#show standby brief 
 
The output displays that this is the standby router and the active router is (10.1.1.1), the virtual ip 
is (10.1.1.10) and this router configured to preempt. 
 
From PC1: 
 
Traceroute command displays that the packet reaches 10.1.1.1 (active router) and reaches 
20.1.1.1. 
 
Shut down the interface s1/0 on router 2 and traceroute . 
 
R2#show standby brief 
 
The priority is decreased to 50 from 200 automatically, and the router becomes standby 
for the HSRP group. 
 
The traceroute command displays that the packets are sent via 10.1.1.2 (standby becomes 
active) because of higher priority value.
You are here: Home / Switching / HOW TO CONFIGURE LAYER 3 REDUNDANCY WITH HSRP