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

Vlan Virtual IP address

I have two 6509s. Is there a way I can setup a virtual IP address for the Vlan Gateway? For example Vlan 2 could be 172.16.2.1 (as the virtual) 172.16.2.2 (primary) 172.16.2.3 (secondary). This way if one of my switches were to fail my workstations would still be able to cross vlans.

I'm thinking something like HSRP?

Or if you can just guide me in the right direction, I would really appreciate it.

Thanks for any information.

5 REPLIES
Cisco Employee

Re: Vlan Virtual IP address

Hi Friend,

Yeah HSRP is the going to be the solution for your requirement.

Have a look at this link

http://www.cisco.com/en/US/products/hw/switches/ps700/products_configuration_guide_chapter09186a008007fa3c.html#1023113

Also you can think of deploying GLBP instead of HSRP which will give you true active activr scenario

http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a008042fb97.html

HTH

Ankur

*Pls rate helpfull post

Community Member

Re: Vlan Virtual IP address

Thanks!! I'll go over the links you sent me. You mentioned that GLBP is active active? Am I right to assume that this will provide a type of load balance to my closet switches?

Re: Vlan Virtual IP address

you are thinking in right direction. You can configure HSRP on both 6509s. config will look like this:

6509A

interface vlan 2

172.16.2.2 255.255.255.0

standby 2 ip 172.16.2.1

standby 2 priority 150

standby 2 preempt

6509B

interface vlan 2

172.16.2.3 255.255.255.0

standby 2 ip 172.16.2.1

standby 2 priority 100

standby 2 preempt

with above config in place, 6509A will be active and 6509B will be standby switch because VLAN 2 priority is higher on 6509A.

All devices which are member of VLAN 2 will be configured with default gateway 172.16.2.1. Traffic will pass through 6509A, if it goes down, 6509B will become active and traffic starts passing through it.

Once 6509A comes online it will again act as active and 6509B will go back to standby mode as preempt command is configured on both switches.

hope it helps ... rate if it does ...

Community Member

Re: Vlan Virtual IP address

Thanks Sourabhagarwai.

Now if I were to implement HSRP on multiple vlans between the two switches would I need to specify a unique group for each vlan?

Cisco Employee

Re: Vlan Virtual IP address

Hi Friend,

Yes with GLBP you will get load balancing working with true actice active scenario where both the switches can be active.

With HSRP one router will be active and one will stay in standby mode though you may design your network for load ballancing with MHSRP.

Also coming to your last doubt if you are implementing HSRP for multiple vlans you need not design unique group for each vlan and can have same group number for multiple vlans. Also remember there is a limitation of HSRP group number which is max 16 so you need to use group numbers with roper thaughts depending upson number of vlans in your network.

HTH

Ankur

*Pls rate helpfull post

142
Views
8
Helpful
5
Replies
CreatePlease to create content