Layer-3 switch with SVIs

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 Lab

Devices: MLS1, PC1, PC2, PC3, PC4

Your task

Task: make MLS1 route between its VLANs:
 conf t
 ip routing
 int vlan 10
 ip add 10.10.0.1 255.255.255.0
 no shut
 int vlan 20
 ip add 10.20.0.1 255.255.255.0
 no shut

Step by step

  1. Create interface VLAN 10 with 10.10.0.1/24 and turn it on.
  2. Create interface VLAN 20 with 10.20.0.1/24 and turn it on.
  3. Enable routing on the switch.
  4. PC1 pings PC3 (10.20.0.11).

โ–ถ Start this lab in the browser๐Ÿ“– Command guide๐Ÿงญ Watch how IP routing works

More labs

Two PCs on a switchRouter between two networksVLANs on a switchStatic routingInter-VLAN routing (router-on-a-stick)DHCP server on a routerDHCP server + relay + DNSOSPF between three routersRIP v2NAT/PAT to the InternetACL: protect a serverWireless access pointIPv6 static routingEIGRP between three routersProject: build a small office networkHuawei switch VLANs + Cisco routerOSPF between Huawei and Cisco routersSpanning Tree: who blocks?EtherChannel (LACP)HSRP: a gateway that never diesPort securitySecure remote access (SSH)To the Internet: NAT + DNS + webIPv6 SLAAC + OSPFv3๐Ÿ”ง Fix 1: PC can't leave its network๐Ÿ”ง Fix 2: same VLAN, no ping๐Ÿ”ง Fix 3: one-way routing๐Ÿ”ง Fix 4: inter-VLAN broken๐Ÿ”ง Fix 5: odd subnet problem