Quagga: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) Die Seite wurde neu angelegt: „*https://openmaniak.com/quagga_case2.php *http://www.brianlinkletter.com/quagga-vtysh-shell-end-problem/“ |
Keine Bearbeitungszusammenfassung |
||
| (4 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
=Install= | |||
*apt-get install quagga | |||
=vtysh einrichten= | |||
==deamons aktivieren== | |||
*vi /etc/quagga/daemons | |||
<pre> | |||
zebra=yes | |||
bgpd=no | |||
ospfd=yes | |||
ospf6d=no | |||
ripd=no | |||
ripngd=no | |||
isisd=no | |||
</pre> | |||
==Konfigurationsdateien kopieren== | |||
*cp /usr/share/doc/quagga/examples/zebra.conf.sample /etc/quagga/zebra.conf | |||
*cp /usr/share/doc/quagga/examples/ospfd.conf.sample /etc/quagga/ospfd.conf | |||
*cp /usr/share/doc/quagga/examples/vtysh.conf.sample /etc/quagga/vtysh.conf | |||
==vtysh enable== | |||
*vi /etc/quagga/debian.conf | |||
<pre> | |||
# If this option is set the /etc/init.d/quagga script automatically loads | |||
# the config via "vtysh -b" when the servers are started. | |||
# Check /etc/pam.d/quagga if you intend to use "vtysh"! | |||
# | |||
vtysh_enable=yes | |||
zebra_options=" --daemon -A " | |||
bgpd_options=" --daemon -A " | |||
ospfd_options=" --daemon -A " | |||
ospf6d_options="--daemon -A " | |||
ripd_options=" --daemon -A " | |||
ripngd_options="--daemon -A " | |||
isisd_options=" --daemon -A " | |||
</pre> | |||
==Berechtigungen anpassen== | |||
*chown quagga.quaggavty /etc/quagga/*.conf | |||
*chmod 640 /etc/quagga/*.conf | |||
==quagga restart== | |||
*/etc/init.d/quagga restart | |||
==Zugriff== | |||
*vtysh | |||
=Bei Problemen mit dem vtysh-interface= | |||
*echo "export VTYSH_PAGER=more" >> ~/.bashrc | |||
*echo VTYSH_PAGER=more > /etc/environment | |||
=Links= | |||
*https://openmaniak.com/quagga_case2.php | *https://openmaniak.com/quagga_case2.php | ||
*http://www.brianlinkletter.com/quagga-vtysh-shell-end-problem/ | *http://www.brianlinkletter.com/quagga-vtysh-shell-end-problem/ | ||
*http://www.nongnu.org/quagga/docs/docs-multi/Basic-Config-Commands.html | |||
*https://lists.gt.net/quagga/users/22796 | |||
*http://www.nongnu.org/quagga/docs/docs-multi/Debugging-OSPF.html#Debugging-OSPF | |||
Aktuelle Version vom 18. Dezember 2017, 12:12 Uhr
Install
- apt-get install quagga
vtysh einrichten
deamons aktivieren
- vi /etc/quagga/daemons
zebra=yes bgpd=no ospfd=yes ospf6d=no ripd=no ripngd=no isisd=no
Konfigurationsdateien kopieren
- cp /usr/share/doc/quagga/examples/zebra.conf.sample /etc/quagga/zebra.conf
- cp /usr/share/doc/quagga/examples/ospfd.conf.sample /etc/quagga/ospfd.conf
- cp /usr/share/doc/quagga/examples/vtysh.conf.sample /etc/quagga/vtysh.conf
vtysh enable
- vi /etc/quagga/debian.conf
# If this option is set the /etc/init.d/quagga script automatically loads # the config via "vtysh -b" when the servers are started. # Check /etc/pam.d/quagga if you intend to use "vtysh"! # vtysh_enable=yes zebra_options=" --daemon -A " bgpd_options=" --daemon -A " ospfd_options=" --daemon -A " ospf6d_options="--daemon -A " ripd_options=" --daemon -A " ripngd_options="--daemon -A " isisd_options=" --daemon -A "
Berechtigungen anpassen
- chown quagga.quaggavty /etc/quagga/*.conf
- chmod 640 /etc/quagga/*.conf
quagga restart
- /etc/init.d/quagga restart
Zugriff
- vtysh
Bei Problemen mit dem vtysh-interface
- echo "export VTYSH_PAGER=more" >> ~/.bashrc
- echo VTYSH_PAGER=more > /etc/environment