Test Real-Life Routing Scenario with netlab

In his Labs as Code, Part 2: Real Images, Real Topology article, Tony Mattke described how he used netlab to recreate a customer routing scenario.

His article starts with the basics (importing an Arista cEOS container), and then slowly walks you through the process of building a netlab file that results in an 8-router network running BGP, BFD, OSPF, and a few routing policies. Absolutely marvelous reading if you’re new to netlab or exploring its capabilities.

read more add comment

Public Videos: EVPN Technical Deep Dive

A reader asked how he could access the Routing in EVPN Fabrics videos, and the simplest thing for me to do was to make all the videos in the EVPN webinar public. Almost twelve hours of EVPN goodness is waiting for you.

You probably noticed that I always ask AI to generate some weird image to go with the “free videos” blog posts. This time, ChatGPT made an extra comment ;)

read more see 1 comments

Candidate Configuration on Cisco Nexus OS

TL&DR: Third time is (supposedly) a charm. Not in this case.

It’s a bit hard to understand why one would launch an enterprise data-center-grade network operating system without candidate/active configuration in the 21st century, but that’s what Cisco and Arista did with Nexus OS and EOS. Arista fixed that omission with configuration sessions more than a decade ago1. It took Cisco a bit longer.

The first attempt was the so-called two-stage configuration commit, which is functionally almost identical to the Cisco IOS XR “candidate” configuration:

read more add comment

Worth Reading: BGP Multi-Homed with Two ISPs and Two Routers

I was reading the nice BGP Multi-Homed with Two ISPs and Two Routers scenario by Suresh Vinasiththamby - Packetswitch and thought wouldn’t it be nice if he were using netlab to build the lab, as that would give you the opportunity to build the same lab with zero hassle using non-Cisco devices. Guess what – Suresh already did just that. I was so glad to see someone using netlab in just the way I imagined it to be used.

read more add comment

Candidate and Active Configuration on IOS XR

Traditional network devices used a single (active or running) configuration, with a snapshot of it stored in permanent memory (startup configuration). The active configuration was modified with every configuration command, making it a perfect recipe for disaster in the days of in-band configuration1.

The situation improved drastically when Juniper introduced the candidate configuration. You could make changes to a copy of the configuration, and then commit them as a single all-or-nothing transaction. While you could still cut yourself off from the device, at least it was harder to do with a single misordered command.

read more add comment

Help Me Make the BGP Labs Even Better

I decided to add “Further Reading” sections to BGP lab exercises, containing links to vendor documentation and useful related blog posts. I naively expected to offload the job to Claude, commit the results, and move on. The “related blog posts” were a piece of cake; precise links to relevant vendor documentation turned out to be more of a challenge.

TL&DR: I would love to get your suggestions for further reading as PRs in the BGP Labs repo.

Apart from FRRouting, the vendor documentation is mostly generated from whatever internal system and uses auto-generated anchors that can change at any moment – somewhat “suboptimal” for what I wanted to do.

read more add comment

Worth Reading: Network Labs on a Budget

The Packet Pushers newsletter dropped into my Inbox this morning, and it included a lovely Network Labs on a Budget article by Suresh Vinasiththamby, explaining how you can build a virtual lab on a mini-PC (exactly what I’m using for my netlab server) using EVE-NG, CML, or the containerlab/netlab combo.

On a tangential note: I’m busy getting various netlab features to work with netmiko, so something had to give (= blog posts).

add comment
Sidebar