Difference between revisions of "BIRD"
From HackerNet
Helikopter (talk | contribs) m |
Helikopter (talk | contribs) m |
||
Line 4: | Line 4: | ||
=Installation= | =Installation= | ||
sudo apt-get update && sudo apt-get install bird | sudo apt-get update && sudo apt-get install bird | ||
+ | sudo dnf install bird | ||
=Konfiguration= | =Konfiguration= | ||
+ | ''Ubuntu'' | ||
Enable IPv4 and IPv6 Forwarding: | Enable IPv4 and IPv6 Forwarding: | ||
echo "net.ipv4.conf.all.forwarding=1" | sudo tee -a /etc/sysctl.conf | echo "net.ipv4.conf.all.forwarding=1" | sudo tee -a /etc/sysctl.conf | ||
Line 14: | Line 16: | ||
Backup the configuration files: | Backup the configuration files: | ||
− | sudo | + | sudo cp /etc/bird/bird.conf /etc/bird/bird.conf.original |
− | sudo | + | sudo cp /etc/bird/bird6.conf /etc/bird/bird6.conf.original |
Create the configuration files: | Create the configuration files: | ||
Line 24: | Line 26: | ||
sudo service bird restart | sudo service bird restart | ||
sudo service bird6 restart | sudo service bird6 restart | ||
+ | |||
+ | ''Fedora'' | ||
+ | Backup | ||
+ | sudo cp /etc/bird.conf /etc/bird.conf.original | ||
+ | Edit | ||
+ | sudo nano /etc/bird.conf | ||
+ | Restart | ||
+ | sudo systemctl restart bird | ||
==CLI== | ==CLI== |
Revision as of 17:49, 20 November 2015
Bird Internet Routing Daemon. Senaste version: 1.5.0 (22.4.2015)
Contents
Installation
sudo apt-get update && sudo apt-get install bird sudo dnf install bird
Konfiguration
Ubuntu 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 cp /etc/bird/bird.conf /etc/bird/bird.conf.original sudo cp /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
Fedora Backup
sudo cp /etc/bird.conf /etc/bird.conf.original
Edit
sudo nano /etc/bird.conf
Restart
sudo systemctl restart bird
CLI
Gå till cli
sudo birdc bird> show route
Quit
bird> exit
OSPF
show ospf interface show ospf neighbors show ospf state show ospf topology