Writers' Community!
Home News Business Science & Technology Life Style
Front Page Page Two Columnists Submit an Article FAQs Contact Author Login
Article Submission
We Need YOUR Articles!
We'll Promote Them for FREE!

Author Login

New Authors
Register Here


Now Serving 5,563 Authors
48,467 Quality Articles
& 6,325 Current Users Online!
Featured Authors
Jeff Brown (7,977)
Alf Gordon (1,365)
Nicole Beurkens (148)
David Tanguay (7,555)
Ira Coffin (897)
Joel Hendon (4,850)
Terry Mitchell (2,785)
Rob Lafferty (123)
Arlene Wright-Correll (10,108)
Jane Bullard (1,959)
Robert Melaccio, Sr. (6,499)
Avis Ward (13,445)
Richard Nicastro (2,545)
Dianne Lehmann (3,112)

View All Featured Authors
Most Recent
Windows Vista Sidebar, Gadgets, Easy Wireless Networking and Improved Back Features

CompTIA A+, Security+, Network+ Tutorial Ethernet Card Troubleshooting

CCNA, CCENT, CCNP Tutorial on Routers and Routing

CompTIA Security+ Article on Firewall Security Advantages and Firewall Functions

Microsoft Training Certifications

CCNA Security Exam Tutorial: When It's Good To Add Salt

Why Switch to Windows Vista

Free Cisco CCNA, CCENT, CCNP Certification Tutorial

Why People should get Network+, CCNA, CCNP or CCIE Network Based Certifications

Cisco CCNA And CCNP Practice Exam Questions: Frame Relay, Uplinkfast, And More!

Home » Categories » Computers & Networking » Technical Certification » Passing The CCNA and CCNP: Configuring And Troubleshooting "Router-On-A-Stick" » Printer Friendly

Passing The CCNA and CCNP: Configuring And Troubleshooting "Router-On-A-Stick"

Rated 4 out of 5
No Reader Ratings Available ?
Rate It  /  View Comments  /  View All Articles submitted by Chris Bryant CCIE 12933
Submitted Monday, October 24, 2005
Chris Bryant CCIE 12933 (13,693)
The Bryant Advantage
Log in to become a member of Chris Bryant CCIE 12933's Fan Club!


For CCNA and CCNP candidates, it's hard not to laugh the first time you hear the phrase "router on a stick". Let's face it, that's a pretty silly term. But as those who have passed the CCNA and CCNP exams know, this is a vital exam topic that you must know how to configure and troubleshoot.

Basic Cisco theory states that for hosts in different VLANs to communicate, a Layer 3 device must be involved to handle the routing between the VLANs. That device is a router, and there are special considerations that must be taken into account for both the physical router itself and the configuration you'll be writing.

The router will be connected to a switch via a FastEthenet port (or higher). The router port cannot be a regular Ethernet port, since the router port will need the ability to send and receive data at the same time.

The configuration of the interface is where things get interesting. Let's say we have two VLANs that will be using router-on-a-stick to communicate. Here is the VLAN information:

VLAN 20: 20.20.20.0 /24

VLAN 40: 40.40.40.0 /24

The port on the switch that will be connected to the router's FastEthernet port must be in trunking mode, and you must know the trunking protocol in use. We'll go with the Cisco-proprietary ISL here.

The physical FE port on the router will not have an IP address. The use of router-on-a-stick mandates the use of logical subinterfaces. While we don't have to use the VLAN numbers for the subinterface numbers, I've found this helps you keep the interfaces straight. One subinterface must be given an IP address in VLAN 20, and the other will have an IP address in VLAN 40.

After creating subinterfaces fast 0.20 and fast 0.40, the config looks like this:

interface fastethernet0

no ip address

interface fastethernet 0.20

ip address 20.20.20.1 255.255.255.0

interface fastethernet 0.40

ip address 40.40.40.1 255.255.255.0

Believe it or not, you're almost done! Now we need the encapsulation statement under each subinterface. The subinterface statement must reflect both the VLAN number and the encapsulation type being used. When we're finished, the config would look like this:

interface fastethernet0

no ip address

interface fastethernet 0.20

ip address 20.20.20.1 255.255.255.0

encapsulation isl 20

interface fastethernet 0.40

ip address 40.40.40.1 255.255.255.0

encapsulation isl 40

And that's it! Your hosts in VLAN 20 should now be able to communicate with hosts in VLAN 40, and vice versa.

A couple of final troubleshooting points - the most common error with router-on-a-stick is to put the wrong vlan number in the encapsulation statement. Also, make sure you have configured the router's IP address in VLAN 20 as the default gateway for hosts in VLAN 20, and do the same for VLAN 40.

I hope you've enjoyed this look at router-on-a-stick. While the name may get a chuckle out of you, it's still used in quite a few networks out there, and knowing how to configure and troubleshoot it will get you that much closer to earning your CCNA and CCNP.

Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage, home of over 100 free certification exam tutorials, including Cisco CCNA certification test prep articles. His exclusive Cisco CCNA study guide and Cisco CCNA training is also available!

Visit his blog and sign up for Cisco Certification Central, a daily newsletter packed with CCNA, Network+, Security+, A+, and CCNP certification exam practice questions! A free 7-part course, “How To Pass The CCNA", is also available, and you can attend an in-person or online CCNA boot camp with The Bryant Advantage!






Reprint Rights

Log in to become a member of Chris Bryant CCIE 12933's Fan Club!

Comments on this article:
No comments yet.


Was this article helpful to you? Leave a Public Comment or Question:

 

This Article has been viewed 687 times.
Article added to SearchWarp.com on Monday, October 24, 2005
View other articles written by Chris Bryant CCIE 12933 (13,693)


If you found this article interesting, you may want to check out:

Disclaimer:  All information on this site is provided for informational purposes only! By no means is any information presented herein intended to substitute for the advice provided to you by any health care or other professional or organization.


Today's Most Popular
Cisco CCNA Certification Exam Tutorial: Route Summarization

Cisco CCENT / CCNA Certification Exam Tutorial: Logging Synchronous And Exec-Timeout Commands

Cisco CCNA Exam Tutorial: What's A Collision Domain?

Cisco CCNA Certification: Everything You Need To Know About Telnet!

Cisco CCNP / BSCI Exam Tutorial: The BGP MED Attribute

Cisco Certification: The Definitive Guide To ARP, RARP, IARP, and Proxy ARP

Cisco CCNA Certification: Showdown At The Transport Layer... TCP vs. UDP !

Cisco CCNA Certification Exam Tutorial: Access List Troubleshooting

Cisco CCNA / CCNP Free Tutorial: Home Lab Assembly Case Study

Cisco CCNA / CCNP Certification: Deciphering PING Returns

Home  |  Page Two  |  FAQ's  |  Contact  |  Terms of Service  |  Article Submission Guidelines  |  Writers' Contests  |  Privacy  |  Mission / About
Copyright © 1999-2008 SearchWarp.com, All Rights Reserved - SearchWarp.com is an IcoLogic, Inc. Company