10.4. Instradamento dinamico
Lo strumento di riferimento per l'instradamento dinamico è attualmente quagga
(dal pacchetto omonimo in Debian); sostituisce il precedente zebra
, il cui sviluppo è stato interrotto. Tuttavia, per ragioni di compatibilità, il progetto quagga
ha mantenuto i nomi dei programmi eseguibili, questo spiega perché più sotto vengano usati comandi zebra
.
Quagga is a set of daemons cooperating to define the routing tables to be used by the Linux kernel; each routing protocol (most notably BGP, OSPF and RIP) provides its own daemon. The zebra
daemon collects information from other daemons and handles static routing tables accordingly. The other daemons are known as bgpd
, ospfd
, ospf6d
, ripd
, ripngd
, isisd
, and babeld
.
I demoni vengono attivati modificando il file /etc/quagga/daemons
e creando il file di configurazione appropriato in /etc/quagga/
. Affinché lo script /etc/init.d/quagga
possa richiamare il demone, questo file di configurazione deve avere lo stesso nome del demone seguito da un'estensione .conf
, e deve appartenere all'utente quagga
e al gruppo quaggavty
.
The configuration of each of these daemons requires knowledge of the routing protocol in question. These protocols cannot be described in detail here, but the
quagga-doc provides ample explanation in the form of an
info
file. The same contents may be more easily browsed as HTML on the Quagga website:
In addition, the syntax is very close to a standard router's configuration interface, and network administrators will adapt quickly to quagga
.