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

HSRP configuration

alfonzofernando
Level 1
Level 1

Hi mates :)

I am dealing with a deadline on the project and need some help on HSRP configuration.

please see the attached figure that shows the network and IP design.

so far I ve configured:

trunk

etherchannel

SVIs

I m gonna configure OSPF, and HSRP

OSPF is easy but HSRP on tis network kind of tricky. I ve been working HSRP and read tones of papers but still need help, not just logic, also configuration details.

every PC in all VLANs and on remote location should ping eachother.

give me a hand guys.

i ll appreciate any help,tx for helping in advance.

8 Replies 8

jpl861
Level 4
Level 4

The virtual IP address is the default gateway that the workstation will use. For example:

SwitchA

int vlan 1

ip address 50.50.50.66 255.255.255.192

standby 1 ip 50.50.50.65

standby 1 priority 105

SwitchB

int vlan 1

ip address 50.50.50.67 255.255.255.192

standby 1 ip 50.50.50.65

standby 1 priority 100

Workstations should use 50.50.50.65 as their default gateway.

Higher priority switch will be the active one. Since your router is connected in switch A then i think it's better to configure switch A as the active one.

HTH

Regards,

John

tx john but still questions.

in your config, adresses are assigned to VLAN 1

I use 2 VLANs (VLAN A and B) for users and VLAN 1 for management

Are you sure your config will work on my network?

tx for helping

SwitchA#

int vlan 2

description VLAN_A

ip address 50.50.50.66 255.255.255.192

standby 1 ip 50.50.50.65

standby 1 priority 105

int vlan 3

description VLAN_B

ip address 50.50.50.34 255.255.255.224

standby 2 ip 50.50.50.33

standby 2 priority 105

SwitchB #

int vlan 2

description VLAN_A

ip address 50.50.50.67 255.255.255.192

standby 1 ip 50.50.50.65

standby 1 priority 100

int vlan 3

description VLAN_B

ip address 50.50.50.35 255.255.255.224

standby 2 ip 50.50.50.33

standby 2 priority 100

Yup! This will work. We are using this configuration. =)

man you are the one!

I ll give it a try and will pray it works as it is. havent been sleeping for 21 hours and i am not capable of counting 1 to 10 now :)))

john;

I ve assigned

50.50.50.65 as default gateway for VLAN A end users,

50.50.50.33 as default gateway for VLAN B end users,

is that right?

tx for helping

yes,

thats right man... and your all the traffic will flow through the Switch A for both the VLAN A & B...

regards

Devang

Sorry for the late reply. I went home already. Devang answered your question already. Thanks Devang. =)

thanks Devang and John

this help was so precious for me pals.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco