Difference between revisions of "Quagga"
From HackerNet
Helikopter (talk | contribs) (Created page with "Quagga är en network routing software suite och har stöd för OSPF, BGP, RIP och IS-IS. Quagga har en core daemon...") |
Helikopter (talk | contribs) m (→Konfiguration) |
||
Line 18: | Line 18: | ||
sudo cp /usr/share/doc/quagga/examples/vtysh.conf.sample /etc/quagga/vtysh.conf | sudo cp /usr/share/doc/quagga/examples/vtysh.conf.sample /etc/quagga/vtysh.conf | ||
sudo chown quagga:quaggavty /etc/quagga/vtysh.conf && sudo chmod 660 /etc/quagga/vtysh.conf | sudo chown quagga:quaggavty /etc/quagga/vtysh.conf && sudo chmod 660 /etc/quagga/vtysh.conf | ||
+ | echo "VTYSH_PAGER=more" | sudo tee -a /etc/environment | ||
sudo vtysh | sudo vtysh | ||
Revision as of 22:49, 12 December 2015
Quagga är en network routing software suite och har stöd för OSPF, BGP, RIP och IS-IS. Quagga har en core daemon som heter zebra och sedan klienter till det, ospfd, isisd, ripd, ospf6d, ripngd och bgpd.
Contents
Installation
dnf install quagga apt-get install quagga
Konfiguration
Slå på det som är nödvändigt
sudo nano /etc/quagga/daemons sudo cp /usr/share/doc/quagga/examples/zebra.conf.sample /etc/quagga/zebra.conf sudo service quagga restart
File Permissions
sudo chown quagga.quaggavty /etc/quagga/*.conf sudo chmod 640 /etc/quagga/*.conf
CLI
sudo cp /usr/share/doc/quagga/examples/vtysh.conf.sample /etc/quagga/vtysh.conf sudo chown quagga:quaggavty /etc/quagga/vtysh.conf && sudo chmod 660 /etc/quagga/vtysh.conf echo "VTYSH_PAGER=more" | sudo tee -a /etc/environment sudo vtysh
Allow routing
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
OSPF
sudo cp /usr/share/doc/quagga/examples/ospfd.conf.sample /etc/quagga/ospfd.conf
BGP
sudo cp /usr/share/doc/quagga/examples/bgpd.conf.sample /etc/quagga/bgpd.conf