Following on from my previous post on building a FRR package series, this provides the process for installing an FRR (Free Range Routing) package. Some content is taken from Building_FRR_on_Debian8.md.
# update/upgrade existing packages sudo apt update sudo apt upgrade # install a few necessary packages sudo apt install iproute libc-ares2 libjson-c3 # install frr (users and groups installed via the package) sudo dpkg -i frr_3.1-dev_amd64.deb # create empty frr configuration files sudo install -m 755 -o frr -g frr -d /var/log/frr sudo install -m 775 -o frr -g frrvty -d /etc/frr sudo install -m 640 -o frr -g frr /dev/null /etc/frr/zebra.conf sudo install -m 640 -o frr -g frr /dev/null /etc/frr/bgpd.conf sudo install -m 640 -o frr -g frr /dev/null /etc/frr/ospfd.conf sudo install -m 640 -o frr -g frr /dev/null /etc/frr/ospf6d.conf sudo install -m 640 -o frr -g frr /dev/null /etc/frr/isisd.conf sudo install -m 640 -o frr -g frr /dev/null /etc/frr/ripd.conf sudo install -m 640 -o frr -g frr /dev/null /etc/frr/ripngd.conf sudo install -m 640 -o frr -g frr /dev/null /etc/frr/pimd.conf sudo install -m 640 -o frr -g frr /dev/null /etc/frr/ldpd.conf sudo install -m 640 -o frr -g frr /dev/null /etc/frr/nhrpd.conf sudo install -m 640 -o frr -g frrvty /dev/null /etc/frr/vtysh.conf
Enable routing by setting the following in /etc/sysctl.conf, then running 'sysctl -p'
net.ipv4.ip_forward=1 net.ipv6.conf.all.forwarding=1
Configuration files can then be edited as appropriate, then the services started with:
sudo systemctl start frr