Review: Unnumbered Interfaces in netlab
A while ago, Chris Parker published a nice blog post explaining how to configure unnumbered interfaces with IS-IS in Junos. It’s well worth reading, but like my Unnumbered Ethernet Interfaces blog post, it only covers one network operating system. What if you want to do something similar on another platform?
How about using the collective efforts of the team developing device configuration templates for netlab? As of December 2023 netlab supports:
- Unnumbered interfaces on 11 different platforms
- IS-IS on 13 platforms and OSPF on 18 platforms.
- OSPF with unnumbered Ethernet interfaces on 11 platforms and IS-IS with unnumbered Ethernet interfaces on 10 platforms.
All you have to do to test the unnumbered Ethernet interface functionality on the device of your choice is to store the following YAML snippet in topology.yml
and execute netlab up:
defaults.device: eos # Change to your preferred device type
addressing.p2p.ipv4: True # Use IPv4 unnumbered P2P links
module: [ isis ] # Change to OSPF if needed
nodes: [ r1, r2 ]
links: [ r1-r2 ]
Best of all, you need absolutely no license to run netlab or any of the underlying software (Linux, Ubuntu, KVM, libvirt, Vagrant, Docker, containerlab, Ansible, and a dozen Python libraries).
Unfortunately, you will have to deal with the networking vendors that make you jump through the hoops to get the VM images or containers1 and invest some time in building Vagrant boxes because those same vendors can’t be bothered to add another step to the build process.
-
Notable exceptions: downloading Cumulus Linux, FRR, Nokia SR Linux, and VyOS requires no extra effort. Junos vEvolved is free to download, but you must build a Vagrant box. Downloading Arista vEOS/cEOS and Cisco Nexus OS requires registration. ↩︎