Tutorials

Tutorial

BGP Failover and Multi-Homing from Two VPS Locations

Announce the same prefix from two locations using BGP for automatic failover. Covers LOCAL_PREF, MED, AS-path prepending, BFD, and graceful shutdown with full BIRD2 and FRR configurations.

10 min readRead
Tutorial

Anycast DNS with BIRD2 and BGP: Multi-Location Setup

Deploy anycast DNS across multiple VPS locations using BIRD2 and BIND9. Covers BGP route announcement, zone synchronization with TSIG, health-check failover, and nftables hardening.

13 min readRead
Tutorial

VyOS BGP Configuration on a VPS: Dual-Stack Tutorial

Configure BGP on a VyOS instance running on a VPS to announce your own IPv4 and IPv6 prefixes. Covers prefix-lists, route-maps, session security, and external verification.

12 min readRead
Tutorial

Monitor BGP Announcements with BGPalerter on Linux

Deploy BGPalerter v2 on a Linux VPS to monitor your prefixes for hijacks, route leaks, and RPKI invalid states. Configure Slack and email alerts, run as a systemd service.

9 min readRead
Tutorial

RPKI ROA Setup for BGP: Create ROAs, Validate Routes in BIRD2 and FRR

Create IPv4 and IPv6 ROAs in the RIPE NCC portal, install Routinator as an RTR cache, configure RPKI route origin validation in BIRD2 and FRRouting, and verify prefix status with bgp.tools and RIPE Stat.

12 min readRead
Tutorial

FRRouting BGP Configuration on a Linux VPS

Step-by-step FRRouting BGP setup for announcing your own IPv4 and IPv6 prefixes from a Linux VPS. Covers installation, vtysh configuration, prefix-lists, route-maps, GTSM, and nftables firewall rules.

13 min readRead
Tutorial

BIRD2 BGP Configuration on a Linux VPS

Install BIRD2 on Debian 12 or Ubuntu 24.04 and configure a BGP session to announce your own IP prefixes. Dual-stack, export filters, persistent dummy interfaces, nftables rules, and birdc verification.

14 min readRead