Cisco SR 520 Router on a Stick

Has anyone had any experience with creating a "router on a stick"?  I have been playing with this for a while and I fear that this router is only a WAN port and a flat switch.  I know I can create VLANs on the router itself but want to be able to route between the VLAN's.  Since all connections are internal on the "switch" portion is seems to use all Layer 2 protocols to get where it wants to go, which is the way it works.  I guess what I am getting at is has anyone had any luck creating a sub Int on the router from the internal side to actually create the dot1q encaps int and sub them out.  I know this is a lower end router but have had very good luck with it in the past.

Thanks in advance,
 
FH_JGoodwinAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GJHopkinsCommented:
You don't need to use subinterfaces as the ports are also  switchports so can be used to form a trunk to your switch.

Config along the lines of


interface fastethernet 0
switchport trunk

int vlan 10
 ip add 10.10.10.10 255.255.255.0

int vlan 20
 ip add 20.20.20.20 255.255.255.0


connect this to a trunk port on the switch and set the default gateways of devices in each vlan to the vlan interface on the 520 and you should be able to route between devices.

you can define an untagged ( or native vlan) with

int fastethernet 0
switchport trunk native vlan 10


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pwindellCommented:
Since it is a L3 Switch with mulitple ports on it,  there is no point in a "router on a stick".  You create two interfaces by creating two VLANs and assigning certain ports to each VLAN,...then two cables leave the switch,...one from each VLAN and you run the router in a "normal" way,...not "on a stick".

You do a "router on a stick"  when you multi-net with an old traditional style router (not an L3 Switch),...which is not what you are doing.  VLANing is not multi-netting,...in fact VLANs replace the old concept of multi-netting.

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.