Solved

Routing VLANs between Catalyst switches

Posted on 2006-06-26
1
315 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
bmanchee earned 250 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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
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…
Suggested Courses
Course of the Month7 days, 7 hours left to enroll

632 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