Skip to main content
RunBook Academy

networking · security · operating-system

VyOS for Production Network Engineers

A production-first routing course that takes a network, infrastructure, or platform engineer from "I can type a few VyOS commands" to "I can take operational responsibility for a business-critical VyOS routing estate." Covers the configuration model, commit/rollback safety, interfaces, VLANs, bridges, bonding, IPv6, static and policy routing, VRFs and route leaking, OSPF (v2 and v3), BGP (sessions, attributes, best path, prefix filtering, communities, route reflectors, troubleshooting), BFD, route policy and redistribution, summarisation, ECMP, firewall, NAT, multi-WAN, VRRP high availability, WireGuard and IPsec, VXLAN, QoS, DHCP, management plane hardening, logging, monitoring, performance, MTU and PMTUD, evidence-based troubleshooting, API/Ansible automation, backup/restore/disaster recovery, controlled upgrades, and a capstone mission-critical dual-ISP BGP estate with full operational discipline.

Who this is for

  • Network administrators and engineers responsible for edge, datacentre, and inter-site routing
  • Infrastructure / platform engineers running business-critical networks
  • SREs and DevOps engineers owning routing-adjacent infrastructure
  • Network-security engineers operating BGP, OSPF, and VPN estates
  • Linux systems administrators taking on network operations
  • Technical professionals responsible for production routing estates

Prerequisites

  • Comfortable on the Linux command line
  • Working knowledge of IPv4/IPv6 subnetting, VLANs, and basic routing
  • Familiar with TCP/IP, DNS, DHCP, and basic TLS concepts
  • A disposable VM or Proxmox environment for the labs

Other RunBook Academy courses

  • Linux — recommended. VyOS is a Linux-based network operating system; production work assumes comfort with the Linux networking stack, nftables, and iproute2 primitives the Linux course teaches in depth.
  • Proxmox VE — recommended. Most VyOS labs and many production deployments run as VMs; Proxmox covers the platform layer under the VyOS VM.
  • Ansible — recommended. VyOS configuration is increasingly driven by automation; Ansible for Production Sysadmins teaches the safe patterns the VyOS course references.
  • Observability — recommended. A production routing estate needs metrics, logs, and BGP/OSPF telemetry integration; the Observability course teaches the stack VyOS feeds into.

What you'll be able to do

After completing this course, you should be capable of independently:

  • Explain the VyOS architecture: Linux base, FRRouting, configuration tree, commit engine, generated runtime configuration
  • Install VyOS on virtual hardware using the supported image and validate the boot sequence
  • Operate the configure / set / commit / compare / save / discard / rollback workflow safely
  • Use commit-confirm and configuration history for safe remote changes
  • Configure and validate interfaces, VLANs, bridges, and bonding on VyOS
  • Plan IPv6 addressing, router advertisements, DHCPv6, and prefix delegation correctly
  • Build and validate static, default, recursive, floating, and blackhole routes
  • Apply policy-based routing and multiple routing tables for multi-WAN and management scenarios
  • Design and operate VRFs for production, management, guest, and tenant segmentation
  • Implement controlled route leaking between VRFs and reason about its security implications
  • Configure OSPFv2 with router IDs, areas, passive interfaces, and summarisation
  • Diagnose OSPF neighbour states, MTU mismatches, area mismatches, and missing routes
  • Configure OSPFv3 for IPv6 routing and explain where it differs from OSPFv2
  • Establish BGP sessions (eBGP and iBGP), inspect state, and resolve adjacency failures
  • Apply BGP attributes: local preference, AS path, origin, MED, next hop, communities
  • Predict BGP best-path selection against competing routes using FRR behaviour
  • Implement prefix-list and route-map based inbound and outbound filtering
  • Scale iBGP with route reflectors and reason about cluster design
  • Operate BFD for sub-second failure detection with BGP and OSPF
  • Design route policies and redistribution with explicit filtering and tagging
  • Detect and prevent route loops, route leaks, and accidental prefix advertisements
  • Operate the VyOS stateful firewall and zone-based policy with deliberate ordering
  • Configure source NAT, destination NAT, masquerade, and port forwarding correctly
  • Design multi-WAN with policy routing, ECMP, gateway health checking, and failover
  • Build VRRP high availability with priority, preemption, and tracking
  • Reason about stateful HA limitations: VRRP preserves the gateway VIP, not the sessions
  • Configure WireGuard site-to-site and remote-access tunnels on VyOS
  • Configure IPsec with IKEv2, ESP, route-based VTI, NAT-T, and modern proposals
  • Run dynamic routing over VPN tunnels and validate route propagation
  • Apply QoS classification, marking, queuing, and shaping on WAN-facing interfaces
  • Harden the management plane: SSH, users, source restrictions, PKI, and out-of-band access
  • Centralise syslog, BGP/OSPF logs, and firewall logs to a remote observability stack
  • Export interface, BGP, OSPF, VRRP, and system metrics for monitoring
  • Investigate performance: CPU, interrupts, PPS, route churn, VPN crypto, and state count
  • Diagnose MTU issues across tunnels and apply PMTUD and MSS clamping correctly
  • Reason about asymmetric routing and its impact on stateful firewall and NAT
  • Use packet capture (tcpdump) and operational commands to prove traffic flow
  • Drive VyOS via the HTTP API and Ansible collection safely with idempotent review
  • Back up, restore, and recover from a complete router loss
  • Plan and execute rolling VyOS upgrades across redundant routers
  • Apply routing-protocol authentication, max-prefix, prefix filtering, and RPKI concepts
  • Complete a capstone: a mission-critical dual-ISP BGP estate with VRFs, firewall, NAT, VPN, VRRP, monitoring, and validated DR

