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 # Clear the screen each time the internal state changes
28 # syntax: netaddr netmask
29 # Example Internet gateway:
36 # more entries can be added:
37 # 192.168.1.0 255.255.255.0
41 # syntax: netaddr prefix
42 # Example Internet gateway:
47 # more entries can be added:
52 # Should olsrd keep on running even if there are
53 # no interfaces available? This is a good idea
54 # for a PCMCIA/USB hotswap environment.
59 # TOS(type of service) value for
60 # the IP header of control traffic.
61 # If not set it will default to 16
65 # The fixed willingness to use(0-7)
66 # If not set willingness will be calculated
67 # dynamically based on battery/power status
68 # if such information is available
72 # Allow processes like the GUI front-end
73 # to connect to the daemon.
77 # Determines how many simultaneously
78 # IPC connections that will be allowed
79 # Setting this to 0 disables IPC
83 # By default only 127.0.0.1 is allowed
84 # to connect. Here allowed hosts can
90 # You can also specify entire net-ranges
91 # that are allowed to connect. Multiple
94 #Net 192.168.1.0 255.255.255.0
97 # Wether to use hysteresis or not
98 # Hysteresis adds more robustness to the
99 # link sensing but delays neighbor registration.
100 # Used by default. 'yes' or 'no'
104 # Hysteresis parameters
105 # Do not alter these unless you know
106 # what you are doing!
107 # Set to auto by default. Allowed
108 # values are floating point values
109 # in the interval 0,1
110 # THR_LOW must always be lower than
119 # 0 = do not use link quality
120 # 1 = use link quality for MPR selection
121 # 2 = use link quality for MPR selection and routing
126 # Link quality window size
129 LinkQualityWinSize 12
131 # Polling rate in seconds(float).
132 # Default value 0.05 sec
136 # Interval to poll network interfaces for configuration
137 # changes. Defaults to 2.5 seconds
142 # Specifies how much neighbor info should
143 # be sent in TC messages
144 # Possible values are:
145 # 0 - only send MPR selectors
146 # 1 - send MPR selectors and MPRs
147 # 2 - send all neighbors
156 # Specifies how many MPRs a node should
157 # try select to reach every 2 hop neighbor
159 # Can be set to any integer >0
166 # Olsrd plugins to load
167 # This must be the absolute path to the file
168 # or the loader will use the following scheme:
169 # - Try the paths in the LD_LIBRARY_PATH
170 # environment variable.
171 # - The list of libraries cached in /etc/ld.so.cache
172 # - /lib, followed by /usr/lib
174 # Example plugin entry with parameters:
176 #LoadPlugin "olsrd_dyn_gw.so.0.3"
178 # Here parameters are set to be sent to the
179 # plugin. Theese are on the form "key" "value".
180 # Parameters ofcause, differs from plugin to plugin.
181 # Consult the documentation of your plugin for details.
183 # Example: dyn_gw params
185 # how often to check for Internet connectivity
187 # PlParam "Interval" "40"
189 # if one or more IPv4 addresses are given, do a ping on these in
190 # descending order to validate that there is not only an entry in
191 # routing table, but also a real internet connection. If any of
192 # these addresses could be pinged successfully, the test was
193 # succesful, i.e. if the ping on the 1st address was successful,the
194 # 2nd won't be pinged
195 # PlParam "Ping" "141.1.1.1"
196 # PlParam "Ping" "194.25.2.129"
201 # Interfaces and their rules
202 # Omitted options will be set to the
203 # default values. Multiple interfaces
204 # can be specified in the same block
205 # and multiple blocks can be set.
207 # !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
208 # (eg. wlan0 or eth1):
210 Interface "XXX" "YYY"
212 # Olsrd can autodetect changes in NIC
213 # configurations(IP address changes etc.).
214 # This is Enabled by default and the interval
215 # to poll for changes on is defined by
217 # This polling can be disabled pr. NIC by setting
218 # AutoDetectChanges to no.
220 # AutoDetectChanges yes
222 # IPv4 broadcast address to use. The
223 # one usefull example would be 255.255.255.255
224 # If not defined the broadcastaddress
225 # every card is configured with is used
227 # Ip4Broadcast 255.255.255.255
229 # IPv6 address scope to use.
230 # Must be 'site-local' or 'global'
232 # Ip6AddrType site-local
234 # IPv6 multicast address to use when
235 # using site-local addresses.
236 # If not defined, ff05::15 is used
238 # Ip6MulticastSite ff05::11
240 # IPv6 multicast address to use when
241 # using global addresses
242 # If not defined, ff0e::1 is used
244 # Ip6MulticastGlobal ff0e::1
247 # Emission intervals.
248 # If not defined, RFC proposed values will
249 # be used in most cases.
251 # Hello interval in seconds(float)
254 # HELLO validity time
255 HelloValidityTime 20.0
257 # TC interval in seconds(float)
263 # MID interval in seconds(float)
269 # HNA interval in seconds(float)
276 # When multiple links exist between hosts
277 # the weight of interface is used to determine
278 # the link to use. Normally the weight is
279 # automatically calculated by olsrd based
280 # on the characteristics of the interface,
281 # but here you can specify a fixed value.
282 # Olsrd will choose links with the lowest value.
284 # Interface weight is used only when LinkQualityLevel is 0.
285 # For any other value of LinkQualityLevel, the interface ETX
286 # value is used instead.
290 # If a certain route should be preferred
291 # or ignored by the mesh, the Link Quality
292 # value of a node can be multiplied with a factor
293 # entered here. In the example the route
294 # using 192.168.0.1 would rather be ignored.
295 # A multiplier of 0.5 will result in a small
296 # (bad) LinkQuality value and a high (bad)
299 # Link quality multiplier is used only when
300 # LinkQualityLevel is > 0.
302 # LinkQualityMult 192.168.0.1 0.5
304 # This multiplier applies to all other nodes
305 # LinkQualityMult default 0.8