Solved

CCNA Switch Subintf question

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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

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 …
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

840 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