cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1331
Views
0
Helpful
9
Replies

how to setup HSRP for Redundany

mahesh18
Level 6
Level 6

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

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

View solution in original post

9 Replies 9

Jon Marshall
Hall of Fame
Hall of Fame

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

hi jon

thanks for reply

i want to set us for Cisco switching exam

to learn how hsrp works

thanks

mahesh

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

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?

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

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

Hi jon,

Many thanks again.

today i config my switch b for HSRP Lan redundancy successfully

mahesh

Wassim Aouadi
Level 4
Level 4

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).

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

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:

Review Cisco Networking products for a $25 gift card