Practise this lab in the free NanoTech-kw Network Lab - a Cisco-style simulator that runs in your browser, with hints, an event log and automatic checking.
โถ Open the free Network LabDevices: R1, SW1, PC1, PC2, PC3, PC4
Task: route between VLAN 10 and VLAN 20 on one router port.
SW1: int g0/1 โ switchport mode trunk
R1: int g0/0 โ no shut
int g0/0.10 โ encapsulation dot1Q 10 โ ip add 192.168.10.1 255.255.255.0
int g0/0.20 โ encapsulation dot1Q 20 โ ip add 192.168.20.1 255.255.255.0
โถ Start this lab in the browser๐ Command guide๐งญ Watch how IP routing works