File: README_QUAGGA

package info (click to toggle)
olsrd 0.6.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,904 kB
  • sloc: ansic: 53,886; cpp: 2,655; yacc: 1,188; makefile: 830; sh: 728; lisp: 360; pascal: 227; perl: 169
file content (73 lines) | stat: -rw-r--r-- 2,465 bytes parent folder | download
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
---------------------------------------------------------------------
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.15.
The quagga source tree needs to be patched with quagga-0.98.6.diff or
quagga-0.99.15.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/both>"
	exports olsr-routes to quagga or to both, 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 and "1" for Quagga 0.99.x.
	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" "1"
}


---------------------------------------------------------------------
EOF / 10.03.2010