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 10
126 # Polling rate in seconds(float).
127 # Default value 0.05 sec
133 # Specifies how much neighbor info should
134 # be sent in TC messages
135 # Possible values are:
136 # 0 - only send MPR selectors
137 # 1 - send MPR selectors and MPRs
138 # 2 - send all neighbors
147 # Specifies how many MPRs a node should
148 # try select to reach every 2 hop neighbor
150 # Can be set to any integer >0
157 # Olsrd plugins to load
158 # This must be the absolute path to the file
159 # or the loader will use the following scheme:
160 # - Try the paths in the LD_LIBRARY_PATH
161 # environment variable.
162 # - The list of libraries cached in /etc/ld.so.cache
163 # - /lib, followed by /usr/lib
165 # Example plugin entry with parameters:
167 #LoadPlugin "olsrd_dyn_gw.so.0.3"
169 # Here parameters are set to be sent to the
170 # plugin. Theese are on the form "key" "value".
171 # Parameters ofcause, differs from plugin to plugin.
172 # Consult the documentation of your plugin for details.
174 # Example: dyn_gw params
176 # how often to check for Internet connectivity
178 # PlParam "Interval" "40"
180 # if one or more IPv4 addresses are given, do a ping on these in
181 # descending order to validate that there is not only an entry in
182 # routing table, but also a real internet connection. If any of
183 # these addresses could be pinged successfully, the test was
184 # succesful, i.e. if the ping on the 1st address was successful,the
185 # 2nd won't be pinged
186 # PlParam "Ping" "141.1.1.1"
187 # PlParam "Ping" "194.25.2.129"
192 # Interfaces and their rules
193 # Omitted options will be set to the
194 # default values. Multiple interfaces
195 # can be specified in the same block
196 # and multiple blocks can be set.
198 # !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
199 # (eg. wlan0 or eth1):
201 Interface "XXX" "YYY"
204 # IPv4 broadcast address to use. The
205 # one usefull example would be 255.255.255.255
206 # If not defined the broadcastaddress
207 # every card is configured with is used
209 # Ip4Broadcast 255.255.255.255
211 # IPv6 address scope to use.
212 # Must be 'site-local' or 'global'
214 # Ip6AddrType site-local
216 # IPv6 multicast address to use when
217 # using site-local addresses.
218 # If not defined, ff05::15 is used
220 # Ip6MulticastSite ff05::11
222 # IPv6 multicast address to use when
223 # using global addresses
224 # If not defined, ff0e::1 is used
226 # Ip6MulticastGlobal ff0e::1
229 # Emission intervals.
230 # If not defined, RFC proposed values will
231 # be used in most cases.
233 # Hello interval in seconds(float)
236 # HELLO validity time
237 # HelloValidityTime 6.0
239 # TC interval in seconds(float)
243 # TcValidityTime 15.0
245 # MID interval in seconds(float)
249 # MidValidityTime 15.0
251 # HNA interval in seconds(float)
255 # HnaValidityTime 15.0
257 # When multiple links exist between hosts
258 # the weight of interface is used to determine
259 # the link to use. Normally the weight is
260 # automatically calculated by olsrd based
261 # on the characteristics of the interface,
262 # but here you can specify a fixed value.
263 # Olsrd will choose links with the lowest value.