CodeLab Academy
← List Networks · Level 15: Routers and inter-VLAN routing Cisco config · 75 points ← #142 #144 →

🖧 #143. Router-on-a-stick: VLAN 10 and 30

A switch trunk is plugged into **GigabitEthernet0/0** on **Gate**. Route between the VLANs with subinterfaces: - **Gi0/0.10**: 802.1Q, VLAN 10, address **192.168.10.1/24** - **Gi0/0.30**: 802.1Q, VLAN 30, address **192.168.30.1/24** - Turn on the main **Gi0/0** interface.

What to set up

  • ○ Gi0/0.10: VLAN 10
  • ○ Gi0/0.10: address
  • ○ Gi0/0.30: VLAN 30
  • ○ Gi0/0.30: address
  • ○ Gi0/0 is on

💡 Type the commands one per line, the way you would on a real Cisco device. Short forms work too (conf t, int fa0/1, no shut). Lines like enable, configure terminal, exit and end are fine anywhere.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!