12-02-2021 10:05 AM
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
Solved! Go to Solution.
12-02-2021 10:09 AM - edited 12-02-2021 10:11 AM
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
12-02-2021 12:55 PM - edited 12-02-2021 01:02 PM
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
12-02-2021 10:09 AM - edited 12-02-2021 10:11 AM
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
12-02-2021 12:49 PM
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
12-02-2021 01:01 PM
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
12-02-2021 10:10 AM
They need to be in the same vlan and IP subnet.
Jon
12-02-2021 10:48 AM
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
12-02-2021 10:49 AM
Here's the new diagram
12-02-2021 12:55 PM - edited 12-02-2021 01:02 PM
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
12-02-2021 02:04 PM
Thank you. This is helpful.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide