SlideShare a Scribd company logo
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

Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
Siva Priya
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
AIRTEL
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
Respa Peter
 
IPSec and VPN
IPSec and VPNIPSec and VPN
IPSec and VPN
Abdullaziz Tagawy
 
RAN - Intro, I&C & Basic Troubleshooting (3).pptx
RAN - Intro, I&C & Basic Troubleshooting (3).pptxRAN - Intro, I&C & Basic Troubleshooting (3).pptx
RAN - Intro, I&C & Basic Troubleshooting (3).pptx
Felix Franco
 
Layer 3 redundancy hsrp
Layer 3 redundancy   hsrpLayer 3 redundancy   hsrp
Layer 3 redundancy hsrp
Edgardo Scrimaglia
 
Overlay networks
Overlay networksOverlay networks
Overlay networks
Mayank Chaudhari
 
Doc6 mpls vpn-ppt
Doc6 mpls vpn-pptDoc6 mpls vpn-ppt
Doc6 mpls vpn-ppt
Swarup Kumar Mall
 
A very good introduction to IPv6
A very good introduction to IPv6A very good introduction to IPv6
A very good introduction to IPv6
Syed Arshad
 
Introduction to OpenFlow
Introduction to OpenFlowIntroduction to OpenFlow
Introduction to OpenFlow
Joel W. King
 
IGMP
IGMPIGMP
How BGP Works
How BGP WorksHow BGP Works
How BGP Works
ThousandEyes
 
GLBP (gateway load balancing protocol)
GLBP (gateway load balancing protocol)GLBP (gateway load balancing protocol)
GLBP (gateway load balancing protocol)
Netwax Lab
 
Border Gatway Protocol
Border Gatway ProtocolBorder Gatway Protocol
Border Gatway Protocol
Shashank Asthana
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocol
Ameer Agel
 
EtherChannel PAgP and LACP modes
EtherChannel PAgP and LACP modesEtherChannel PAgP and LACP modes
EtherChannel PAgP and LACP modes
NetProtocol Xpert
 
CCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationCCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch Configuration
Dsunte Wilson
 
Bgp
BgpBgp
Multiprotocol label switching (mpls) - Networkshop44
Multiprotocol label switching (mpls)  - Networkshop44Multiprotocol label switching (mpls)  - Networkshop44
Multiprotocol label switching (mpls) - Networkshop44
Jisc
 
MSTP High Level Overview
MSTP High Level OverviewMSTP High Level Overview
MSTP High Level Overview
Gary Jan
 

What's hot (20)

Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
IPSec and VPN
IPSec and VPNIPSec and VPN
IPSec and VPN
 
RAN - Intro, I&C & Basic Troubleshooting (3).pptx
RAN - Intro, I&C & Basic Troubleshooting (3).pptxRAN - Intro, I&C & Basic Troubleshooting (3).pptx
RAN - Intro, I&C & Basic Troubleshooting (3).pptx
 
Layer 3 redundancy hsrp
Layer 3 redundancy   hsrpLayer 3 redundancy   hsrp
Layer 3 redundancy hsrp
 
Overlay networks
Overlay networksOverlay networks
Overlay networks
 
Doc6 mpls vpn-ppt
Doc6 mpls vpn-pptDoc6 mpls vpn-ppt
Doc6 mpls vpn-ppt
 
A very good introduction to IPv6
A very good introduction to IPv6A very good introduction to IPv6
A very good introduction to IPv6
 
Introduction to OpenFlow
Introduction to OpenFlowIntroduction to OpenFlow
Introduction to OpenFlow
 
IGMP
IGMPIGMP
IGMP
 
How BGP Works
How BGP WorksHow BGP Works
How BGP Works
 
GLBP (gateway load balancing protocol)
GLBP (gateway load balancing protocol)GLBP (gateway load balancing protocol)
GLBP (gateway load balancing protocol)
 
Border Gatway Protocol
Border Gatway ProtocolBorder Gatway Protocol
Border Gatway Protocol
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocol
 
EtherChannel PAgP and LACP modes
EtherChannel PAgP and LACP modesEtherChannel PAgP and LACP modes
EtherChannel PAgP and LACP modes
 
CCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationCCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch Configuration
 
Bgp
BgpBgp
Bgp
 
Multiprotocol label switching (mpls) - Networkshop44
Multiprotocol label switching (mpls)  - Networkshop44Multiprotocol label switching (mpls)  - Networkshop44
Multiprotocol label switching (mpls) - Networkshop44
 
MSTP High Level Overview
MSTP High Level OverviewMSTP High Level Overview
MSTP High Level Overview
 

Similar to Hot standby router protocol (hsrp) using

Class notes fhrp,hsrp
Class notes  fhrp,hsrpClass notes  fhrp,hsrp
Class notes fhrp,hsrp
SagarR24
 
Class notes fhrp,hsrp,vrrp
Class notes fhrp,hsrp,vrrpClass notes fhrp,hsrp,vrrp
Class notes fhrp,hsrp,vrrp
SagarR24
 
Ip services
Ip servicesIp services
Ip services
Student
 
HSRP (hot standby router protocol)
HSRP (hot standby router protocol)HSRP (hot standby router protocol)
HSRP (hot standby router protocol)
Netwax Lab
 
CCNP Switching Chapter 6
CCNP Switching Chapter 6CCNP Switching Chapter 6
CCNP Switching Chapter 6
Chaing 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 course
muhammednurhusien1
 
Hsrp
HsrpHsrp
Hsrp
HsrpHsrp
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
IT Tech
 
Ospf Last Modified Eng
Ospf  Last Modified EngOspf  Last Modified Eng
Ospf Last Modified Eng
Alp isik
 
CCNA ppt Day 5
CCNA ppt Day 5CCNA ppt Day 5
CCNA ppt Day 5
VISHNU N
 
Vrrp Alp
Vrrp AlpVrrp Alp
Vrrp Alp
Alp isik
 
Day 8 1 introducing routing n
Day 8 1 introducing routing nDay 8 1 introducing routing n
Day 8 1 introducing routing n
CYBERINTELLIGENTS
 
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
Sandeep 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 Routing
CCNAResources
 
CCNA part 5 routing
CCNA part 5 routingCCNA part 5 routing
IS-IS Protocol Adjacency
IS-IS Protocol Adjacency IS-IS Protocol Adjacency
IS-IS Protocol Adjacency
NetProtocol Xpert
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
Lakshan Perera
 
Labmannual
LabmannualLabmannual
Labmannual
Matiullah Jamil
 

Similar to Hot standby router protocol (hsrp) using (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
 
HSRP (hot standby router protocol)
HSRP (hot standby router protocol)HSRP (hot standby router protocol)
HSRP (hot standby router protocol)
 
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
 
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

Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
Mukeshwaran Balu
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
ssuser36d3051
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt
PuktoonEngr
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 

Recently uploaded (20)

Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 

Hot standby router protocol (hsrp) using

  • 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.