2 # olsr.org OLSR daemon config file
4 # Lines starting with a # are discarded
6 # This file was shipped with olsrd 0.X.X
10 # If set to 0 the daemon runs in the background
14 # IP version to use (4 or 6)
18 # FIBMetric ("flat", "correct", or "approx")
22 # Clear the screen each time the internal state changes
27 # syntax: netaddr netmask
28 # Example Internet gateway:
35 # more entries can be added:
36 # 192.168.1.0 255.255.255.0
40 # syntax: netaddr prefix
41 # Example Internet gateway:
46 # more entries can be added:
51 # Should olsrd keep on running even if there are
52 # no interfaces available? This is a good idea
53 # for a PCMCIA/USB hotswap environment.
58 # TOS(type of service) value for
59 # the IP header of control traffic.
60 # If not set it will default to 16
64 # The fixed willingness to use(0-7)
65 # If not set willingness will be calculated
66 # dynamically based on battery/power status
67 # if such information is available
71 # Allow processes like the GUI front-end
72 # to connect to the daemon.
76 # Determines how many simultaneously
77 # IPC connections that will be allowed
78 # Setting this to 0 disables IPC
82 # By default only 127.0.0.1 is allowed
83 # to connect. Here allowed hosts can
89 # You can also specify entire net-ranges
90 # that are allowed to connect. Multiple
93 #Net 192.168.1.0 255.255.255.0
96 # Whether to use hysteresis or not
97 # Hysteresis adds more robustness to the
98 # link sensing but delays neighbor registration.
99 # Used by default. 'yes' or 'no'
103 # Hysteresis parameters
104 # Do not alter these unless you know
105 # what you are doing!
106 # Set to auto by default. Allowed
107 # values are floating point values
108 # in the interval 0,1
109 # THR_LOW must always be lower than
118 # 0 = do not use link quality
119 # 1 = use link quality for MPR selection
120 # 2 = use link quality for MPR selection and routing
125 # Link quality window size
128 #LinkQualityWinSize 12
130 # Polling rate in seconds(float).
131 # Default value 0.05 sec
135 # Interval to poll network interfaces for configuration
136 # changes. Defaults to 2.5 seconds
141 # Specifies how much neighbor info should
142 # be sent in TC messages
143 # Possible values are:
144 # 0 - only send MPR selectors
145 # 1 - send MPR selectors and MPRs
146 # 2 - send all neighbors
155 # Specifies how many MPRs a node should
156 # try select to reach every 2 hop neighbor
158 # Can be set to any integer >0
165 # Olsrd plugins to load
166 # This must be the absolute path to the file
167 # or the loader will use the following scheme:
168 # - Try the paths in the LD_LIBRARY_PATH
169 # environment variable.
170 # - The list of libraries cached in /etc/ld.so.cache
171 # - /lib, followed by /usr/lib
173 # Example plugin entry with parameters:
175 #LoadPlugin "olsrd_dyn_gw.so.0.3"
177 # Here parameters are set to be sent to the
178 # plugin. Theese are on the form "key" "value".
179 # Parameters ofcause, differs from plugin to plugin.
180 # Consult the documentation of your plugin for details.
182 # Example: dyn_gw params
184 # how often to check for Internet connectivity
186 # PlParam "Interval" "40"
188 # if one or more IPv4 addresses are given, do a ping on these in
189 # descending order to validate that there is not only an entry in
190 # routing table, but also a real internet connection. If any of
191 # these addresses could be pinged successfully, the test was
192 # succesful, i.e. if the ping on the 1st address was successful,the
193 # 2nd won't be pinged
194 # PlParam "Ping" "141.1.1.1"
195 # PlParam "Ping" "194.25.2.129"
200 # Interfaces and their rules
201 # Omitted options will be set to the
202 # default values. Multiple interfaces
203 # can be specified in the same block
204 # and multiple blocks can be set.
206 # !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
207 # (eg. wlan0 or eth1):
209 Interface "XXX" "YYY"
211 # Olsrd can autodetect changes in NIC
212 # configurations(IP address changes etc.).
213 # This is Enabled by default and the interval
214 # to poll for changes on is defined by
216 # This polling can be disabled pr. NIC by setting
217 # AutoDetectChanges to no.
219 # AutoDetectChanges yes
221 # IPv4 broadcast address to use. The
222 # one usefull example would be 255.255.255.255
223 # If not defined the broadcastaddress
224 # every card is configured with is used
226 # Ip4Broadcast 255.255.255.255
228 # IPv6 address scope to use.
229 # Must be 'site-local' or 'global'
231 # Ip6AddrType site-local
233 # IPv6 multicast address to use when
234 # using site-local addresses.
235 # If not defined, ff05::15 is used
237 # Ip6MulticastSite ff05::11
239 # IPv6 multicast address to use when
240 # using global addresses
241 # If not defined, ff0e::1 is used
243 # Ip6MulticastGlobal ff0e::1
246 # Emission intervals.
247 # If not defined, RFC proposed values will
248 # be used in most cases.
250 # Hello interval in seconds(float)
253 # HELLO validity time
254 # HelloValidityTime 6.0
256 # TC interval in seconds(float)
260 # TcValidityTime 15.0
262 # MID interval in seconds(float)
266 # MidValidityTime 15.0
268 # HNA interval in seconds(float)
272 # HnaValidityTime 15.0
275 # When multiple links exist between hosts
276 # the weight of interface is used to determine
277 # the link to use. Normally the weight is
278 # automatically calculated by olsrd based
279 # on the characteristics of the interface,
280 # but here you can specify a fixed value.
281 # Olsrd will choose links with the lowest value.
283 # Interface weight is used only when LinkQualityLevel is set to 0.
284 # For any other value of LinkQualityLevel, the interface ETX
285 # value is used instead.
289 # If a certain route should be preferred
290 # or ignored by the mesh, the Link Quality
291 # value of a node can be multiplied with a factor
292 # entered here. In the example the route
293 # using 192.168.0.1 would rather be ignored.
294 # A multiplier of 0.5 will result in a small
295 # (bad) LinkQuality value and a high (bad)
298 # Link quality multiplier is used only when
299 # LinkQualityLevel is > 0.
301 # LinkQualityMult 192.168.0.1 0.5
303 # This multiplier applies to all other nodes
304 # LinkQualityMult default 0.8