2 # olsr.org OLSR daemon config file
4 # Lines starting with a # are discarded
6 # This file was shipped with olsrd 0.5.4
9 # This file is an example of a typical
10 # configuration for a mostly static
11 # network(regarding mobility) using
15 # If set to 0 the daemon runs in the background
19 # IP version to use (4 or 6)
23 # FIBMetric ("flat", "correct", or "approx")
27 # Interfaces and their rules
28 # Omitted options will be set to the
29 # default values. Multiple interfaces
30 # can be specified in the same block
31 # and multiple blocks can be set.
33 # !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
34 # (eg. wlan0 or eth1):
36 # this is (in most cases) the only configuration you need to change
38 #Interface "eth1" "eth0" "wlan0" "wlan1" "ath0" "ath1"
42 # IPv4 broadcast address to use. The
43 # one usefull example would be 255.255.255.255
44 # If not defined the broadcastaddress
45 # every card is configured with is used
47 # Ip4Broadcast 255.255.255.255
49 # IPv6 address scope to use.
50 # Must be 'site-local' or 'global'
52 # Ip6AddrType site-local
54 # IPv6 multicast address to use when
55 # using site-local addresses.
56 # If not defined, ff05::15 is used
58 # Ip6MulticastSite ff05::11
60 # IPv6 multicast address to use when
61 # using global addresses
62 # If not defined, ff0e::1 is used
64 # Ip6MulticastGlobal ff0e::1
68 # If not defined, RFC proposed values will
69 # be used in most cases.
71 # Hello interval in seconds(float)
75 HelloValidityTime 600.0
78 # TC interval in seconds(float) 0.5 is only viable when
79 # LinkQualityFishEye is enabled. Otherwise larger networks would
80 # suffocate from a massive protocol overhead of TC-messages
87 # MID interval in seconds(float)
93 # HNA interval in seconds(float)
99 # When multiple links exist between hosts
100 # the weight of interface is used to determine
101 # the link to use. Normally the weight is
102 # automatically calculated by olsrd based
103 # on the characteristics of the interface,
104 # but here you can specify a fixed value.
105 # Olsrd will choose links with the lowest value.
110 # If a certain route should be preferred
111 # or ignored by the mesh, the Link Quality
112 # value of a node can be multiplied with a factor
113 # entered here. In the example the route
114 # using 192.168.0.1 would rather be ignored.
115 # A multiplier of 0.5 will result in a small
116 # (bad) LinkQuality value and a high (bad)
119 # LinkQualityMult 192.168.0.1 0.5
121 # This multiplier applies to all other nodes
122 # LinkQualityMult default 0.8
126 # Fisheye mechanism for TC messages 0=off, 1=on
131 # ignore topology information from nodes further than 3 hops away
133 # update topology information every 3.0 seconds
134 # (on slower embedded hardware with more than 100 nodes use something like 9 sec)
136 LinkQualityDijkstraLimit 3 3.0
138 # Clear the screen each time the internal state changes
143 # syntax: netaddr netmask
144 # Example Internet gateway:
151 # more entries can be added:
152 # 192.168.1.0 255.255.255.0
156 # syntax: netaddr prefix
157 # Example Internet gateway:
162 # more entries can be added:
167 # Should olsrd keep on running even if there are
168 # no interfaces available? This is a good idea
169 # for a PCMCIA/USB hotswap environment.
174 # TOS(type of service) value for
175 # the IP header of control traffic.
176 # If not set it will default to 16
180 # The fixed willingness to use(0-7)
181 # If not set willingness will be calculated
182 # dynamically based on battery/power status
183 # if such information is available
187 # Allow processes like the GUI front-end
188 # to connect to the daemon.
192 # Determines how many simultaneously
193 # IPC connections that will be allowed
194 # Setting this to 0 disables IPC
198 # By default only 127.0.0.1 is allowed
199 # to connect. Here allowed hosts can
205 # You can also specify entire net-ranges
206 # that are allowed to connect. Multiple
207 # entries are allowed
209 #Net 192.168.1.0 255.255.255.0
212 # Wether to use hysteresis or not
213 # Hysteresis adds more robustness to the
214 # link sensing but delays neighbor registration.
215 # Used by default. 'yes' or 'no'
216 # Do not use hysteresis with ETX!
220 # Hysteresis parameters
221 # Do not alter these unless you know
222 # what you are doing!
223 # Set to auto by default. Allowed
224 # values are floating point values
225 # in the interval 0,1
226 # THR_LOW must always be lower than
235 # 0 = do not use link quality
236 # 1 = use link quality for MPR selection
237 # 2 = use link quality for MPR selection and routing
242 # Link quality aging factor
243 # Defaults to 0.05, smaller values mean larger LQ window size
247 # Polling rate in seconds(float).
248 # Default value 0.05 sec
254 # Specifies how much neighbor info should
255 # be sent in TC messages
256 # Possible values are:
257 # 0 - only send MPR selectors
258 # 1 - send MPR selectors and MPRs
259 # 2 - send all neighbors
268 # Specifies how many MPRs a node should
269 # try select to reach every 2 hop neighbor
271 # Can be set to any integer >0
278 # Olsrd plugins to load
279 # This must be the absolute path to the file
280 # or the loader will use the following scheme:
281 # - Try the paths in the LD_LIBRARY_PATH
282 # environment variable.
283 # - The list of libraries cached in /etc/ld.so.cache
284 # - /lib, followed by /usr/lib
286 # Configuration examples for plugins:
287 # see /usr/share/doc/olsrd-plugins/ for some for documentation
289 #LoadPlugin "olsrd_httpinfo.so.0.1"
292 # PlParam "Port" "8080"
293 # # if you dont set these, the default is to listen only on the loopback device
294 # #PlParam "Host" "80.23.53.22"
295 # #PlParam "Net" "10.0.0.0 255.0.0.0"
296 # #PlParam "Net" "0.0.0.0 0.0.0.0"
299 # useful if your machine has an uplink
300 #LoadPlugin "olsrd_dyn_gw.so.0.4"
302 # Here parameters are set to be sent to the
303 # plugin. Theese are on the form "key" "value".
304 # Parameters ofcause, differs from plugin to plugin.
305 # Consult the documentation of your plugin for details.
307 # Example: dyn_gw params
309 # how often to check for Internet connectivity
311 # PlParam "Interval" "40"
313 # if one or more IPv4 addresses are given, do a ping on these in
314 # descending order to validate that there is not only an entry in
315 # routing table, but also a real internet connection. If any of
316 # these addresses could be pinged successfully, the test was
317 # succesful, i.e. if the ping on the 1st address was successful,the
318 # 2nd won't be pinged
319 # PlParam "Ping" "141.1.1.1"
320 # PlParam "Ping" "194.25.2.129"
323 #LoadPlugin "olsrd_nameservice.so.0.2"
325 #PlParam "name" "xxx"
326 #PlParam "a.b.c.d" "xxx-eth"
327 #PlParam "a.b.c.e" "xxx-bbb"
328 #PlParam "a.b.c.f" "xxx-olsr"
329 #PlParam "suffix" ".olsr"
332 #LoadPlugin "olsrd_dot_draw.so.0.3"
334 # accept connection from IP:
335 # default 127.0.0.1 (localhost)
336 #PlParam "accept" "192.168.0.5"
337 #PlParam "port" "2004"