SlideShare a Scribd company logo
1 of 15
HOT STANDBY ROUTER
PROTOCOL (HSRP) USING CISCO
PACKET TRACER
GROUP MEMBERS-
SHUBHI GUPTA (RA1811004010426)
VANSHIKA JUSTA (RA1811004010442)
SAGNIK ROY (RA1811004010453)
WHAT IS HSRP?
• Hot Standby Router Protocol (HSRP) is a CISCO proprietary
protocol, which provides redundancy for a local subnet. In
HSRP, two or more routers gives an illusion of a virtual
router.
• HSRP allows you to configure two or more routers as
standby routers and only a single router as active router at a
time. All the routers in a single HSRP group shares a single
MAC address and IP address, which acts a default gateway
to the local network. The Active router is responsible for
forwarding the traffic. If it fails, the Standby router takes up
all the responsibilities of the active router and forwards the
traffic.
SOME IMPORTANT TERMS RELATED TO
HSRP-
• Virtual IP : IP address from local subnet is assigned as default gateway to all local hosts in the network.
• Virtual MAC address : MAC address is generated automatically by HSRP. The first 24 bits will be default CISCO address (i.e.
0000.0c). The next 16 bits are HSRP ID (i.e. 07.ac). The next 8 bits will be the group number in hexadecimal. e.g- if the group
number is 10 then the last 8 bits will be 0a.
Example of virtual MAC address –
0000.0c07.ac0a
• Hello messages : Periodic messages exchanged by active and standby routers. These messages are exchanged after every 3
seconds telling the state of router.
• Hold down timer : Its default value is 10 seconds i.e roughly 3 times the value of hello message. This timer tells us about the
router that how much time will the standby router waits for hello message if it is not received on time. Note- If the active router
fails then the standby router will become the active router.
• Priority : By default, the priority value is 100. It is helpful when the active router comes back after falling down, we can change
the priority of standby router (which has become the active router after the original active router is down) to less than 100
therefore it again becomes standby router.
• Preempt : It is a state in which the standby router automatically becomes the active router.
HSRP STATES-
When in operation, HSRP devices are configured into one of
many states:
• Active – This is the state of the device that is actively
forwarding traffic.
•Init or Disabled – This is the state of a device that is not yet
ready or able to participate in HSRP.
•Learn – This is the state of a device that has not yet
determined the virtual IP address and has not yet seen
a hello message from an active device.
•Listen – This is the state of a device that is
receiving hello messages.
•Speak – This is the state of a device that is sending and
receiving hello messages.
•Standby – This is the state of a device that is prepared to take
over the traffic forwarding duties from the active device.
ADVANTAGES AND DISADVANTAGES-
ADVANTAGES-
• Used for backup process
• No need to change default gateway every time
• No fault tolerance
DISADVANTAGE-
One of the gateways always sits idle until the active device fails.
This wastes the forwarding potential of this second device; to solve
this problem, utilize multiple HSRP groups.
HSRP NETWORK
CONFIGURING HSRP-
• Before the HSRP (Hot Standby Router Protocol) configuration, we must prepare our topology.
We will change the router names and we will assigned the ip addresses of the router interfaces.
• For the left side of the topology, we will use 192.168.0.3 network and for the right side, we will
use 192.168.1.3 network. All the interfaces connected to the layer 2 switch will be assigned with
the ip addresses related to its connected port. For example the fa0/0 interface of the Site1
router will be assigned the ip address 192.168.0.3 and the GW1’s and GW2’s fa0/0 ip addresses
will be 192.168.0.1 and 192.168.0.2 orderly.
• After interface configuration, we will configure a static route on each Site1 and Site2. In this
static route we will use two virtual ip addresses that we will explain in this article. This virtual
addresses will be 192.168.0.254 and 192.168.1.254.
• Routers R0 and R1 are configured with priorities of 11 and 10, respectively. The default priority is
100. The higher priority will determine which router is active. The configuration of Router A is
displayed. A similar configuration is required on Router B. Now router A is in active state and B in
standby state based on highest priority value. If R1 has the same priority as R0, the router with
highest ip address becomes active while the router with second highest ip becomes standby.
NOW OUR CONFIGURATION IS READY TO HSRP CONFIGURATION. LET’S START ON ONE SIDE(LEFT) ON
GW1 AND GW2 AND AFTER THAT WE WILL CONFIGURE A SECOND HSRP CISCO CONFIGURATION FOR
THE OTHER SIDE(RIGHT).
GW1-
enable
config t
interface fastethernet 0/0
ip add 192.168.0.1 255.255.255.0
no shutdown
exit
interface fastethernet 0/1
ip add 192.168.1.1 255.255.255.0
no shutdown
exit
GW2-
enable
config t
interface fastethernet 0/0
ip add 192.168.0.2 255.255.255.0
no shutdown
exit
interface fastethernet 0/1
ip add 192.168.1.2 255.255.255.0
no shutdown
exit
NOW WE ARE ADDING DIFFERENT PRIORITY VALUES TO DIFFERENT ROUTER WITH DIFFERENT
GROUPS AND THE ROUTER WITH HIGH PRIORITY WILL BECOME IN ACTIVE MODE AND OTHER WILL
BE IN STANDBY MODE.
GW1-
config t
interface fastethernet 0/0
standby 1 ip 192.168.0.254
standby 1 priority 11
exit
interface fastethernet 0/1
standby 2 ip 192.168.1.254
standby 2 priority 10
exit
GW2-
config t
interface fastethernet 0/0
standby 1 ip 192.168.0.254
standby 1 priority 10
exit
interface fastethernet 0/1
standby 2 ip 192.168.1.254
standby 2 priority 10
exit
Now we are going to check our configuration using “ping” and “tracert” commands
Pinging of Server and tracing path from PC to Server
Pinging of PC and tracing path from Server to PC
We do not need to do this HSRP Cisco Configuration for both sides, but in this configuration,
we do it for both sites. After this we check the configuration with “show standby” command
on GW1 and GW2. As you see below, for both redundancy configuration GW1 is the active
router and the GW2 is the standby.
Verifying the HSRP Configuration by using “show standby brief” command
After determining the active and standby routers we then shutdown the active
router and then check if the standby router becomes active or not.
As we can see from the figure below Router 1 is acting as active router now.
Then we trace the path from PC to Server and we can see that the traffic goes from
Router 1 instead of Router 0.
Now if we break the connection from Router 1 to switch, we can notice that
the Router 0 will become active router and Router 1 will be in Init (interface
down) state. If we trace the path from PC to Server then the traffic will go
from Router 0.

