Cisco HSRP – Configuring HSRP with Redundant Links

ciscohsrpredundancy

I am not sure how to configure HSRP in my scenario:
I have 2 distribution 2950 switches, each connected to two core 3560 switches.

Distribution switches work in VTP transparent mode and (for now) all access ports on Access switches are in VLAN 100.

The default gateway address is 192.168.1.1 for HSRP virtual IP address. I basically have two pairs of links, from each Distribution switch. Should I configure two separate HSRP groups for each switch connected to Core layer, let's say:

Group 1
Core 1 – Port 0/1 – IP 192.168.1.2 – priority 105 connected to Distribution 1
Core 2 – Port 0/1 – IP 192.168.1.3 – priority 100 connected to Distribution 1

Group 2
Core 1 – Port 0/2 – IP 192.168.1.4 – priority 105 connected to Distribution 2
Core 2 – Port 0/2 – IP 192.168.1.5 – priority 100 connected to Distribution 2

? Should they all have standby IP address set to 192.168.1.1??

UPDATE

Full topology

Where I need to set up HSRP for Distribution 1 & 2, based on that example I can handle the rest.

Would you suggest using SVIs?

Best Answer

I would use SVIs for the L3 interfaces at core instead of assigning the IP configuration to physical ports.

This way, having VLAN 100 allowed in all links between Core1, Core2, Distribution1 and Distribution2 the Spanning Tree protocol will manage which of the available uplinks will be used to forward traffic between distribution and core.

A config sample for HSRP with SVI would be:

Core1

interface vlan 100 
  ip address 192.168.1.2 255.255.255.0
  standby version 2
  standby 100 ip 192.168.1.1
  standby 100 priority 105
  standby 100 preempt
!

Core2

interface vlan 100
  ip address 192.168.1.3 255.255.255.0
  standby version 2
  standby 100 ip 192.168.1.1
  standby 100 preempt
!

Should you need more information regarding the configuration options for HSRP in your 3560´s you can check the 3560 configuration guide for the software release you are using. For instace: http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3560/software/release/12-2_52_se/configuration/guide/3560scg/swhsrp.html