Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Routing VLANs between Catalyst switches

Posted on 2006-06-26
1
Medium Priority
?
317 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 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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

New Server 172.16.200.2  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address 172.16.100.2. But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
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…

721 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