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

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

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