Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

how to setup HSRP for Redundany

Hi all

i have this home network

Router connected to ISP is doing NAT.

Router is connected to layer 3 switch on subnet 192.168.5.1.


Layer 3 switche  has 3 vlans 10,20, and 30 to each layer 2 switch.

DHCP is config on each Vlans.

i am getting one new layer 3 switch for this network.

is this possible with new switch i can run hsrp with existing layer 3 switch?

if yes how can i do that for redundancy?

thanks

mahesh

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Blue

Re: how to setup HSRP for Redundany

Mahesh

Ahh okay.

So you need to -

1) connect the 2 L3 switches together using a L2 trunk

2) for each vlan you need 3 addresses eg.

vlan 10 = 192.168.5.0 255.255.255.0

192.168.5.1 =virtual ip

192.168.5.2 = sw1 SVI

192.168.5.3 = sw2 SVI

SW1

====

int vlan 10

ip address 192.168.5.2 255.255.255.0

standby 10 ip 192.168.5.1

standby 10 priority 110

standby 10 preempt

standby 10 auth

SW2

====

int vlan 10

ip address 192.168.5.3 255.255.255.0

standby 10 ip 192.168.5.1

standby 10 auth

Jon

9 REPLIES
Hall of Fame Super Blue

Re: how to setup HSRP for Redundany

Mahesh

It is possible but how are things connected to your L3 switch at the moment ? If you have PCs with one connection to the existing L3 switch then HSRP won't benefit you much.

Jon

New Member

Re: how to setup HSRP for Redundany

hi jon

thanks for reply

i want to set us for Cisco switching exam

to learn how hsrp works

thanks

mahesh

Hall of Fame Super Blue

Re: how to setup HSRP for Redundany

Mahesh

Ahh okay.

So you need to -

1) connect the 2 L3 switches together using a L2 trunk

2) for each vlan you need 3 addresses eg.

vlan 10 = 192.168.5.0 255.255.255.0

192.168.5.1 =virtual ip

192.168.5.2 = sw1 SVI

192.168.5.3 = sw2 SVI

SW1

====

int vlan 10

ip address 192.168.5.2 255.255.255.0

standby 10 ip 192.168.5.1

standby 10 priority 110

standby 10 preempt

standby 10 auth

SW2

====

int vlan 10

ip address 192.168.5.3 255.255.255.0

standby 10 ip 192.168.5.1

standby 10 auth

Jon

New Member

Re: how to setup HSRP for Redundany

Hi jon

Thanks for reply

right now vlan 10 has ip 192.168.10.1

vlan 20 has 192.168.20.1  and vlan 30 has 192.168.30.1  on sw1.

and all 3 vlan ips are Default gateway for 3 layer 2 switches.

you mean to say i should find 3 valid ips in each vlan range?

Hall of Fame Super Blue

Re: how to setup HSRP for Redundany

mahesh18 wrote:

Hi jon

Thanks for reply

right now vlan 10 has ip 192.168.10.1

vlan 20 has 192.168.20.1  and vlan 30 has 192.168.30.1  on sw1.

and all 3 vlan ips are Default gateway for 3 layer 2 switches.

you mean to say i should find 3 valid ips in each vlan range?

Mahesh

You already have one of the addresses ie. 192.168.10.1, 192.168.20.1, 192.168.30.1 so you just need another 2 IPs.

Jon

New Member

Re: how to setup HSRP for Redundany

Hi Jon,

I have attached the config file of layer 3 switch

I am getting  Second layer 3 switch

so in order to have hsrp running on both please let me know what config changes will be on new switch

thanks

mahesh

New Member

Re: how to setup HSRP for Redundany

Hi jon,

Many thanks again.

today i config my switch b for HSRP Lan redundancy successfully

mahesh

New Member

Re: how to setup HSRP for Redundany

I guess you'll configure your new L3 switch with the aforementioned VLANs.

One way I can think of is to have both L3 switches participate in HSRP on the 3 vlans. For each vlan, one switch will be Active while the other will be Standby.

for example, for vlan 11, swA will be the Active, and swB will be the Standby:

on swA:

int vlan 11

standby 1 ip ...

standby 1 priority 150

on swB:

int vlan 11

standby 1 ip ..

standby 1 prioriry 100 (this line can be omitted since the default priority is 100).

New Member

Re: how to setup HSRP for Redundany

Hi Thanks for reply

so you mean to say  new switch layer 3 can have same config as of working layer switch?

any new config which i need on  new layer 3 switch.

thanks

mahesh

980
Views
0
Helpful
9
Replies
CreatePlease login to create content