More Related Content

What's hot

HSRP (hot standby router protocol)
HSRP (hot standby router protocol)HSRP (hot standby router protocol)
HSRP (hot standby router protocol)Netwax Lab
 
Vxlan deep dive session rev0.5 final
Vxlan deep dive session rev0.5   finalVxlan deep dive session rev0.5   final
Vxlan deep dive session rev0.5 finalKwonSun Bae
 
VXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building BlocksVXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building BlocksAPNIC
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information ProtocolKashif Latif
 
Segment Routing Lab
Segment Routing Lab Segment Routing Lab
Segment Routing Lab Cisco Canada
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway ProtocolKashif Latif
 
20 - IDNOG03 - Franki Lim (ARISTA) - Overlay Networking with VXLAN
20 - IDNOG03 - Franki Lim (ARISTA) - Overlay Networking with VXLAN20 - IDNOG03 - Franki Lim (ARISTA) - Overlay Networking with VXLAN
20 - IDNOG03 - Franki Lim (ARISTA) - Overlay Networking with VXLANIndonesia Network Operators Group
 
VRF (virtual routing and forwarding)
VRF (virtual routing and forwarding)VRF (virtual routing and forwarding)
VRF (virtual routing and forwarding)Netwax Lab
 

What's hot (20)

Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 
HSRP (hot standby router protocol)
HSRP (hot standby router protocol)HSRP (hot standby router protocol)
HSRP (hot standby router protocol)
 
OSPF Fundamental
OSPF FundamentalOSPF Fundamental
OSPF Fundamental
 
Vxlan deep dive session rev0.5 final
Vxlan deep dive session rev0.5   finalVxlan deep dive session rev0.5   final
Vxlan deep dive session rev0.5 final
 
Bgp
BgpBgp
Bgp
 
VXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building BlocksVXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building Blocks
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
Bgp protocol
Bgp protocolBgp protocol
Bgp protocol
 
Segment Routing Lab
Segment Routing Lab Segment Routing Lab
Segment Routing Lab
 
