Quagga

Aus xinux.net
Zur Navigation springen Zur Suche springen

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

Links