Solved

CCNA Switch Subintf question

Posted on 2004-09-16
3
308 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Outlook keeps opened file locked 2 53
cant gain access to the internet 4 46
NAS with google authentication 6 60
Valid LIN protocol Protected ID values 1 20
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

911 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

21 Experts available now in Live!

Get 1:1 Help Now