# If set to 0 the daemon runs in the background
DebugLevel 0
# IP version to use (4 or 6)
IpVersion 4
# FIBMetric ("flat", "correct", or "approx")
FIBMetric "flat"
# Clear the screen each time the internal state changes
ClearScreen yes
# Should olsrd keep on running even if there are
# no interfaces available? This is a good idea
# for a PCMCIA/USB hotswap environment.
# "yes" OR "no"
AllowNoInt yes
# Update default-routes in routing-table default
RtTableDefault 253
# Announce fixed ip-ranges
Hna4
{
# Push "fixed ip-ranges" route-information available through this router
# Entweder gantes Heimnetz oder nur
Raspberry vom vServer erreichbar machen.
# 192.168.1.10 255.255.255.255
192.168.1.0 255.255.255.0
}
# Allow processes like the GUI front-end to connect to the daemon.
IpcConnect
{
# Disable IPC
MaxConnections 0
}
# Wether to use hysteresis or not
# Hysteresis adds more robustness to the link sensing but delays neighbor regist ration.
UseHysteresis no
# Link quality level
# 0 = do not use link quality
# 1 = use link quality for MPR selection
# 2 = use link quality for MPR selection and routing
LinkQualityLevel 2
# Polling rate in seconds(float).
# Default value 0.05 sec
Pollrate 0.05
# Interval to poll network interfaces for configuration
# changes.
NicChgsPollInt 3.0
# Specifies how much neighbor info should be sent in TC messages
# Possible values are:
# 0 - only send MPR selectors
# 1 - send MPR selectors and MPRs
# 2 - send all neighbors
TcRedundancy 2
# Specifies how many MPRs a node should try select to reach every 2 hop neighbor
# Can be set to any integer > 0
MprCoverage 3
# !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
# (eg. wlan0 or eth1):
Interface "tun1"
{
AutoDetectChanges yes
Ip4Broadcast 192.168.200.1
HelloInterval 2.0
HelloValidityTime 6.0
TcInterval 5.0
TcValidityTime 15.0
MidInterval 5.0
MidValidityTime 15.0
HnaInterval 5.0
HnaValidityTime 15.0
Weight 1
}
Interface "tun2"
{
AutoDetectChanges yes
Ip4Broadcast 192.168.201.1
HelloInterval 2.0
HelloValidityTime 6.0
TcInterval 5.0
TcValidityTime 15.0
MidInterval 5.0
MidValidityTime 15.0
HnaInterval 5.0
HnaValidityTime 15.0
Weight 9
}