How to use pathvector for BGP

Installing pathvector

Installing the pathvector routing platform isn't particularly difficult, but I figured I will make this page to be comprehensive in the knowledge on this system. This document will assume you are using debian 11, which is a good linux distro for routing.

You will first need to install bird, which is as simple as running 

sudo apt install bird2

You should also install bgpq4, a BGP filter generation engine and keepalived, a VRRP daemon. This can be done by running this

sudo apt install bgpq4
sudo apt install keepalived

Then add the pathvector repo so you can install it onto your system.

curl > /usr/share/keyrings/pathvector.asc
echo "deb [signed-by=/usr/share/keyrings/pathvector.asc] stable main" > /etc/apt/sources.list.d/pathvector.list
apt update && apt install -y pathvector

Tada! Pathvector is now installed on your system

Pathvector config options