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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Vlans, HSRP & Switches

Hi,

I am trying to setup a 4948 switch so that half the ports belong to one subnet and the other half belong to another. In one subnet I will connect routers and servers and in the other subnet I will connect workstations (via other switches)

I also have a second 4948 which I want to configure exactly the same and then setup HSRP for failover.

I know I can setup Vlans and split the ports as planned and assign each vlan with an IP address for its subnet. What I’m not sure about is routing between the two Vlans and how HSRP will fit in.

Any help would be greatly appreciated.

Thanks

Leigh

1 REPLY
Cisco Employee

Re: Vlans, HSRP & Switches

Hi Leigh,

This should be a simple configuration. As far as routing between the VLANs, as long as you have "ip routing" globally configured, it will automatically route between the VLANs.

Your config would look something like this

switch 1:

interface Vlan101

description Workstations

ip address 10.1.1.2 255.255.255.0

standby 101 ip 10.1.1.1

!

interface Vlan102

description Routers and Servers

ip address 1.1.1.2 255.255.255.0

standby 102 ip 10.1.2.1

!

switch 2:

interface Vlan101

description Workstations

ip address 10.1.1.3 255.255.255.0

standby 101 ip 10.1.1.1

!

interface Vlan102

description Routers and Servers

ip address 1.1.1.3 255.255.255.0

standby 102 ip 10.1.2.1

!

10.1.1.1 and 10.1.2.1 would be your HSRP virtual address that you would use as the default gateway for these VLANs.

For more on HSRP in a switched network see the following doc:

http://www.cisco.com/warp/public/473/62.shtml

HTH,

Bobby

*Please rate helpful posts.

89
Views
4
Helpful
1
Replies