cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1672
Views
15
Helpful
8
Replies

Question about HSRP

Andy3055
Level 1
Level 1

Hi everyone

Greetings!

I've already finished config on routers.

And how should I configure the multilayer switch in the diagram below if I want to create HSRP with router 0 and router 1?

Should IP addresses on G0/1 and G0/2 on multilayer switch be in a same network?

Andy

1.PNG

 

2 Accepted Solutions

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

On the switch make sure Gi 0/1 and 0/2 in same VLAN to HSRP to work. (if you have done the config on router)

 

On the Router the IP should be same as other ( it can not be 10.0.1.1 - it should be 10.0.0.3)

 

best suggestion is

 

router 1 should have 10.0.0.2

router 2 should have 10.0.0.3

Virtual IP 10.0.0.1

 

 

show standby brief show you one as master other one slave

 

still issue post the config to look and suggest

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

On the switch you do not give any IP address on the interface, they should just Layer 2

 

config t

!

Vlan 10

!

interface range gi 0/1-2

switchport mode access

switchport access vlan 10

!

 

interface fas0/1

switchport mode access

switchport access vlan 10

 

 

 

ands configure your PC with IP address 10.0.0.4 gateway 10.0.0.1 should work as expected

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

8 Replies 8

balaji.bandi
Hall of Fame
Hall of Fame

On the switch make sure Gi 0/1 and 0/2 in same VLAN to HSRP to work. (if you have done the config on router)

 

On the Router the IP should be same as other ( it can not be 10.0.1.1 - it should be 10.0.0.3)

 

best suggestion is

 

router 1 should have 10.0.0.2

router 2 should have 10.0.0.3

Virtual IP 10.0.0.1

 

 

show standby brief show you one as master other one slave

 

still issue post the config to look and suggest

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello everyone

I have a question about HSRP.

I've configured related ports on router1, router2 and multilayer switch. But there's some issues.

Can you help me to solve it,please?

Here's my config text and results below:

 

!router1-active
en
conf t
int g0/0
ip add 10.0.0.2 255.255.255.240
standby 1 priority 150
standby 1 ip 10.0.0.1
standby 1 preempt
no shut

 

!router2-standby
en
conf t
int g0/1
ip add 10.0.0.3 255.255.255.240
standby 1 priority 90
standby 1 ip 10.0.0.1
standby 1 preempt
no shut

 

!multilayer switch
en
conf t
int g0/1
ip add 10.0.0.4 255.255.255.240
no shut

int g0/2
ip add 10.0.0.5 255.255.255.240
no shut

Andy3055_0-1638477910540.png

Andy3055_1-1638478104374.png

Andy3055_2-1638478111629.png

 

 

Andy3055_3-1638478118506.png

Why not follow below thread which you have already - i have answered there :

 

https://community.cisco.com/t5/switching/question-about-hsrp/m-p/4512086#M514658

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Jon Marshall
Hall of Fame
Hall of Fame

 

They need to be in the same vlan and IP subnet.

 

Jon

Andy3055
Level 1
Level 1

Thanks for your help. I've updated the diagram and typed config into devices. But still have some issues.

Here's my config text and results below:

 

!router1-active
en
conf t
int g0/0
ip add 10.0.0.2 255.255.255.240
standby 1 priority 150
standby 1 ip 10.0.0.1
standby 1 preempt
no shut

 

!router2-standby
en
conf t
int g0/1
ip add 10.0.0.3 255.255.255.240
standby 1 priority 90
standby 1 ip 10.0.0.1
standby 1 preempt
no shut

 

!multilayer switch
en
conf t
int g0/1
ip add 10.0.0.4 255.255.255.240
no shut

int g0/2
ip add 10.0.0.5 255.255.255.240
no shut

 

 

r1.PNGr2.PNGsw.PNG

Here's the new diagram

1.PNG

On the switch you do not give any IP address on the interface, they should just Layer 2

 

config t

!

Vlan 10

!

interface range gi 0/1-2

switchport mode access

switchport access vlan 10

!

 

interface fas0/1

switchport mode access

switchport access vlan 10

 

 

 

ands configure your PC with IP address 10.0.0.4 gateway 10.0.0.1 should work as expected

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thank you. This is helpful.

Review Cisco Networking for a $25 gift card