/usr/share/doc/olsrd-plugins/README_QUAGGA is in olsrd-plugins 0.6.6.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | ---------------------------------------------------------------------
QUAGGA PLUGIN FOR OLSRD
by Immo 'FaUl' Wehrenberg <immo@chaostreff-dortmund.de>
addittions by: Sven-Ola Tuecke <sven-ola-aet-gmx.de>
Vasilis Tsiligiannis <acinonyxs@yahoo.gr>
---------------------------------------------------------------------
This is the Quagga Plugin for OLSRd.
It allows olsrd to redistribute from various quagga-protocols
as well as to export olsr-routes to quagga so that they can be
redistributed by the quagga-routing-daemons.
You also need a source distribution of quagga-0.98.6 or quagga-0.99.21.
The quagga source tree needs to be patched with quagga-0.98.6.diff or
quagga-0.99.21.diff, respectively, compiled and installed via
'make install'.
---------------------------------------------------------------------
PLUGIN PARAMETERS (PlParam)
---------------------------------------------------------------------
PlParam "Redistribute" "<protocol>"
where protocol is one of the following:
system, kernel, connect, static, rip, ripng, ospf, ospf6,
isis, bgp, hsls
May be used more then once
PlParam "ExportRoutes" "<only/additional>"
exports olsr-routes to quagga only, or to quagga and kernel
no routes are exported to quagga (normal behaviour) if not set.
PlParam "LocalPref" "<true/false>"
sets the Zebra SELECTED-flag on the routes exported to zebra
which means these routes are prefered in any case.
PlParam "Distance" "0-255"
allows to set the administrative distance to routes exported
to zebra.
PlParam "SockPath" "<path>"
sets the path to zebra socket
defaults to "/var/run/quagga/zserv.api" if not set.
PlParam "Port" "<port>"
sets the port on which zebra is listening
overrides 'SockPath' parameter if set.
PlParam "Version" "<version>"
sets the version of packet format to communicate with zebra.
use:
"0" for Quagga 0.98.x
"1" for Quagga 0.99.17 up to 0.99.20.1
"2" for Quagga 0.99.21 and above
defaults to "0".
---------------------------------------------------------------------
SAMPLE CONFIG
---------------------------------------------------------------------
add in /etc/olsrd/olsrd.conf:
LoadPlugin "olsrd_quagga.so.0.2.2"
{
PlParam "Redistribute" "ospf"
PlParam "Redistribute" "bgp"
PlParam "ExportRoutes" "only"
PlParam "Distance" "125"
PlParam "LocalPref" "false"
PlParam "SockPath" "/var/run/zserv.api"
PlParam "Version" "2"
}
---------------------------------------------------------------------
EOF / 31.05.2012
|