Curriculum overview

63 planned parts · 342 lessons currently published.

Part I

Networking Foundations for Routing Engineers

Ethernet, MAC, ARP, IPv4/IPv6, CIDR, subnets, gateways, MTU, TCP/UDP, ICMP — the prerequisites every routing engineer must already understand.

6 lessons

Part II

Routing Fundamentals

Routing tables, longest-prefix match, connected routes, static routes, default routes, next hops, recursive lookup, administrative distance, metric, ECMP.

6 lessons

Part III

VyOS Architecture

Linux base, FRRouting, configuration tree, commit engine, generated runtime configuration, services, web UI, API.

6 lessons

Part IV

Installation and Initial Deployment

ISO install, VM deployment, cloud image concepts, console, initial configuration, management connectivity.

6 lessons

Part V

Configuration Model

configure / set / delete / show / compare / commit / save / discard / exit; candidate vs active vs saved configuration.

6 lessons

Part VI

Commit and Rollback Safety

commit, commit-confirm, rollback, configuration history, save — production-critical safe-change mechanics.

6 lessons

Part VII

Interface Fundamentals

Ethernet interfaces, addressing, descriptions, MTU, administrative and operational state.

6 lessons

Part VIII

VLANs

IEEE 802.1Q, tagged traffic, trunks, sub-interfaces, parent interfaces, VLAN addressing, switch interaction.

6 lessons

Part IX

Bridges

Layer-2 bridging, bridge interfaces, when bridging is appropriate versus routing.

6 lessons

Part X

Bonding and Link Aggregation

LACP, active-backup, balance modes, switch dependencies, failure behaviour.

6 lessons

Part XI

IPv6

Addresses, prefixes, neighbour discovery, router advertisements, static and dynamic routing, firewall.

6 lessons

Part XII

Static Routing

Static routes, default routes, recursive next hops, floating static routes, blackhole routes.

6 lessons

Part XIII

Policy-Based Routing

When destination routing is insufficient; source-based routing, application routing, management routing.

6 lessons

Part XIV

Multiple Routing Tables

Linux/VyOS policy-routing, tables, rules, priorities, lookup sequence.

6 lessons

Part XV

VRFs

Route isolation, VRF interfaces, route-leaking considerations, operational troubleshooting.

6 lessons

Part XVI

Route Leaking Between VRFs

Controlled connectivity between VRFs, security implications, accidental leaks.

6 lessons

Part XVII

Routing Protocol Fundamentals

Adjacency, convergence, control plane vs data plane, IGP vs EGP, route preference.

6 lessons

Part XVIII

OSPF Fundamentals

Link-state routing, neighbours, LSAs, areas, DR/BDR, SPF, cost.

6 lessons

Part XIX

OSPF Configuration

VyOS/FRR OSPF configuration: router ID, networks, passive interfaces, areas, summarisation.

6 lessons

Part XX

OSPF Areas and Design

Area 0, non-backbone areas, ABRs, area design, summarisation, stub area concepts.

6 lessons

Part XXI

OSPFv3 / IPv6 Routing

OSPFv3 for IPv6, differences from OSPFv2, current VyOS support.

6 lessons

Part XXII

OSPF Troubleshooting

Neighbour states, MTU mismatch, area mismatch, authentication, timers, network type, duplicate router ID, missing routes.

6 lessons

Part XXIII

BGP Fundamentals

AS numbers, eBGP, iBGP, sessions, route advertisement, best path, path-vector model.

6 lessons

Part XXIV

BGP Session Establishment

Idle / Connect / Active / OpenSent / OpenConfirm / Established, TCP 179, source addresses, multihop, TTL, authentication.

6 lessons

Part XXV

BGP Route Advertisement

Network origination, redistribution, aggregates, default route advertisement, risks of advertising more than intended.

6 lessons

Part XXVI

BGP Attributes

Local preference, AS path, origin, MED, next hop, weight, communities.

6 lessons

Part XXVII

BGP Best Path

Best-path decision process, visual exercises, validation against FRR behaviour.

6 lessons

Part XXVIII

BGP Prefix Filtering

Prefix lists, route maps, inbound filters, outbound filters, default deny, route leaks.

6 lessons

Part XXIX

BGP Communities

Standard communities, operational tagging, upstream policy, blackholing concepts.

6 lessons

Part XXX

BGP Route Reflectors

iBGP scaling, full mesh, route reflectors, clients, cluster concepts.

6 lessons

Part XXXI

BGP Troubleshooting

Session down, route not received, route received but not selected, route selected but not installed, prefix filtered, next hop unreachable, AS path issue, route leak.

