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
- 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.
| Device | Interface | Address | Connects to |
|---|---|---|---|
| R1 | Gi0/0 / Gi0/1 | 10.0.12.1/30 / 10.0.13.1/30 | R2 / R3 |
| R1 | Gi0/2 | 192.0.2.1/30 | provider R4 (192.0.2.2) |
| R1 | Lo0 / Lo1 | 10.255.255.1/32 / 198.51.100.1/24 | router ID / public block |
| R2 | Gi0/0 / Gi0/1 / Gi0/2 | 10.0.12.2/30 / 10.0.23.2/30 / 10.2.0.1/24 | R1 / R3 / branch A LAN |
| R3 | Gi0/0 / Gi0/1 / Gi0/2 | 10.0.13.2/30 / 10.0.23.1/30 / 10.3.0.1/24 | R1 / R2 / branch B LAN |
| R2, R3 | Lo0 | 10.255.255.2/32, 10.255.255.3/32 | router IDs |
| PC1 / PC2 | eth0 | 10.2.0.10/24 / 10.3.0.10/24 | branch 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
- Enable OSPF on all three routers
- Read the OSPF routes
- Steer the path with cost
- Give the branches a way out
- Peer with the provider using eBGP
- 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.
Every link, as text
- R1
Gi0/0to R2Gi0/0 - R1
Gi0/1to R3Gi0/0 - R2
Gi0/1to R3Gi0/1 - R1
Gi0/2to R4Gi0/0 - R2
Gi0/2to PC1eth0 - R3
Gi0/2to PC2eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| R1 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 512 MB |
| R2 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 512 MB |
| R3 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 512 MB |
| R4 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 512 MB |
| PC1 | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
| PC2 | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
CompTIA Network Plus N10-009 guided labs.Open
10 - Dynamic routing with OSPF and a first look at BGPand 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
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.