Network+ lab 10 of 27

Dynamic routing with OSPF and a first look at BGP

Replace static routes with OSPF across three sites, steer traffic with interface costs, keep user LANs passive, and inject a default route. Then peer with the internet provider using eBGP and compare how link-state and path-vector protocols choose routes.

Run this lab

It needs Lite: its 6 nodes are set to 6 vCPU and 4,096 MB in total. That fits the free demo too.

In your workspace: Shared, then CompTIA Network Plus N10-009 guided labs, then 10 - Dynamic routing with OSPF and a first look at BGP

Try it free for 30 minutesRun it on Lite from £3 a day

The free demo needs no card and no email. Every lab plan includes every guided lab.

Level
Intermediate
Time
About 70 minutes
Nodes need
6 vCPU, 4,096 MB
Smallest plan
Lite

The scenario

Harbour Logistics' static routes (lab 09) have become hard to maintain. Head office (R1) and two branches (R2, R3) are connected in a triangle, and the R2–R3 link is a slow backup circuit that should only carry traffic if a main link fails. You'll replace the static routes with OSPF, then connect head office to its provider R4 with eBGP.

DeviceInterfaceAddressConnects to
R1Gi0/0 / Gi0/110.0.12.1/30 / 10.0.13.1/30R2 / R3
R1Gi0/2192.0.2.1/30provider R4 (192.0.2.2)
R1Lo0 / Lo110.255.255.1/32 / 198.51.100.1/24router ID / public block
R2Gi0/0 / Gi0/1 / Gi0/210.0.12.2/30 / 10.0.23.2/30 / 10.2.0.1/24R1 / R3 / branch A LAN
R3Gi0/0 / Gi0/1 / Gi0/210.0.13.2/30 / 10.0.23.1/30 / 10.3.0.1/24R1 / R2 / branch B LAN
R2, R3Lo010.255.255.2/32, 10.255.255.3/32router IDs
PC1 / PC2eth010.2.0.10/24 / 10.3.0.10/24branch LANs

What you’ll practise

  • Enable single-area OSPF with router IDs, network statements and passive interfaces
  • Verify neighbours, the routing table and interface costs
  • Change the reference bandwidth and interface costs to steer the path
  • Originate a default route into OSPF from the edge router
  • Bring up an eBGP session with a provider, advertise a public prefix and read the BGP table
  • Compare OSPF, EIGRP and BGP and their administrative distances

The tasks

  1. Enable OSPF on all three routers
  2. Read the OSPF routes
  3. Steer the path with cost
  4. Give the branches a way out
  5. Peer with the provider using eBGP
  6. Compare the routing protocols

The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.

Topology and devices

The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.

Topology of Dynamic routing with OSPF and a first look at BGP6 nodes, 6 links. Every link is listed as text below the diagram.R1R2R3R4PC1PC2Gi0/2Gi0/0Gi0/2eth0Gi0/2eth0Gi0/0Gi0/0Gi0/1Gi0/0Gi0/1Gi0/1
6 nodes, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in Dynamic routing with OSPF and a first look at BGP, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
R1Cisco IOSvvios-adventerprisek9-m.SPA.159-3.M61 vCPU, 512 MB
R2Cisco IOSvvios-adventerprisek9-m.SPA.159-3.M61 vCPU, 512 MB
R3Cisco IOSvvios-adventerprisek9-m.SPA.159-3.M61 vCPU, 512 MB
R4Cisco IOSvvios-adventerprisek9-m.SPA.159-3.M61 vCPU, 512 MB
PC1VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PC2VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder CompTIA Network Plus N10-009 guided labs.

  3. Open 10 - Dynamic routing with OSPF and a first look at BGP and start its nodes, then open Lab Tasks for the scenario and the steps.

The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.

More Network+ labs

All Network+ labs

Related labs in other courses

CloudLabBox is independent of CompTIA, Cisco and Netgate. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.