IS-IS Protocol Introduction
IS-IS Protocol IntroductionIS-IS Protocol Introduction
IS-IS Protocol Introduction
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 
Border Gatway Protocol
Border Gatway ProtocolBorder Gatway Protocol
Border Gatway Protocol
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway Protocol
 
Vlan
Vlan Vlan
Vlan
 
20 - IDNOG03 - Franki Lim (ARISTA) - Overlay Networking with VXLAN
20 - IDNOG03 - Franki Lim (ARISTA) - Overlay Networking with VXLAN20 - IDNOG03 - Franki Lim (ARISTA) - Overlay Networking with VXLAN
20 - IDNOG03 - Franki Lim (ARISTA) - Overlay Networking with VXLAN
 
Cisco MPLS
Cisco MPLSCisco MPLS
Cisco MPLS
 
VRF (virtual routing and forwarding)
VRF (virtual routing and forwarding)VRF (virtual routing and forwarding)
VRF (virtual routing and forwarding)
 
Inter-AS MPLS VPN Deployment
Inter-AS MPLS VPN DeploymentInter-AS MPLS VPN Deployment
Inter-AS MPLS VPN Deployment
 
OSPF Basics
OSPF BasicsOSPF Basics
OSPF Basics
 

Similar to Configure HSRP for redundancy using Cisco Packet Tracer

Class notes fhrp,hsrp
Class notes  fhrp,hsrpClass notes  fhrp,hsrp
Class notes fhrp,hsrpSagarR24
 
Class notes fhrp,hsrp,vrrp
Class notes fhrp,hsrp,vrrpClass notes fhrp,hsrp,vrrp
Class notes fhrp,hsrp,vrrpSagarR24
 
Ip services
Ip servicesIp services
Ip servicesStudent
 
CCNP Switching Chapter 6
CCNP Switching Chapter 6CCNP Switching Chapter 6
CCNP Switching Chapter 6Chaing Ravuth
 
SRWE_Module_9 for huwawei hcia datacom course
SRWE_Module_9 for huwawei hcia datacom courseSRWE_Module_9 for huwawei hcia datacom course
SRWE_Module_9 for huwawei hcia datacom coursemuhammednurhusien1
 
Cisco hsrp configuration
Cisco hsrp configurationCisco hsrp configuration
Cisco hsrp configurationWahyu Nasution
 
First Hop Redundancy Protocols in IPv6 HSRP + GLBP
First Hop Redundancy Protocols in IPv6 HSRP + GLBPFirst Hop Redundancy Protocols in IPv6 HSRP + GLBP
First Hop Redundancy Protocols in IPv6 HSRP + GLBPIT Tech
 
Ospf Last Modified Eng
Ospf  Last Modified EngOspf  Last Modified Eng
Ospf Last Modified EngAlp isik
 
CCNA ppt Day 5
CCNA ppt Day 5CCNA ppt Day 5
CCNA ppt Day 5VISHNU N
 
Day 8 1 introducing routing n
Day 8 1 introducing routing nDay 8 1 introducing routing n
Day 8 1 introducing routing nCYBERINTELLIGENTS
 
Site to Site VPN between Cisco Routers
Site to Site VPN between Cisco RoutersSite to Site VPN between Cisco Routers
Site to Site VPN between Cisco RoutersSandeep Kumar
 
RIP (routing information protocol)
RIP (routing information protocol)RIP (routing information protocol)
RIP (routing information protocol)Netwax Lab
 
Quick Guide Ip Routing
Quick Guide   Ip RoutingQuick Guide   Ip Routing
Quick Guide Ip RoutingCCNAResources
 

Similar to Configure HSRP for redundancy using Cisco Packet Tracer (20)

Class notes fhrp,hsrp
Class notes  fhrp,hsrpClass notes  fhrp,hsrp
Class notes fhrp,hsrp
 
Class notes fhrp,hsrp,vrrp
Class notes fhrp,hsrp,vrrpClass notes fhrp,hsrp,vrrp
Class notes fhrp,hsrp,vrrp
 
Ip services
Ip servicesIp services
Ip services
 
CCNP Switching Chapter 6
CCNP Switching Chapter 6CCNP Switching Chapter 6
CCNP Switching Chapter 6
 
