Router-on-a-stick vs L3 switch SVIs for inter-VLAN routing — when do I use which?
I've got inter-VLAN routing working two ways in the NetForge lab and I'm not sure when each is the "right" choice.
- Router-on-a-stick: one trunk from a switch up to a router, then subinterfaces with
encapsulation dot1Qper VLAN. - Layer-3 switch:
ip routingon, then aninterface vlan XSVI per VLAN.
Both let hosts in different VLANs ping each other, so functionally they seem the same. Is one just outdated? Is it a performance thing, a cost thing, or does it depend on the size of the network? Trying to build the right mental model instead of just picking whatever I set up first. Thanks!