Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Routing VLANs between Catalyst switches

Posted on 2006-06-26
1
Medium Priority
?
319 Views
Last Modified: 2010-04-17
Hi all,

I've got two Catalyst 3560 switches in a basic configuration linked by fiber. I now want to designate a port on each switch to a separate vlan other than the default. How would I designate a vlan for the respective ports on the switches and how would I setup the GBIC ports (fiber) to route both (default & new vlan) VLANs?

Thanks!
0
Comment
Question by:kangsoh
1 Comment
 
LVL 1

Accepted Solution

by:
bmanchee earned 1000 total points
ID: 17060656
kangsoh,
setting up the ports for separate vlans is rather simple:

In interface config mode ("config t", then "int <name>" for the interface you want to configure), enter the following command: "switchport access vlan <x>" where x is the vlan you want to assign that port to.

For the fiber interface that link the 2 switches, issue a "switchport mode dynamic desirable" which ensures that the 2 ports initiate a vlan trunking link between themselves.  Keep in mind that the switches at this point are not "routing" traffic between vlans, but rather switching packets between switches within each configured vlan.

To enable the routing, issue the "ip routing" command one one of your switches.  This turns on the routing function on the switch if it is not already enabled.  This switch will now act as the "router" between your vlans.  Now you need to configure VLAN interfaces.  If you are familiar with working with router interfaces, this isn't that complicated.  To enter interface config for a vlan interface, from config mode, type "int vlan <number>", where number is the same as one of the vlans.  This creates the vlan interface and allows you to configure it.  Assign it an IP address.  That's about it.  Do again for each vlan you have already configured.  The switch should now be able to route between vlans.

If you have any more questions, please follow up.

Thansk,
Bert
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question