BIRD

From HackerNet
Revision as of 14:50, 20 November 2015 by Helikopter (talk | contribs) (Created page with "Bird Internet Routing Daemon. Senaste version: 1.5.0 (22.4.2015) =Installation= sudo apt-get update && sudo apt-get install bird =Konfiguration= Enable IPv4 and IPv6 Forw...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Bird Internet Routing Daemon. Senaste version: 1.5.0 (22.4.2015)

Installation

sudo apt-get update && sudo apt-get install bird 

Konfiguration

Enable IPv4 and IPv6 Forwarding:

echo "net.ipv4.conf.all.forwarding=1" | sudo tee -a /etc/sysctl.conf 
echo "net.ipv4.conf.default.forwarding=1" | sudo tee -a /etc/sysctl.conf 
sed 's/#net.ipv6.conf.all.forwarding=1/net.ipv6.conf.all.forwarding=1/g' /etc/sysctl.conf | sudo tee /etc/sysctl.conf 
echo "net.ipv6.conf.default.forwarding=1" | sudo tee -a /etc/sysctl.conf 
sudo sysctl -p 

Backup the configuration files:

sudo mv /etc/bird/bird.conf /etc/bird/bird.conf.original 
sudo mv /etc/bird/bird6.conf /etc/bird/bird6.conf.original 

Create the configuration files:

sudo nano /etc/bird/bird.conf 
sudo nano /etc/bird/bird6.conf 

Restart the daemons:

sudo service bird restart 
sudo service bird6 restart 

CLI

sudo birdc

OSPF

BGP