olsr.org OLSR daemon olsrd logo
This is a automatically generated configuration file based on the current olsrd configuration of this node.

#
# Configuration file for olsr.org olsrd
# automatically generated by olsrd-cnf 0.1.2
#


# Debug level(0-9)
# 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"

# HNA IPv4 routes
# syntax: netaddr netmask

Hna4 {
    10.63.0.0/16
    10.11.0.0/18
    10.2.0.0/16
    104.0.0.0/11
    104.32.0.0/12
    104.64.0.0/10
    104.128.0.0/9
    10.50.0.0/16
    10.200.0.0/16
    10.12.0.0/16
    172.22.0.0/15
    10.14.132.129/32
    10.14.132.128/27
    10.14.128.0/21
    10.14.100.0/24
    0.0.0.0/0
}

# 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

# TOS(type of service) to use. Default is 16

TosValue	16

# Port to use. Default is 698! and using other port than IANA assigned one needs a really good reason!!

OlsrPort		698

# Policy Routing Table to use. Default is 254

RtTable		254

# Routing proto flag to use. Default is 3 (BOOT)

RtProto		0

# The fixed willingness to use(0-7)
# If not set willingness will be calculated
# dynammically based on battery/power status

Willingness	3

# Allow processes like the GUI front-end
# to connect to the daemon.

IpcConnect {
    MaxConnections	0
    Host		127.0.0.1
}

# Hysteresis adds more robustness to the
# link sensing.
# Used by default. 'yes' or 'no'

UseHysteresis	no

# Hysteresis parameters
# Do not alter these unless you know 
# what you are doing!
# Set to auto by default. Allowed
# values are floating point values
# in the interval 0,1
# THR_LOW must always be lower than
# THR_HIGH!!

#HystScaling	0.50
#HystThrHigh	0.80
#HystThrLow	0.30

# Polling rate in seconds(float).
# Auto uses default value 0.05 sec

Pollrate	0.05
# TC redundancy
# 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
#
# defaults to 0

TcRedundancy	2

# MPR coverage
# Specifies how many MPRs a node should
# try select to reach every 2 hop neighbor
# Can be set to any integer >0
# defaults to 1

MprCoverage	3

# 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

# Link quality aging factor

LinkQualityAging	0.100000

# NAT threshold

NatThreshold	1.000000

# Clear screen when printing debug output?

ClearScreen	no

# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH 
#   environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib

LoadPlugin "olsrd_quagga.so.0.2.2" {
    PlParam "Distance"	"125"
    PlParam "ExportRoutes"	"only"
    PlParam "redistribute"	"bgp"
    PlParam "redistribute"	"static"
}
LoadPlugin "olsrd_txtinfo.so.0.1" {
    PlParam "accept"	"127.0.0.1"
}
LoadPlugin "olsrd_httpinfo.so.0.1" {
    PlParam "Net"	"10.14.0.0 255.255.0.0"
    PlParam "Host"	"127.0.0.1"
    PlParam "port"	"8080"
}
LoadPlugin "olsrd_dot_draw.so.0.3" {
}

# Interfaces
# Multiple interfaces with the same configuration
# can shar the same config block. Just list the
# interfaces(e.g. Interface "eth0" "eth2"

Interface "vlan101" {
    # IPv4 broadcast address to use. The
    # one usefull example would be 255.255.255.255
    # If not defined the broadcastaddress
    # every card is configured with is used

    #Ip4Broadcast	255.255.255.255
   # Interface Mode to use. Defines
    # forward behaviour depending on
    # interface type
    # valid option are [mesh] and ether

    #Mode	mesh


    # IPv6 address scope to use.
    # Must be 'site-local' or 'global'

    Ip6AddrType 	global

    # IPv6 multicast address to use when
    # using site-local addresses.
    # If not defined, ff05::15 is used
    Ip6MulticastSite	ff05::15

    # IPv6 multicast address to use when
    # using global addresses
    # If not defined, ff0e::1 is used
    Ip6MulticastGlobal	ff0e::1

    # Emission and validity intervals.
    # If not defined, RFC proposed values will
    # in most cases be used.

    HelloInterval	6.00
    HelloValidityTime	108.00
    TcInterval		4.00
    TcValidityTime	324.00
    MidInterval		18.00
    MidValidityTime	324.00
    HnaInterval		18.00
    HnaValidityTime	108.00
    #LinkQualityMult	default 1.0
    # When multiple links exist between hosts
    # the weight of interface is used to determine
    # the link to use. Normally the weight is
    # automatically calculated by olsrd based
    # on the characteristics of the interface,
    # but here you can specify a fixed value.
    # Olsrd will choose links with the lowest value.
    # Note:
    # Interface weight is used only when LinkQualityLevel is 0.
    # For any other value of LinkQualityLevel, the interface ETX
    # value is used instead.

    #Weight	 0

}

Interface "br0" {
    Ip4Broadcast	255.255.255.255
    #Mode	mesh

    Ip6AddrType 	global
    Ip6MulticastSite	ff05::15
    Ip6MulticastGlobal	ff0e::1
    HelloValidityTime	20.00
    TcValidityTime	30.00
    MidValidityTime	30.00
    HnaValidityTime	30.00
}

Interface "vpn" {
    Ip4Broadcast	255.255.255.255
    #Mode	mesh

    Ip6AddrType 	global
    Ip6MulticastSite	ff05::15
    Ip6MulticastGlobal	ff0e::1
    HelloValidityTime	20.00
    TcValidityTime	30.00
    MidValidityTime	30.00
    HnaValidityTime	30.00
}

Interface "mesh-vpn" {
    Ip4Broadcast	255.255.255.255
    #Mode	mesh

    Ip6AddrType 	global
    Ip6MulticastSite	ff05::15
    Ip6MulticastGlobal	ff0e::1
    HelloValidityTime	20.00
    TcValidityTime	30.00
    MidValidityTime	30.00
    HnaValidityTime	30.00
}


# END AUTOGENERATED CONFIG