Router on a Stick (ROAS)
Also: ROASrouter-on-a-sticksubinterfacesubinterfacesencapsulation dot1q
Inter-VLAN routing using one physical router interface connected to a switch trunk and split into subinterfaces, one per VLAN, each configured with 'encapsulation dot1q <vlan-id>' and an IP address that serves as that VLAN's gateway. Simple and cheap, but the single link can become a bottleneck.
NetworkChuck0
Not taught as a topic in NetworkChuck Free CCNA. Mentioned fewer than twice, if at all.
Jeremy's IT Lab8
- Day 17 Lab VLANs (Part 2)
Router on a Stick (ROAS)R1 G0/0 is split into subinterfaces G0/0.10, .20 and .30, each with encapsulation dot1q <vlan> and the subnet's gateway IP. The switch port facing R1 is a trunk allowing all three VLANs.
7:27That’s all for step 2. Step 3 is to configure the connection between SW2 and R1 using router on a stick.
Said 17× - Day 46 Lab Voice VLANs
Router on a Stick (ROAS)R1's F0/0 is split into subinterfaces F0/0.10 and F0/0.20, each with encapsulation dot1q and a gateway IP, so both the data and voice VLANs can reach R1 over one trunk.
1:18So, instead of SW1 acting as the router, we’ll configure router on a stick between SW1 and R1. First I’ll configure SW1.
Said 6× - Day 17 VLANs (Part 2)
Router on a Stick (ROAS)Inter-VLAN routing over a single router interface divided into subinterfaces. Each subinterface has encapsulation dot1q <vlan> and an IP address; the connected switch port is a normal trunk.
30:09G00 interface tagged with VLAN 20. Okay, let's review the important points about router on a stick. ROAS is used to route between multiple VLANs using a single interface on the router and switch.
Said 4× - Day 21 Part 1 PortFast (STP Toolkit)
Router on a Stick (ROAS)A ROAS link is a trunk between a switch and a router; since routers do not flood frames and cannot cause Layer 2 loops, PortFast trunk can be safely enabled on the switch port.
10:05And the second example is a port connected to a router via router-on-a-stick. As we covered in the VLAN section of the course, router-on-a-stick is basically a trunk link between a switch and a router.
Said 3× - Day 35 Lab Extended ACLs
Router on a Stick (ROAS)When a physical interface is split into subinterfaces (such as F1/0.2 and F1/0.3), an ACL can't be applied to the physical interface. Apply it to each subinterface or to another interface on the path.
9:48Here are the IP addresses on each device. Notice that Router2 is using router-on-a-stick here. FastEthernet1/0.2 and .3, because there are two VLANs here, two subnets, connected to this single physical interface.
Said 1× - Day 18 VLANs (Part 3)
3:53…to the native VLAN, and frames sent in the native VLAN will not be tagged. The second option is to not use a subinterface at all, but just configure the IP address for the native VLAN on the physical interface of the ro…
Said 23× - Day 18 Lab VLANs (Part 3)
17:56How about the other subinterface? It works as well. Okay, so PC3 cannot ping either subinterface.
Said 16× - Day 23 Lab Configuring EtherChannel
4:56…supports both ISL and dot1q trunk encapsulations, so we have to set the encapsulation first. SWITCHPORT TRUNK ENCAPSULATION DOT1Q.
Said 2×
Related terms
Flashcards that test it
Jeremy's IT Labswitchport mode trunk is rejected with 'An interface whose trunk encapsulation is Auto cannot be configured to trunk mode'. What fixes it?
switchport trunk encapsulation dot1q (needed on switches that support both ISL and 802.1Q).
Jeremy's IT LabWhat does encapsulation dot1q 20 on router subinterface G0/0.20 do?
Frames arriving tagged VLAN 20 are treated as arriving on G0/0.20, and frames sent out of G0/0.20 are tagged with VLAN 20.
Jeremy's IT LabConfigure R1 subinterface G0/0.10 for VLAN 10 with IP 10.0.0.62/26.
interface g0/0.10 encapsulation dot1q 10 ip address 10.0.0.62 255.255.255.192 (and no shutdown on the physical G0/0)
Jeremy's IT LabTwo PCs on the same switch are in VLANs 10 and 12 and their pings fail. Which things does Jeremy check to confirm there is no inter-VLAN routing?
show interfaces trunk on the switch (the router-facing port isn't a trunk) and show ip interface brief on the router (no subinterfaces).
Jeremy's IT LabWhich subinterface command makes VLAN 10 the native VLAN on a ROAS router?
encapsulation dot1q 10 native
Jeremy's IT LabBesides encapsulation dot1q <vlan> native, how else can a router handle the native VLAN in ROAS?
Configure the native VLAN's IP address directly on the physical interface (no subinterface and no encapsulation command).
Jeremy's IT LabWhy is a Layer 3 switch preferred over router on a stick for inter-VLAN routing in large networks?
With ROAS all inter-VLAN traffic goes to the router and back over one link, which can congest; a Layer 3 switch routes between VLANs internally.
Jeremy's IT LabA PC can ping another PC in its VLAN but not its default gateway (a ROAS subinterface). Where is the problem likely to be?
Between the switch and router: the trunk to the router or the router subinterface configuration (task 3 of the lab). The access VLAN itself is working.