Two PCs on a switch

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: SW1, PC1, PC2

Your task

Two PCs on one switch. Open PC1 and run: ping 192.168.1.20

Step by step

  1. Open PC1 and look at its IP settings (it's 192.168.1.10/24).
  2. From PC1's ⌨ Prompt, ping PC2: ping 192.168.1.20

▶ Start this lab in the browser📖 Command guide🧭 Watch how ARP works

More labs

Router between two networksVLANs on a switchStatic routingInter-VLAN routing (router-on-a-stick)Layer-3 switch with SVIsDHCP 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