OSPF between three routers

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: R1, R2, R3, PC1, PC2, PC3

Your task

Task: run OSPF on all three routers, e.g. on each:
 conf t
 router ospf 1
 network 10.0.0.0 0.0.255.255 area 0
 network 192.168.0.0 0.0.255.255 area 0
Then: show ip ospf neighbor, show ip route. Try shutting a link - traffic reroutes!

Step by step

  1. Enable OSPF on R1 with networks 10.0.0.0/16 and 192.168.0.0/16 in area 0.
  2. Do the same on R2 and R3.
  3. Check neighbours: show ip ospf neighbor on R1 (should list 2).
  4. Shut R2 G0/1 and ping PC3 from PC2 - OSPF reroutes via R1.

โ–ถ 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)Layer-3 switch with SVIsDHCP server on a routerDHCP server + relay + DNSRIP 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