2 # olsr.org OLSR daemon config file
4 # Lines starting with a # are discarded
6 # This file was shipped with olsrd 0.X.X
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 # Clear the screen each time the internal state changes
32 # syntax: netaddr netmask
33 # Example Internet gateway:
40 # more entries can be added:
41 # 192.168.1.0 255.255.255.0
45 # syntax: netaddr prefix
46 # Example Internet gateway:
51 # more entries can be added:
56 # Should olsrd keep on running even if there are
57 # no interfaces available? This is a good idea
58 # for a PCMCIA/USB hotswap environment.
63 # TOS(type of service) value for
64 # the IP header of control traffic.
65 # If not set it will default to 16
69 # The fixed willingness to use(0-7)
70 # If not set willingness will be calculated
71 # dynamically based on battery/power status
72 # if such information is available
76 # Allow processes like the GUI front-end
77 # to connect to the daemon.
81 # Determines how many simultaneously
82 # IPC connections that will be allowed
83 # Setting this to 0 disables IPC
87 # By default only 127.0.0.1 is allowed
88 # to connect. Here allowed hosts can
94 # You can also specify entire net-ranges
95 # that are allowed to connect. Multiple
98 #Net 192.168.1.0 255.255.255.0
101 # Wether to use hysteresis or not
102 # Hysteresis adds more robustness to the
103 # link sensing but delays neighbor registration.
104 # Used by default. 'yes' or 'no'
108 # Hysteresis parameters
109 # Do not alter these unless you know
110 # what you are doing!
111 # Set to auto by default. Allowed
112 # values are floating point values
113 # in the interval 0,1
114 # THR_LOW must always be lower than
123 # 0 = do not use link quality
124 # 1 = use link quality for MPR selection
125 # 2 = use link quality for MPR selection and routing
130 # Link quality aging factor
131 # Defaults to 0.1, smaller values mean faster reaction to changing links
133 #LinkQualityAging 0.1
135 # Link quality algorithm
136 # Defaults to "etx_fpm" for fixpoint based etx algorithm
138 #LinkQualityAlgorithm "etx_fpm"
140 # Polling rate in seconds(float).
141 # Default value 0.05 sec
145 # Interval to poll network interfaces for configuration
146 # changes. Defaults to 2.5 seconds
151 # Specifies how much neighbor info should
152 # be sent in TC messages
153 # Possible values are:
154 # 0 - only send MPR selectors
155 # 1 - send MPR selectors and MPRs
156 # 2 - send all neighbors
165 # Specifies how many MPRs a node should
166 # try select to reach every 2 hop neighbor
168 # Can be set to any integer >0
175 # Olsrd plugins to load
176 # This must be the absolute path to the file
177 # or the loader will use the following scheme:
178 # - Try the paths in the LD_LIBRARY_PATH
179 # environment variable.
180 # - The list of libraries cached in /etc/ld.so.cache
181 # - /lib, followed by /usr/lib
183 # Example plugin entry with parameters:
185 #LoadPlugin "olsrd_dyn_gw.so.0.3"
187 # Here parameters are set to be sent to the
188 # plugin. Theese are on the form "key" "value".
189 # Parameters ofcause, differs from plugin to plugin.
190 # Consult the documentation of your plugin for details.
192 # Example: dyn_gw params
194 # how often to check for Internet connectivity
196 # PlParam "Interval" "40"
198 # if one or more IPv4 addresses are given, do a ping on these in
199 # descending order to validate that there is not only an entry in
200 # routing table, but also a real internet connection. If any of
201 # these addresses could be pinged successfully, the test was
202 # succesful, i.e. if the ping on the 1st address was successful,the
203 # 2nd won't be pinged
204 # PlParam "Ping" "141.1.1.1"
205 # PlParam "Ping" "194.25.2.129"
210 # Interfaces and their rules
211 # Omitted options will be set to the
212 # default values. Multiple interfaces
213 # can be specified in the same block
214 # and multiple blocks can be set.
216 # !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
217 # (eg. wlan0 or eth1):
219 Interface "XXX" "YYY"
221 # Olsrd can autodetect changes in NIC
222 # configurations(IP address changes etc.).
223 # This is Enabled by default and the interval
224 # to poll for changes on is defined by
226 # This polling can be disabled pr. NIC by setting
227 # AutoDetectChanges to no.
229 # AutoDetectChanges yes
231 # IPv4 broadcast address to use. The
232 # one usefull example would be 255.255.255.255
233 # If not defined the broadcastaddress
234 # every card is configured with is used
236 # Ip4Broadcast 255.255.255.255
238 # IPv6 address scope to use.
239 # Must be 'site-local' or 'global'
241 # Ip6AddrType site-local
243 # IPv6 multicast address to use when
244 # using site-local addresses.
245 # If not defined, ff05::15 is used
247 # Ip6MulticastSite ff05::11
249 # IPv6 multicast address to use when
250 # using global addresses
251 # If not defined, ff0e::1 is used
253 # Ip6MulticastGlobal ff0e::1
256 # Emission intervals.
257 # If not defined, RFC proposed values will
258 # be used in most cases.
260 # Hello interval in seconds(float)
263 # HELLO validity time
264 HelloValidityTime 20.0
266 # TC interval in seconds(float)
272 # MID interval in seconds(float)
278 # HNA interval in seconds(float)
285 # When multiple links exist between hosts
286 # the weight of interface is used to determine
287 # the link to use. Normally the weight is
288 # automatically calculated by olsrd based
289 # on the characteristics of the interface,
290 # but here you can specify a fixed value.
291 # Olsrd will choose links with the lowest value.
293 # Interface weight is used only when LinkQualityLevel is 0.
294 # For any other value of LinkQualityLevel, the interface ETX
295 # value is used instead.
299 # If a certain route should be preferred
300 # or ignored by the mesh, the Link Quality
301 # value of a node can be multiplied with a factor
302 # entered here. In the example the route
303 # using 192.168.0.1 would rather be ignored.
304 # A multiplier of 0.5 will result in a small
305 # (bad) LinkQuality value and a high (bad)
308 # Link quality multiplier is used only when
309 # LinkQualityLevel is > 0.
311 # LinkQualityMult 192.168.0.1 0.5
313 # This multiplier applies to all other nodes
314 # LinkQualityMult default 0.8