06-29-2006 07:50 AM - edited 03-05-2019 11:58 AM
Hi,
Can anyone help me how to configure a router-on-a-stick? It would be very appriciated if explain as detailed. Tnx
06-29-2006 08:32 AM
It's router with a single fastethernet connected to a switch and the router's interface is broken into sub-interfaces and encapsulated with either ISL or Dot1Q trunking, this is also called trunking so that the vlans can communicate via layer 3 - also known as inter-vlan routing, it's just routing, don't worry about the inter-vlan term if it will confuse the issue even more.
Here is a link with configuration example, sorry no pictures:
Please rate all posts.
06-29-2006 10:46 AM
On the router do the following:
interface fastethernet0
interface fastethernet0.10
encapsulation dot1q 10 -> 10 identify VLAN10
interface fastethernet0.20
encapsulation dot1q 20 -> 20 identify VLAN20
I usually prefer dot1q encapsulation instead of ISL (if you want to use isl change dot1q to isl; but cisco 2950 only support dot1q I don't know what kind of device you have....). So you create subinterfaces with the proper encapsulation command. On the switch you should configure the uplink for trunk since you want transport more than one VLAN traffic over the uplink.
The id of subinterface is not significant, so it can be fastehernet0.21 for VLAN 20, but I prefer to use the VLAN id as subinterface id, anyway you will be confused.
Bye
FCS
Rate me if I helped.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide