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 aging factor
126 # Defaults to 0.05, smaller values mean larger LQ window size
127 # LinkQualityAging 0.1
129 # Polling rate in seconds(float).
130 # Default value 0.05 sec
134 # Interval to poll network interfaces for configuration
135 # changes. Defaults to 2.5 seconds
140 # Specifies how much neighbor info should
141 # be sent in TC messages
142 # Possible values are:
143 # 0 - only send MPR selectors
144 # 1 - send MPR selectors and MPRs
145 # 2 - send all neighbors
154 # Specifies how many MPRs a node should
155 # try select to reach every 2 hop neighbor
157 # Can be set to any integer >0
164 # Olsrd plugins to load
165 # This must be the absolute path to the file
166 # or the loader will use the following scheme:
167 # - Try the paths in the LD_LIBRARY_PATH
168 # environment variable.
169 # - The list of libraries cached in /etc/ld.so.cache
170 # - /lib, followed by /usr/lib
172 # Example plugin entry with parameters:
174 #LoadPlugin "olsrd_dyn_gw.so.0.3"
176 # Here parameters are set to be sent to the
177 # plugin. Theese are on the form "key" "value".
178 # Parameters ofcause, differs from plugin to plugin.
179 # Consult the documentation of your plugin for details.
181 # Example: dyn_gw params
183 # how often to check for Internet connectivity
185 # PlParam "Interval" "40"
187 # if one or more IPv4 addresses are given, do a ping on these in
188 # descending order to validate that there is not only an entry in
189 # routing table, but also a real internet connection. If any of
190 # these addresses could be pinged successfully, the test was
191 # succesful, i.e. if the ping on the 1st address was successful,the
192 # 2nd won't be pinged
193 # PlParam "Ping" "141.1.1.1"
194 # PlParam "Ping" "194.25.2.129"
199 # Interfaces and their rules
200 # Omitted options will be set to the
201 # default values. Multiple interfaces
202 # can be specified in the same block
203 # and multiple blocks can be set.
205 # !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
206 # (eg. wlan0 or eth1):
208 Interface "XXX" "YYY"
210 # Olsrd can autodetect changes in NIC
211 # configurations(IP address changes etc.).
212 # This is Enabled by default and the interval
213 # to poll for changes on is defined by
215 # This polling can be disabled pr. NIC by setting
216 # AutoDetectChanges to no.
218 # AutoDetectChanges yes
220 # IPv4 broadcast address to use. The
221 # one usefull example would be 255.255.255.255
222 # If not defined the broadcastaddress
223 # every card is configured with is used
225 # Ip4Broadcast 255.255.255.255
227 # IPv6 address scope to use.
228 # Must be 'site-local' or 'global'
230 # Ip6AddrType site-local
232 # IPv6 multicast address to use when
233 # using site-local addresses.
234 # If not defined, ff05::15 is used
236 # Ip6MulticastSite ff05::11
238 # IPv6 multicast address to use when
239 # using global addresses
240 # If not defined, ff0e::1 is used
242 # Ip6MulticastGlobal ff0e::1
245 # Emission intervals.
246 # If not defined, RFC proposed values will
247 # be used in most cases.
249 # Hello interval in seconds(float)
252 # HELLO validity time
253 # HelloValidityTime 6.0
255 # TC interval in seconds(float)
259 # TcValidityTime 15.0
261 # MID interval in seconds(float)
265 # MidValidityTime 15.0
267 # HNA interval in seconds(float)
271 # HnaValidityTime 15.0
274 # When multiple links exist between hosts
275 # the weight of interface is used to determine
276 # the link to use. Normally the weight is
277 # automatically calculated by olsrd based
278 # on the characteristics of the interface,
279 # but here you can specify a fixed value.
280 # Olsrd will choose links with the lowest value.
282 # Interface weight is used only when LinkQualityLevel is set to 0.
283 # For any other value of LinkQualityLevel, the interface ETX
284 # value is used instead.
288 # If a certain route should be preferred
289 # or ignored by the mesh, the Link Quality
290 # value of a node can be multiplied with a factor
291 # entered here. In the example the route
292 # using 192.168.0.1 would rather be ignored.
293 # A multiplier of 0.5 will result in a small
294 # (bad) LinkQuality value and a high (bad)
297 # Link quality multiplier is used only when
298 # LinkQualityLevel is > 0.
300 # LinkQualityMult 192.168.0.1 0.5
302 # This multiplier applies to all other nodes
303 # LinkQualityMult default 0.8