6 lessons

Part XXXII

BFD

Bidirectional Forwarding Detection, integration with BGP and OSPF, static-route tracking.

6 lessons

Part XXXIII

Route Policy

Prefix lists, route maps, community lists, policy evaluation order, named policies.

6 lessons

Part XXXIV

Route Redistribution

Redistributing static, OSPF, BGP, connected; loops, feedback, tagging, filtering, administrative distance.

6 lessons

Part XXXV

Route Summarisation

Aggregation, summary routes, blackhole/discard supporting routes, failure implications.

6 lessons

Part XXXVI

ECMP

Equal-cost paths, hashing, per-flow behaviour, failure handling, troubleshooting implications.

6 lessons

Part XXXVII

Firewall Fundamentals

VyOS stateful firewall, zones, input, forward, output, state tracking, conntrack.

6 lessons

Part XXXVIII

NAT Fundamentals

SNAT, DNAT, masquerade, port forwarding, 1:1 mappings.

6 lessons

Part XXXIX

Multi-WAN

Multiple defaults, failover, load distribution, policy routing, health checking.

6 lessons

Part XL

VRRP High Availability

Virtual router, virtual IP, MASTER/BACKUP, priority, advertisements, preemption, tracking.

6 lessons

Part XLI

WireGuard

Keys, peers, allowed IPs, routing, firewall, site-to-site, remote access.

6 lessons

Part XLII

IPsec

IKE, ESP, peers, tunnels, route-based VTI, NAT-T, modern proposals.

6 lessons

Part XLIII

VPN Routing

Static routes over tunnels, BGP/OSPF over tunnels, route propagation, failover.

6 lessons

Part XLIV

VXLAN

VNI, encapsulation, underlay, overlay, when VXLAN belongs in network design.

6 lessons

Part XLV

QoS Fundamentals

Classification, marking, queuing, shaping, policing, DSCP, trust boundaries.

6 lessons

Part XLVI

DHCP Services

DHCP server scopes, static mappings, options, relay, IPv6 DHCPv6.

6 lessons

Part XLVII

Management Plane Hardening

SSH, console, API, source restrictions, management VRF, out-of-band access.

6 lessons

Part XLVIII

Logging and Remote Syslog

Local logs, routing daemon logs, firewall logs, VPN logs, remote syslog forwarding.

6 lessons

Part XLIX

Monitoring and Observability Integration

Interface metrics, BGP/OSPF telemetry, route counts, CPU, memory, SNMP, exporters.

6 lessons

Part L

Performance Troubleshooting

CPU saturation, interrupts, packet drops, NIC limits, crypto performance, route churn.

6 lessons

Part LI

MTU and Fragmentation

Ethernet MTU, tunnels, IPsec overhead, WireGuard overhead, PMTUD, MSS clamping.

6 lessons

Part LII

Troubleshooting Methodology

Define source/destination, expected path, interface state, addressing, route, policy, firewall, NAT, capture, return path.

6 lessons

Part LIII

Security Hardening

Routing protocol authentication, max-prefix, prefix filtering, RPKI concepts, control-plane protection, management hardening.

6 lessons

Part LIV

API and Automation

VyOS HTTP API, Ansible integration, configuration-as-code, automated validation, change management.

6 lessons

Part LV

Backup, Restore, Disaster Recovery

Saved configuration, remote backups, replacement appliance recovery, lost router recovery.

6 lessons

Part LVI

Software Images and Production Upgrades

Image management, rolling upgrade sequencing, FRRouting compatibility, rollback.

6 lessons

Part LVII

Production Reference Architecture

A realistic dual-ISP BGP VRF-segmented VyOS estate with VPN, monitoring, backup, and DR.

6 lessons

Part Labs

Hands-On Labs

Disposable-virtualisation labs covering install, routing, BGP, OSPF, VRFs, firewall, NAT, VPN, VRRP, automation, backup, recovery.

0 lessons

Part Runbooks

Operational Runbooks

Operational procedures: deploy, troubleshoot, change, fail over, restore, recover.

0 lessons

Part Checklists

Production Checklists

Printable readiness, change, and review checklists.

0 lessons

Part Break/Fix

Break/Fix Scenarios

Deliberate operational incidents with evidence-first diagnosis.

0 lessons

Part Capstone

Capstone: Production VyOS Estate

A complete dual-ISP BGP VRF-segmented VyOS estate with VPN, VRRP, monitoring, backup, and validated DR.

0 lessons

Part Final

Final Assessment

Theory and practical assessment of every production competency.

0 lessons

Verified against

  • VyOSv1.5.x LTS (circinus)· released 2024· verified 2026-08-18
  • VyOSv1.4.x (sagitta) — legacy· verified 2026-08-18
  • FRRoutingv10.x (VyOS 1.5)· verified 2026-08-15
  • Linux kernelv6.6 LTS (VyOS 1.5 base)· verified 2026-08-15
  • strongSwanv5.9.x (IPsec)· verified 2026-08-15
  • WireGuardv1.0.x (kernel module + userspace tooling)· verified 2026-08-15