Solved

CCNA Switch Subintf question

Posted on 2004-09-16
3
306 Views
Last Modified: 2010-04-10
Hey, i got the test tommorow and a quick question:

On a switch (1900 or 2950), when you want to configure Inter-VLAN Routing, what are the proper configuration steps?

Is is
switch#config t
switch(config)#int f0/0.1
switch(config-subif)#encapsulation isl (or dot1q for 2950) "vlan#"

or did i miss something?  Thanks!
0
Comment
Question by:smashmouthftball
  • 2
3 Comments
 
LVL 79

Accepted Solution

by:
lrmoore earned 300 total points
ID: 12083861
You cannot configure inter-vlan routing on either a 1900 or a 2950. You need a layer 3 switch to do that.
However, you can use a "router-on-a-stick".
Switchport setup for trunking
ROUTER interface:

ROUTER#config t
ROUTER(config)#int f0/0.1
ROUTER(config-subif)#encapsulation isl (or dot1q for 2950) "vlan#"
0
 

Author Comment

by:smashmouthftball
ID: 12084922
Ahh now that makes sense...telling the router to move packets from switch to switch...do you have to put in the encapsulation isl (or dot1q for 2950) "vlan#" command for each vlan you want to route through the router, or will just one do?
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 12084993
You have to have a separate router sub-interface for each VLAN, so yes, you need to specify the encap and the vlan#
i.e.

interface fa0/0
  ip address x.x.x.1 255.255.255.0

interface f0/0.2
  ip address x.x.y.1 255.255.255.0
 encap dot1q 2

interface f0/0.3
 ip address x.x.z.1 255.255.255.0
 encap dot1q 3

<etc>
Notice that VLAN 1 does not require a sub-if. The major interface F0/0 in this case, will automatically recognize VLAN1 traffic without specifying encapsulation or vlan#

0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SSL RA VPN 7 76
Determine Switch and Port for Cisco Switch 1 40
Device same like our heart 12 47
Printer Settings 3 63
Managing 24/7 IT Operations is a hands-on job and indeed a difficult one. Over the years I have found some simple tips and techniques to increase the efficiency of the overall operations. The core concept has always been on continuous improvement; a…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

705 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now