We can configure HSRP in GNS 3---
-> HSRP is CISCO Proprietary.
-> Default Hello Timer is 3 Sec.
-> Default Hold Timer is- 10 Sec
-> Default Priority is - 100
1. In this topology I am using 2 router (R1 and R2) only. R3 is here virtual router.
2. I took 3700 router because Multilayer Switch is not working here so I'll take a Router and install a module in in. (Module- NM-16ESW).
3. I am using my own PC as a HOST (By creating loop back connection).
4.When connecting routers remember you have to do a manual connection and have to connect interfaces of Module which you have installed in routers.Because I am using my router as a switch or can say multilayer switch.
All set start your topology and open console of both routers.
R1--->
R1# vlan database
R1(vlan)#vlan 50 name hsrp
(It's a old process. we can create vlan from config mode. But that's not working in my GNS)
R1(config)#int vlan 50
#ip address 192.168.1.2 255.255.255.0
#standby 1 ip 192.168.1.1
#standby 1 priority 150
#standby 1 preempt
"In this configuration we are providing ip to vlan interface because we can't assign ip on switch interface and we are using switch interface"
"standy 1- here 1 is group no of HSRP"
"By default priority is 100. But if we want to give a priority to a router we can increase priority "
"Preempt is used because if R1 is activated and R2 activated after R1, and R2 have priority more than R1, but still R2 not able to become Activated so we start Preempt, after that R2 will coop and become Activated "
R1(conf)#int range f 1/0 - 1
#switchport mode access
#switchport access vlan 50
# no sh
Same configuration will be repeated on R2 except vlan ip address
R2(conf)#int vlan 50
#ip add 192.168.1.3 255.255.255.0
and don't use Priority command (using default priority-100)
After few sec. u'll get a message on R1 that HSRP is enabled and Rouetr is Active.
You can see the status on both router with help of "show standby" command.
-> HSRP is CISCO Proprietary.
-> Default Hello Timer is 3 Sec.
-> Default Hold Timer is- 10 Sec
-> Default Priority is - 100
1. In this topology I am using 2 router (R1 and R2) only. R3 is here virtual router.
2. I took 3700 router because Multilayer Switch is not working here so I'll take a Router and install a module in in. (Module- NM-16ESW).
3. I am using my own PC as a HOST (By creating loop back connection).
4.When connecting routers remember you have to do a manual connection and have to connect interfaces of Module which you have installed in routers.Because I am using my router as a switch or can say multilayer switch.
All set start your topology and open console of both routers.
R1--->
R1# vlan database
R1(vlan)#vlan 50 name hsrp
(It's a old process. we can create vlan from config mode. But that's not working in my GNS)
R1(config)#int vlan 50
#ip address 192.168.1.2 255.255.255.0
#standby 1 ip 192.168.1.1
#standby 1 priority 150
#standby 1 preempt
"In this configuration we are providing ip to vlan interface because we can't assign ip on switch interface and we are using switch interface"
"standy 1- here 1 is group no of HSRP"
"By default priority is 100. But if we want to give a priority to a router we can increase priority "
"Preempt is used because if R1 is activated and R2 activated after R1, and R2 have priority more than R1, but still R2 not able to become Activated so we start Preempt, after that R2 will coop and become Activated "
R1(conf)#int range f 1/0 - 1
#switchport mode access
#switchport access vlan 50
# no sh
Same configuration will be repeated on R2 except vlan ip address
R2(conf)#int vlan 50
#ip add 192.168.1.3 255.255.255.0
and don't use Priority command (using default priority-100)
After few sec. u'll get a message on R1 that HSRP is enabled and Rouetr is Active.
You can see the status on both router with help of "show standby" command.
No comments:
Post a Comment