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 # Clear the screen each time the internal state changes
23 # syntax: netaddr netmask
24 # Example Internet gateway:
31 # more entries can be added:
32 # 192.168.1.0 255.255.255.0
36 # syntax: netaddr prefix
37 # Example Internet gateway:
42 # more entries can be added:
47 # Should olsrd keep on running even if there are
48 # no interfaces available? This is a good idea
49 # for a PCMCIA/USB hotswap environment.
54 # TOS(type of service) value for
55 # the IP header of control traffic.
56 # If not set it will default to 16
60 # The fixed willingness to use(0-7)
61 # If not set willingness will be calculated
62 # dynamically based on battery/power status
63 # if such information is available
67 # Allow processes like the GUI front-end
68 # to connect to the daemon.
72 # Determines how many simultaneously
73 # IPC connections that will be allowed
74 # Setting this to 0 disables IPC
78 # By default only 127.0.0.1 is allowed
79 # to connect. Here allowed hosts can
85 # You can also specify entire net-ranges
86 # that are allowed to connect. Multiple
89 #Net 192.168.1.0 255.255.255.0
92 # Whether to use hysteresis or not
93 # Hysteresis adds more robustness to the
94 # link sensing but delays neighbor registration.
95 # Used by default. 'yes' or 'no'
99 # Hysteresis parameters
100 # Do not alter these unless you know
101 # what you are doing!
102 # Set to auto by default. Allowed
103 # values are floating point values
104 # in the interval 0,1
105 # THR_LOW must always be lower than
114 # 0 = do not use link quality
115 # 1 = use link quality for MPR selection
116 # 2 = use link quality for MPR selection and routing
121 # Link quality window size
124 #LinkQualityWinSize 12
126 # Polling rate in seconds(float).
127 # Default value 0.05 sec
131 # Interval to poll network interfaces for configuration
132 # changes. Defaults to 2.5 seconds
137 # Specifies how much neighbor info should
138 # be sent in TC messages
139 # Possible values are:
140 # 0 - only send MPR selectors
141 # 1 - send MPR selectors and MPRs
142 # 2 - send all neighbors
151 # Specifies how many MPRs a node should
152 # try select to reach every 2 hop neighbor
154 # Can be set to any integer >0
161 # Olsrd plugins to load
162 # This must be the absolute path to the file
163 # or the loader will use the following scheme:
164 # - Try the paths in the LD_LIBRARY_PATH
165 # environment variable.
166 # - The list of libraries cached in /etc/ld.so.cache
167 # - /lib, followed by /usr/lib
169 # Example plugin entry with parameters:
171 #LoadPlugin "olsrd_dyn_gw.so.0.3"
173 # Here parameters are set to be sent to the
174 # plugin. Theese are on the form "key" "value".
175 # Parameters ofcause, differs from plugin to plugin.
176 # Consult the documentation of your plugin for details.
178 # Example: dyn_gw params
180 # how often to check for Internet connectivity
182 # PlParam "Interval" "40"
184 # if one or more IPv4 addresses are given, do a ping on these in
185 # descending order to validate that there is not only an entry in
186 # routing table, but also a real internet connection. If any of
187 # these addresses could be pinged successfully, the test was
188 # succesful, i.e. if the ping on the 1st address was successful,the
189 # 2nd won't be pinged
190 # PlParam "Ping" "141.1.1.1"
191 # PlParam "Ping" "194.25.2.129"
196 # Interfaces and their rules
197 # Omitted options will be set to the
198 # default values. Multiple interfaces
199 # can be specified in the same block
200 # and multiple blocks can be set.
202 # !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
203 # (eg. wlan0 or eth1):
205 Interface "XXX" "YYY"
207 # Olsrd can autodetect changes in NIC
208 # configurations(IP address changes etc.).
209 # This is Enabled by default and the interval
210 # to poll for changes on is defined by
212 # This polling can be disabled pr. NIC by setting
213 # AutoDetectChanges to no.
215 # AutoDetectChanges yes
217 # IPv4 broadcast address to use. The
218 # one usefull example would be 255.255.255.255
219 # If not defined the broadcastaddress
220 # every card is configured with is used
222 # Ip4Broadcast 255.255.255.255
224 # IPv6 address scope to use.
225 # Must be 'site-local' or 'global'
227 # Ip6AddrType site-local
229 # IPv6 multicast address to use when
230 # using site-local addresses.
231 # If not defined, ff05::15 is used
233 # Ip6MulticastSite ff05::11
235 # IPv6 multicast address to use when
236 # using global addresses
237 # If not defined, ff0e::1 is used
239 # Ip6MulticastGlobal ff0e::1
242 # Emission intervals.
243 # If not defined, RFC proposed values will
244 # be used in most cases.
246 # Hello interval in seconds(float)
249 # HELLO validity time
250 # HelloValidityTime 6.0
252 # TC interval in seconds(float)
256 # TcValidityTime 15.0
258 # MID interval in seconds(float)
262 # MidValidityTime 15.0
264 # HNA interval in seconds(float)
268 # HnaValidityTime 15.0
271 # When multiple links exist between hosts
272 # the weight of interface is used to determine
273 # the link to use. Normally the weight is
274 # automatically calculated by olsrd based
275 # on the characteristics of the interface,
276 # but here you can specify a fixed value.
277 # Olsrd will choose links with the lowest value.
279 # Interface weight is used only when LinkQualityLevel is set to 0.
280 # For any other value of LinkQualityLevel, the interface ETX
281 # value is used instead.
285 # If a certain route should be preferred
286 # or ignored by the mesh, the Link Quality
287 # value of a node can be multiplied with a factor
288 # entered here. In the example the route
289 # using 192.168.0.1 would rather be ignored.
290 # A multiplier of 0.5 will result in a small
291 # (bad) LinkQuality value and a high (bad)
294 # Link quality multiplier is used only when
295 # LinkQualityLevel is > 0.
297 # LinkQualityMult 192.168.0.1 0.5
299 # This multiplier applies to all other nodes
300 # LinkQualityMult default 0.8