SRWE_Module_9 for huwawei hcia datacom course
SRWE_Module_9 for huwawei hcia datacom courseSRWE_Module_9 for huwawei hcia datacom course
SRWE_Module_9 for huwawei hcia datacom course
 
Cisco hsrp configuration
Cisco hsrp configurationCisco hsrp configuration
Cisco hsrp configuration
 
Hsrp
HsrpHsrp
Hsrp
 
Hsrp
HsrpHsrp
Hsrp
 
First Hop Redundancy Protocols in IPv6 HSRP + GLBP
First Hop Redundancy Protocols in IPv6 HSRP + GLBPFirst Hop Redundancy Protocols in IPv6 HSRP + GLBP
First Hop Redundancy Protocols in IPv6 HSRP + GLBP
 
Ospf Last Modified Eng
Ospf  Last Modified EngOspf  Last Modified Eng
Ospf Last Modified Eng
 
CCNA ppt Day 5
CCNA ppt Day 5CCNA ppt Day 5
CCNA ppt Day 5
 
Vrrp Alp
Vrrp AlpVrrp Alp
Vrrp Alp
 
Day 8 1 introducing routing n
Day 8 1 introducing routing nDay 8 1 introducing routing n
Day 8 1 introducing routing n
 
Site to Site VPN between Cisco Routers
Site to Site VPN between Cisco RoutersSite to Site VPN between Cisco Routers
Site to Site VPN between Cisco Routers
 
RIP (routing information protocol)
RIP (routing information protocol)RIP (routing information protocol)
RIP (routing information protocol)
 
Quick Guide Ip Routing
Quick Guide   Ip RoutingQuick Guide   Ip Routing
Quick Guide Ip Routing
 
CCNA part 5 routing
CCNA part 5 routingCCNA part 5 routing
CCNA part 5 routing
 
IS-IS Protocol Adjacency
IS-IS Protocol Adjacency IS-IS Protocol Adjacency
IS-IS Protocol Adjacency
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
Labmannual
LabmannualLabmannual
Labmannual
 

Recently uploaded

chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 

Recently uploaded (20)

chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 

