0% found this document useful (0 votes)
96 views4 pages

HSRP

FHRP (First Hop Redundancy Protocol) allows multiple routers to share an IP address for a network so that if one gateway fails, traffic can be redirected to another router without losing connectivity. HSRP (Hot Standby Router Protocol) is a common FHRP that enables one router to act as the active gateway and forward traffic, while a standby router takes over if the active fails. Configuring HSRP involves enabling it on interfaces of redundant routers and setting a virtual IP address to float between them, maintaining connectivity even during gateway failures.

Uploaded by

Abhishek Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
96 views4 pages

HSRP

FHRP (First Hop Redundancy Protocol) allows multiple routers to share an IP address for a network so that if one gateway fails, traffic can be redirected to another router without losing connectivity. HSRP (Hot Standby Router Protocol) is a common FHRP that enables one router to act as the active gateway and forward traffic, while a standby router takes over if the active fails. Configuring HSRP involves enabling it on interfaces of redundant routers and setting a virtual IP address to float between them, maintaining connectivity even during gateway failures.

Uploaded by

Abhishek Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

1.WHAT IS FHRP?

--FHRP stands for first hop redundancy protocol


--it is used for gateway redundancy
--more than one router work as gateway redundancy incase if one fails then other
can provide uninterruptable gateway service
--FHRP creates a floating router or virtual router which has an ip address
--floating means when R1 is active it works with r1 and when r1 is down it works
with r2
--this ip address is swapped between r1 and r2

2.WHAT DO YOU MEAN BY FIRST HOP?


--this is the first IP address which help the LAN users to route the data packets
to the other network

3.WHAT IS THE USE OF FHRP?


--if we configure this concept then the employees of the organization will get the
uninterruptable internet services irrespective of any gateway issue

4.WHAT ARE THE PROTOCOLS FHRP USE?


--FHRP uses 3 types of protocols for gateway redundancy
i)HSRP(hot standby router protocol)
ii)VRRP(virtual router redundancy protocol)
iii)GLBP(gateway load balancing protocol)

5.WHAT IS HSRP?
--it is a cisco proprietary protocol which allows more than one router to use
single IP address for a particular network for providing gateway redundancy
--it allows only one router as an active and others are as standby mode
--the active router is responsible for forwarding the traffic and if it fails then
only the standby router takes the responsibility of active router for forwarding
the traffic
--in every 3 sec routers exchange hello messages to get the update
--hold down time is 10 sec-after 10 sec hsrp declares the gateway is down so that
standby be active and forward the lan traffic

6.HOW TO CONFIGURE HSRP?


i)configure all routers
ii)configure routing
iii)configure HSRP
iv)verify the configuration

i)configure all routers

R1
R1(config)#int f0/0
R1(config-if)#no shut
R1(config-if)#ip add 192.168.1.100 255.255.255.0
R1(config-if)#exi
R1(config)#int s0/0
R1(config-if)#no shut
R1(config-if)#ip add 11.1.1.1 255.0.0.0
R1(config-if)#clock rate 64000
R1(config-if)#exit
R1(config)#exit
R1#sh ip int brief

R2
R2(config)#int f0/0
R2(config-if)#no shut
R2(config-if)#ip add 192.168.1.200 255.255.255.0
R2(config-if)#exi
R2(config)#int s0/0
R2(config-if)#no shut
R2(config-if)#ip add 12.1.1.2 255.0.0.0
R2(config-if)#exit
R2(config)#exit
R2#sh ip int brief

R3

R3(config)#int f0/0
R3(config-if)#no shut
R3(config-if)#ip add 13.1.1.1 255.0.0.0
R3(config-if)#exi
R3(config)#int s0/0
R3(config-if)#no shut
R3(config-if)#ip add 11.1.1.2 255.0.0.0
R3(config-if)#exit
R3(config)#int s0/1
R3(config-if)#no shut
R3(config-if)#ip add 12.1.1.1 255.0.0.0
R3(config-if)#clock rate 64000
R3(config-if)#exit
R3(config)#exit
R3#sh ip int brief

ii)configure routing
a)configure default routing on both R1 AND R2
R1
R1(config)#=ip route 0.0.0.0 0.0.0.0 11.1.1.2

R2
R2(config)#=ip route 0.0.0.0 0.0.0.0 12.1.1.1

b)configure static routing on ISP router


R3(config)#ip route 192.168.1.0 255.255.255.0 11.1.1.1
R3(config)#ip route 192.168.1.0 255.255.255.0 12.1.1.2

iii)configure hsrp
R1
R1(config)#int f0/0
R1(config-if)#standby 2 ip 192.168.1.10
R1#sh standby
FastEthernet0/0 - Group 2
State is Active
4 state changes, last state change 00:29:50
Virtual IP address is 192.168.1.10
Active virtual MAC address is 0000.0C07.AC02
Local virtual MAC address is 0000.0C07.AC02 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 1.25 secs
Preemption disabled
Active router is local
Standby router is unknown
Priority 100 (default 100)
Group name is hsrp-Fa0/0-2 (default)

R1#sh standby brief


P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Fa0/0 2 100 Active local 192.168.1.200 192.168.1.10

CONFIGURE PREEMT
R1(config-if)#standby 2 priority <value>
R1(config-if)#standby 2 preempt
R1(config-if)#standby 2 timers <hello> <hold down>

R2
R2(config)#int f0/0
R2(config-if)#standby 2 ip 192.168.1.10

R2#
%HSRP-6-STATECHANGE: FastEthernet0/0 Grp 2 state Speak -> Standby

R2#sh standby
FastEthernet0/0 - Group 2
State is Standby
3 state changes, last state change 00:32:08
Virtual IP address is 192.168.1.10
Active virtual MAC address is 0000.0C07.AC02
Local virtual MAC address is 0000.0C07.AC02 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 1.728 secs
Preemption disabled
Active router is 192.168.1.100
Standby router is local
Priority 100 (default 100)
Group name is hsrp-Fa0/0-2 (default

R2#sh standby brief


P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Fa0/0 2 100 Standby 192.168.1.100 local 192.168.1.10

R1(config-if)#shut
%HSRP-6-STATECHANGE: FastEthernet0/0 Grp 2 state Active -> Init
R2#
%HSRP-6-STATECHANGE: FastEthernet0/0 Grp 2 state Standby -> Active

R2(config-if)#standby 2 priority <value>


R2(config-if)#standby 2 preempt
R2(config-if)#standby 2 timers <hello> <hold down>

R2#show standby brief

verification command
r#show standby
r#sh standby brief

You might also like