How to Run Your Own Autonomous System: BGP Routing with FreeBSD and FRR
By
todsacerdoti
An everything bagel for the brain. Substantive, layered, well-seasoned.
Summary
This technical guide explains how individuals can run their own Autonomous System (AS) on the public internet using FreeBSD. It covers obtaining an AS number and IPv6 prefix through sponsoring LIRs like RIPE, configuring BGP routing with FRR on FreeBSD, setting up GRE/GIF tunnels to distribute prefixes to remote servers, and implementing policy routing to bring globally routable addresses to existing servers with provider-assigned addresses.
Key quotes
· 3 pulledRunning your own Autonomous System on the public internet sounds like something reserved for ISPs and large enterprises. It's not.
With sponsoring LIRs making AS numbers and IPv6 prefixes accessible to individuals, and FreeBSD providing the routing tools to make it work, you can announce your own address space to the Default-Free Zone from a single virtual machine.
This article walks through the complete setup: obtaining resources from RIPE via a sponsoring LIR, configuring a FreeBSD BGP router with FRR, building GRE/GIF tunnels to distribute prefixes to remote servers, and solving the challenge of bringing globally routable addresses to servers that already have provider-assigned addresses.
You might also wanna read
Software RAID Guide: Setup, Management, and Drive-Failure Recovery on Linux
A comprehensive, production-ready guide covering Software RAID setup, management, monitoring, and drive-failure recovery using Linux tools l
blog.radwebhosting.com·11h agoTwo Ways to Connect a Raspberry Pi via Ethernet for Reliable Networking
A practical guide explaining two methods to connect a Raspberry Pi via Ethernet for more reliable networking compared to Wi-Fi. The article
Understanding IPv6 Complexity: Why Simple Address Extensions Aren't Enough
This article explains why IPv6 is more complex than IPv4 and addresses common misconceptions about simpler alternatives. It argues that IPv6

The Book of PF, 4th Edition: Updated Guide to OpenBSD Packet Filter Network Security
The article discusses the fourth edition of 'The Book of PF,' a technical guide covering the OpenBSD packet filter (PF) system. It highlight
The Case Sensitivity Email Mystery: How Capitalization Broke University Email Delivery
A systems administrator shares a memorable troubleshooting story about a university email system where the statistics department couldn't se
Debunking the Myth: IPv6 Security and the Misconception About NAT
The article addresses a common misconception that IPv4 is more secure than IPv6 due to NAT (Network Address Translation). The author explain
