Arista EOS lab 5 of 20

Static routing and multi-area OSPF in a leaf-spine

Address a small routed leaf-spine from an addressing plan, connect it first with static routes, then replace them with OSPF: a point-to-point backbone, a non-backbone area on one leaf with a summary at the ABR, passive host interfaces, a default route from the spine and a floating static backup.

Run this lab

It needs Lite: its 5 nodes are set to 5 vCPU and 7,168 MB in total. That fits the free demo too.

In your workspace: Shared, then Arista EOS guided labs, then 05 - Static routing and multi-area OSPF in a leaf-spine

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 75 minutes
Nodes need
5 vCPU, 7,168 MB
Smallest plan
Lite

The scenario

Northwind is replacing its old layer 2 aggregation with a small routed leaf-spine: every leaf-to-spine link is a point-to-point layer 3 link and spanning tree disappears from the fabric. The design document says OSPF, with the backbone (area 0) on the fabric and the new analytics pod behind leaf2 in its own area 1, summarised so the rest of the network sees one route. The upstream internet edge (simulated by a loopback on spine1) must reach every host.

DeviceInterfaceAddressArea / role
spine1Ethernet110.1.1.0/310 · to leaf1
spine1Ethernet210.1.1.2/310 · to leaf2
spine1Loopback010.255.0.1/320 · router ID
spine1Loopback100203.0.113.1/32not in OSPF · simulated internet
leaf1Ethernet110.1.1.1/310
leaf1Loopback010.255.0.11/320 · router ID
leaf1Vlan1010.10.10.1/240 · passive · gateway for h1
leaf2Ethernet110.1.1.3/310
leaf2Loopback010.255.0.12/320 · router ID
leaf2Vlan2010.20.20.1/241 · passive · gateway for h2
leaf2Loopback2110.20.21.1/241 · stands in for a second pod subnet
h1 / h2eth010.10.10.11/24 / 10.20.20.11/24hosts

What you’ll practise

  • Convert switch ports to routed /31 links and add loopbacks from an addressing plan
  • Route between leaves with static routes and see why they don't scale
  • Run OSPF with router IDs from loopbacks, passive interfaces and point-to-point network type
  • Put one leaf's host subnets in area 1 and summarise them at the ABR
  • Originate a default route into OSPF and back it up with a floating static route

The tasks

  1. Build the routed links and loopbacks
  2. Connect the leaves with static routes
  3. Bring up the OSPF backbone
  4. Make the fabric links point-to-point
  5. Add area 1 behind leaf2 and summarise it
  6. Default route from the spine, floating static as backup

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 Static routing and multi-area OSPF in a leaf-spine5 nodes, 4 links. Every link is listed as text below the diagram.spine1leaf1leaf2h1h2Ethernet3eth0Ethernet3eth0Ethernet1Ethernet1Ethernet2Ethernet1
5 nodes, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in Static routing and multi-area OSPF in a leaf-spine, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
spine1Arista vEOSveos-4.33.1.1F1 vCPU, 2,048 MB
leaf1Arista vEOSveos-4.33.1.1F1 vCPU, 2,048 MB
leaf2Arista vEOSveos-4.33.1.1F1 vCPU, 2,048 MB
h1Alpine Linuxclbalpinebase-alpine-base-3-20-31 vCPU, 512 MB
h2Alpine Linuxclbalpinebase-alpine-base-3-20-31 vCPU, 512 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 Arista EOS guided labs.

  3. Open 05 - Static routing and multi-area OSPF in a leaf-spine 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 Arista EOS labs

All Arista EOS labs

Related labs in other courses

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