Configure HSRP for redundancy using Cisco Packet Tracer

  • 1. HOT STANDBY ROUTER PROTOCOL (HSRP) USING CISCO PACKET TRACER GROUP MEMBERS- SHUBHI GUPTA (RA1811004010426) VANSHIKA JUSTA (RA1811004010442) SAGNIK ROY (RA1811004010453)
  • 2. WHAT IS HSRP? • Hot Standby Router Protocol (HSRP) is a CISCO proprietary protocol, which provides redundancy for a local subnet. In HSRP, two or more routers gives an illusion of a virtual router. • HSRP allows you to configure two or more routers as standby routers and only a single router as active router at a time. All the routers in a single HSRP group shares a single MAC address and IP address, which acts a default gateway to the local network. The Active router is responsible for forwarding the traffic. If it fails, the Standby router takes up all the responsibilities of the active router and forwards the traffic.
  • 3. SOME IMPORTANT TERMS RELATED TO HSRP- • Virtual IP : IP address from local subnet is assigned as default gateway to all local hosts in the network. • Virtual MAC address : MAC address is generated automatically by HSRP. The first 24 bits will be default CISCO address (i.e. 0000.0c). The next 16 bits are HSRP ID (i.e. 07.ac). The next 8 bits will be the group number in hexadecimal. e.g- if the group number is 10 then the last 8 bits will be 0a. Example of virtual MAC address – 0000.0c07.ac0a • Hello messages : Periodic messages exchanged by active and standby routers. These messages are exchanged after every 3 seconds telling the state of router. • Hold down timer : Its default value is 10 seconds i.e roughly 3 times the value of hello message. This timer tells us about the router that how much time will the standby router waits for hello message if it is not received on time. Note- If the active router fails then the standby router will become the active router. • Priority : By default, the priority value is 100. It is helpful when the active router comes back after falling down, we can change the priority of standby router (which has become the active router after the original active router is down) to less than 100 therefore it again becomes standby router. • Preempt : It is a state in which the standby router automatically becomes the active router.
  • 4. HSRP STATES- When in operation, HSRP devices are configured into one of many states: • Active – This is the state of the device that is actively forwarding traffic. •Init or Disabled – This is the state of a device that is not yet ready or able to participate in HSRP. •Learn – This is the state of a device that has not yet determined the virtual IP address and has not yet seen a hello message from an active device. •Listen – This is the state of a device that is receiving hello messages. •Speak – This is the state of a device that is sending and receiving hello messages. •Standby – This is the state of a device that is prepared to take over the traffic forwarding duties from the active device.
  • 5. ADVANTAGES AND DISADVANTAGES- ADVANTAGES- • Used for backup process • No need to change default gateway every time • No fault tolerance DISADVANTAGE- One of the gateways always sits idle until the active device fails. This wastes the forwarding potential of this second device; to solve this problem, utilize multiple HSRP groups.
  • 7. CONFIGURING HSRP- • Before the HSRP (Hot Standby Router Protocol) configuration, we must prepare our topology. We will change the router names and we will assigned the ip addresses of the router interfaces. • For the left side of the topology, we will use 192.168.0.3 network and for the right side, we will use 192.168.1.3 network. All the interfaces connected to the layer 2 switch will be assigned with the ip addresses related to its connected port. For example the fa0/0 interface of the Site1 router will be assigned the ip address 192.168.0.3 and the GW1’s and GW2’s fa0/0 ip addresses will be 192.168.0.1 and 192.168.0.2 orderly. • After interface configuration, we will configure a static route on each Site1 and Site2. In this static route we will use two virtual ip addresses that we will explain in this article. This virtual addresses will be 192.168.0.254 and 192.168.1.254. • Routers R0 and R1 are configured with priorities of 11 and 10, respectively. The default priority is 100. The higher priority will determine which router is active. The configuration of Router A is displayed. A similar configuration is required on Router B. Now router A is in active state and B in standby state based on highest priority value. If R1 has the same priority as R0, the router with highest ip address becomes active while the router with second highest ip becomes standby.
  • 8. NOW OUR CONFIGURATION IS READY TO HSRP CONFIGURATION. LET’S START ON ONE SIDE(LEFT) ON GW1 AND GW2 AND AFTER THAT WE WILL CONFIGURE A SECOND HSRP CISCO CONFIGURATION FOR THE OTHER SIDE(RIGHT). GW1- enable config t interface fastethernet 0/0 ip add 192.168.0.1 255.255.255.0 no shutdown exit interface fastethernet 0/1 ip add 192.168.1.1 255.255.255.0 no shutdown exit GW2- enable config t interface fastethernet 0/0 ip add 192.168.0.2 255.255.255.0 no shutdown exit interface fastethernet 0/1 ip add 192.168.1.2 255.255.255.0 no shutdown exit
  • 9. NOW WE ARE ADDING DIFFERENT PRIORITY VALUES TO DIFFERENT ROUTER WITH DIFFERENT GROUPS AND THE ROUTER WITH HIGH PRIORITY WILL BECOME IN ACTIVE MODE AND OTHER WILL BE IN STANDBY MODE. GW1- config t interface fastethernet 0/0 standby 1 ip 192.168.0.254 standby 1 priority 11 exit interface fastethernet 0/1 standby 2 ip 192.168.1.254 standby 2 priority 10 exit GW2- config t interface fastethernet 0/0 standby 1 ip 192.168.0.254 standby 1 priority 10 exit interface fastethernet 0/1 standby 2 ip 192.168.1.254 standby 2 priority 10 exit
  • 10. Now we are going to check our configuration using “ping” and “tracert” commands Pinging of Server and tracing path from PC to Server
  • 11. Pinging of PC and tracing path from Server to PC
  • 12. We do not need to do this HSRP Cisco Configuration for both sides, but in this configuration, we do it for both sites. After this we check the configuration with “show standby” command on GW1 and GW2. As you see below, for both redundancy configuration GW1 is the active router and the GW2 is the standby.
  • 13. Verifying the HSRP Configuration by using “show standby brief” command
  • 14. After determining the active and standby routers we then shutdown the active router and then check if the standby router becomes active or not. As we can see from the figure below Router 1 is acting as active router now. Then we trace the path from PC to Server and we can see that the traffic goes from Router 1 instead of Router 0.
  • 15. Now if we break the connection from Router 1 to switch, we can notice that the Router 0 will become active router and Router 1 will be in Init (interface down) state. If we trace the path from PC to Server then the traffic will go from Router 0.